Mac OS X Security Update 2007-001 - Nessus

Medium   Plugin ID: 24234

This page contains detailed information about the Mac OS X Security Update 2007-001 Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 24234
Name: Mac OS X Security Update 2007-001
Filename: macosx_SecUpd2007-001.nasl
Vulnerability Published: 2007-01-01
This Plugin Published: 2007-01-24
Last Modification Time: 2018-07-14
Plugin Version: 1.21
Plugin Type: local
Plugin Family: MacOS X Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/MacOSX/packages

Vulnerability Information


Severity: Medium
Vulnerability Published: 2007-01-01
Patch Published: 2007-01-16
CVE [?]: CVE-2007-0015
CPE [?]: cpe:/o:apple:mac_os_x
Exploited by Malware: True

Synopsis

The remote host is missing a Mac OS X update which fixes a security issue.

Description

The remote host is running a version of Mac OS X 10.3 or 10.4 which does not have Security Update 2007-001 applied.

This update fixes a flaw in QuickTime which may allow a rogue website to execute arbitrary code on the remote host by exploiting an overflow in the RTSP URL handler.

Solution

Install Security Update 2007-001.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Immunity Canvas, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Mac OS X Security Update 2007-001 vulnerability:

  1. Metasploit: exploit/windows/browser/apple_quicktime_rtsp
    [Apple QuickTime 7.1.3 RTSP URI Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/16527.rb
    [EDB-16527: Apple QuickTime 7.1.3 - RTSP URI Buffer Overflow (Metasploit)]
  3. Immunity Canvas: CANVAS

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:6.8 (Medium)
Impact Subscore:6.4
Exploitability Subscore:8.6
CVSS Temporal Score:5.9 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:5.9 (Medium)

Go back to menu.

Plugin Source


This is the macosx_SecUpd2007-001.nasl nessus plugin source code. This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.

#TRUSTED 2a27bc82fb6558b5ef97295e262b092e58cb2be097e8cfe306bc6df20adf9a3fc2442903d0553e98bd5340129723ff476e8ef9837a0d2c8e2ba24da9a05d6d11589bacf98e37cec949528c9633e06c06bf539fd2da5f24913f0597b8a0399167424bb1b08b9ac744dc77c2762fe2cef358f353465c2a0f2ac15120133e9cb1bc7f557140b566f77e09067ddc7623d415eebe5914e6d4846ca11af83708859a4503efa4570d3d798fba46321e14610b359dcf7c40ab959d022bef4c4233e7296d43e4ef038a16c2b405b3e18528375a927457109bac3df68f1829e4ac60aa3557b0c8109bc44be9dfec2b434c65099a061c72271e62e13cc325e0c5798393c89924760ab0779b843fbfda50d8e6d43100f27fce897fe57cfd41d4df43b60a8b2c371340a7df25d8df4fb4e78867c5d79e034a5eec5f3d2704e55492c9869209c8536b5b200b150b7b65ec6cfb3ce54f7f96a311535f172a2c937c1ca7805438215551ce88418812ccb87949ec480d8aae6d9efb69a5cb0c7f07c908b86a09d72b54578b75ce4ca876bfc7e7bda9758f245e0cf119c136e8d2993ad379a40687b0cad6db767f77ef7739dcd049e9ad1d0bb73ed03b7f4a640374e39572ff0931639fc9b988858fafade5e00e2e52e714145d3c628f1b1f52cbc31e238cf5876bf83e3976cc7e4d0793faed0d9c5e5c903c790ce244092f4ea1f1ef2f425d944a53
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(24234);
  script_version("1.21");
  script_set_attribute(attribute:"plugin_modification_date", value:"2018/07/14");

  script_cve_id("CVE-2007-0015");
  script_bugtraq_id(21829);

  script_name(english:"Mac OS X Security Update 2007-001");
  script_summary(english:"Check for the presence of the SecUpdate 2007-001");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is missing a Mac OS X update which fixes a security
issue.");
  script_set_attribute(attribute:"description", value:
"The remote host is running a version of Mac OS X 10.3 or 10.4 which
does not have Security Update 2007-001 applied.

This update fixes a flaw in QuickTime which may allow a rogue website to
execute arbitrary code on the remote host by exploiting an overflow in
the RTSP URL handler.");
  script_set_attribute(attribute:"see_also", value:"http://docs.info.apple.com/article.html?artnum=304989");
  # http://www.apple.com/support/downloads/securityupdate2007001universal.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c80700ff");
  script_set_attribute(attribute:"see_also", value:"http://www.apple.com/support/downloads/securityupdate2007001panther.html");
  script_set_attribute(attribute:"solution", value:"Install Security Update 2007-001.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Apple QuickTime 7.1.3 RTSP URI Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:'CANVAS');

  script_set_attribute(attribute:"vuln_publication_date", value:"2007/01/01");
  script_set_attribute(attribute:"patch_publication_date", value:"2007/01/16");
  script_set_attribute(attribute:"plugin_publication_date", value:"2007/01/24");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:mac_os_x");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);

  script_copyright(english:"This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.");
  script_family(english:"MacOS X Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/MacOSX/packages");
  exit(0);
}

include("misc_func.inc");
include("ssh_func.inc");
include("macosx_func.inc");


if(sshlib::get_support_level() >= sshlib::SSH_LIB_SUPPORTS_COMMANDS)
  enable_ssh_wrappers();
else disable_ssh_wrappers();

function exec(cmd)
{
 local_var buf, ret, soc;

 if ( islocalhost() )
  buf = pread(cmd:"/bin/bash", argv:make_list("bash", "-c", cmd));
 else
 {
  ret = ssh_open_connection();
  if ( ! ret ) exit(0);
  buf = ssh_cmd(cmd:cmd);
  ssh_close_connection();
 }

 if ( buf !~ "^[0-9]" ) exit(0);

 buf = chomp(buf);
 return buf;
}

# Look at the exact version of QuickTimeStreaming
cmd = GetBundleVersionCmd(file:"QuickTimeStreaming.component", path:"/System/Library/Quicktime");
buf = exec(cmd:cmd);
set_kb_item(name:"MacOSX/QuickTimeSteaming/Version", value:buf);

version = split(buf, sep:'.', keep:FALSE);

if (( int(version[0]) == 7 && int(version[1]) < 1 ) ||
    ( int(version[0]) == 7 && int(version[1]) == 1 && int(version[2]) < 3 ) ) {
	 security_warning( 0 );
	exit(0);
}
else if ( int(version[0]) == 7 && int(version[1]) == 1 && int(version[2]) == 3 )
{
 cmd = _GetBundleVersionCmd(file:"QuickTimeStreaming.component", path:"/System/Library/Quicktime", label:"SourceVersion");
 buf = exec(cmd:cmd);
 if ( int(buf) < 4650200 ) security_warning(0);
}

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/macosx_SecUpd2007-001.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\macosx_SecUpd2007-001.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/macosx_SecUpd2007-001.nasl

Go back to menu.

How to Run


Here is how to run the Mac OS X Security Update 2007-001 as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select MacOS X Local Security Checks plugin family.
  6. On the right side table select Mac OS X Security Update 2007-001 plugin ID 24234.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl macosx_SecUpd2007-001.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a macosx_SecUpd2007-001.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - macosx_SecUpd2007-001.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state macosx_SecUpd2007-001.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 24268 - QuickTime RTSP URL Handler Buffer Overflow (Windows)
  • 153932 - Google Chrome < 94.0.4606.81 Multiple Vulnerabilities
  • 15420 - Mac OS X Multiple Vulnerabilities (Security Update 2004-09-30)
  • 154239 - Google Chrome < 95.0.4638.54 Multiple Vulnerabilities
  • 154705 - Google Chrome < 95.0.4638.69 Multiple Vulnerabilities
  • 154825 - Wireshark 3.4.x < 3.4.6 DoS (macOS)
  • 156461 - Google Chrome < 97.0.4692.71 Multiple Vulnerabilities
  • 15898 - Mac OS X Multiple Vulnerabilities (Security Update 2004-12-02)
  • 159236 - Google Chrome < 99.0.4844.84 Vulnerability
  • 16151 - iTunes < 4.7.1
  • 16251 - Mac OS X Multiple Vulnerabilities (Security Update 2005-001)
  • 18189 - Mac OS X Multiple Vulnerabilities (Security Update 2005-005)
  • 19463 - Mac OS X Multiple Vulnerabilities (Security Update 2005-007)
  • 20990 - Mac OS X Multiple Vulnerabilities (Security Update 2006-001)
  • 22025 - MS06-037 / MS06-038: Vulnerabilities in Microsoft Excel and Office Could Allow Remote Code Execution (917284 / 917285) (Mac OS X)
  • 22125 - Mac OS X Multiple Vulnerabilities (Security Update 2006-004)
  • 22476 - Mac OS X 10.4.x < 10.4.8 Multiple Vulnerabilities
  • 22479 - Mac OS X Multiple Vulnerabilities (Security Update 2006-006)
  • 24811 - Mac OS X < 10.4.9 Multiple Vulnerabilities (Security Update 2007-003)
  • 25081 - Mac OS X Multiple Vulnerabilities (Security Update 2007-004)
  • 25122 - Quicktime < 7.1.6 quicktime.util.QTHandleRef toQTPointer Method Arbitrary Code Execution (Mac OS X)
  • 25297 - Mac OS X Multiple Vulnerabilities (Security Update 2007-005)
  • 25704 - QuickTime < 7.2 Multiple Vulnerabilities (Mac OS X)
  • 25830 - Mac OS X Multiple Vulnerabilities (Security Update 2007-007)
  • 28212 - Mac OS X < 10.4.11 Multiple Vulnerabilities (Security Update 2007-008)
  • 29699 - QuickTime < 7.3.1 Multiple Vulnerabilities (Mac OS X)
  • 29702 - Mac OS X : Java for Mac OS X 10.4 Release 6
  • 29723 - Mac OS X Multiple Vulnerabilities (Security Update 2007-009)
  • 30254 - Mac OS X Multiple Vulnerabilities (Security Update 2008-001)
  • 30255 - Mac OS X 10.5.x < 10.5.2 Multiple Vulnerabilities
  • 31605 - Mac OS X Multiple Vulnerabilities (Security Update 2008-002)
  • 32477 - Mac OS X 10.5.x < 10.5.3 Multiple Vulnerabilities
  • 32478 - Mac OS X Multiple Vulnerabilities (Security Update 2008-003)
  • 33281 - Mac OS X 10.5.x < 10.5.4 Multiple Vulnerabilities
  • 33282 - Mac OS X Multiple Vulnerabilities (Security Update 2008-004)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file macosx_SecUpd2007-001.nasl version 1.21. For more plugins, visit the Nessus Plugin Library.

Go back to menu.