Mac OS X Multiple Vulnerabilities (Security Update 2006-004) - Nessus

Critical   Plugin ID: 22125

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

Plugin Overview


ID: 22125
Name: Mac OS X Multiple Vulnerabilities (Security Update 2006-004)
Filename: macosx_SecUpd2006-004.nasl
Vulnerability Published: 2006-06-26
This Plugin Published: 2006-08-01
Last Modification Time: 2018-07-14
Plugin Version: 1.23
Plugin Type: local
Plugin Family: MacOS X Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/MacOSX/packages

Vulnerability Information


Severity: Critical
Vulnerability Published: 2006-06-26
Patch Published: 2006-08-01
CVE [?]: CVE-2005-0488, CVE-2005-0988, CVE-2005-1228, CVE-2005-2335, CVE-2005-3088, CVE-2005-4348, CVE-2006-0321, CVE-2006-0392, CVE-2006-0393, CVE-2006-1472, CVE-2006-1473, CVE-2006-3459, CVE-2006-3461, CVE-2006-3462, CVE-2006-3465, CVE-2006-3495, CVE-2006-3496, CVE-2006-3497, CVE-2006-3498, CVE-2006-3499, CVE-2006-3500, CVE-2006-3501, CVE-2006-3502, CVE-2006-3503, CVE-2006-3504, CVE-2006-3505
CPE [?]: cpe:/o:apple:mac_os_x
Exploited by Malware: True

Synopsis

The remote operating system is missing a vendor-supplied patch.

Description

The remote host is running Apple Mac OS X, but lacks Security Update 2006-004.

This security update contains fixes for the following applications :

AFP Server Bluetooth Bom DHCP dyld fetchmail gnuzip ImageIO LaunchServices OpenSSH telnet WebKit

Solution

Mac OS X 10.4 :

http://www.apple.com/support/downloads/securityupdate2006004macosx1047clientintel.html http://www.apple.com/support/downloads/securityupdate2006004macosx1047clientppc.html

Mac OS X 10.3 :

http://www.apple.com/support/downloads/securityupdate20060041039client.html http://www.apple.com/support/downloads/securityupdate20060041039server.html

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the Mac OS X Multiple Vulnerabilities (Security Update 2006-004) vulnerability:

  1. Metasploit: exploit/apple_ios/email/mobilemail_libtiff
    [Apple iOS MobileMail LibTIFF Buffer Overflow]
  2. Metasploit: exploit/apple_ios/browser/safari_libtiff
    [Apple iOS MobileSafari LibTIFF Buffer Overflow]
  3. Exploit-DB: exploits/hardware/remote/16862.rb
    [EDB-16862: Apple iPhone MobileSafari LibTIFF - 'browser' Remote Buffer Overflow (Metasploit) (1)]
  4. Exploit-DB: exploits/hardware/remote/16868.rb
    [EDB-16868: Apple iPhone MobileSafari LibTIFF - 'email' Remote Buffer Overflow (Metasploit) (2)]
  5. Exploit-DB: exploits/hardware/remote/16869.rb
    [EDB-16869: iPhone MobileMail - LibTIFF Buffer Overflow (Metasploit)]
  6. Exploit-DB: exploits/ios/remote/21868.rb
    [EDB-21868: Apple iOS Mobile Safari - LibTIFF Buffer Overflow (Metasploit)]
  7. Exploit-DB: exploits/ios/remote/21869.rb
    [EDB-21869: Apple iOS Mobile Mail - LibTIFF Buffer Overflow (Metasploit)]

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:L/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.7 (High)

Go back to menu.

Plugin Source


This is the macosx_SecUpd2006-004.nasl nessus plugin source code. This script is Copyright (C) 2006-2018 Tenable Network Security, Inc.

#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(22125);
  script_version("1.23");
  script_cvs_date("Date: 2018/07/14  1:59:35");

  script_cve_id("CVE-2005-0488", "CVE-2005-0988", "CVE-2005-1228", "CVE-2005-2335", "CVE-2005-3088",
                "CVE-2005-4348", "CVE-2006-0321", "CVE-2006-0392", "CVE-2006-0393", "CVE-2006-1472",
                "CVE-2006-1473", "CVE-2006-3459", "CVE-2006-3461", "CVE-2006-3462", "CVE-2006-3465",
                "CVE-2006-3495", "CVE-2006-3496", "CVE-2006-3497", "CVE-2006-3498", "CVE-2006-3499",
                "CVE-2006-3500", "CVE-2006-3501", "CVE-2006-3502", "CVE-2006-3503", "CVE-2006-3504",
                "CVE-2006-3505");
  script_bugtraq_id(19289);

  script_name(english:"Mac OS X Multiple Vulnerabilities (Security Update 2006-004)");
  script_summary(english:"Check for Security Update 2006-004");

  script_set_attribute(attribute:"synopsis", value:"The remote operating system is missing a vendor-supplied patch.");
  script_set_attribute(attribute:"description", value:
"The remote host is running Apple Mac OS X, but lacks
Security Update 2006-004.

This security update contains fixes for the following
applications :

AFP Server
Bluetooth
Bom
DHCP
dyld
fetchmail
gnuzip
ImageIO
LaunchServices
OpenSSH
telnet
WebKit");
 # http://web.archive.org/web/20070728033955/http://docs.info.apple.com/article.html?artnum=304063
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6e97e41a");
  script_set_attribute(attribute:"solution", value:
"Mac OS X 10.4 :

http://www.apple.com/support/downloads/securityupdate2006004macosx1047clientintel.html
http://www.apple.com/support/downloads/securityupdate2006004macosx1047clientppc.html

Mac OS X 10.3 :

http://www.apple.com/support/downloads/securityupdate20060041039client.html
http://www.apple.com/support/downloads/securityupdate20060041039server.html");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  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:"metasploit_name", value:'Apple iOS MobileMail LibTIFF Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2006/06/26");
  script_set_attribute(attribute:"patch_publication_date", value:"2006/08/01");
  script_set_attribute(attribute:"plugin_publication_date", value:"2006/08/01");

  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) 2006-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);
}

packages = get_kb_item("Host/MacOSX/packages");
if ( ! packages ) exit(0);


uname = get_kb_item("Host/uname");
if ( egrep(pattern:"Darwin.* (7\.[0-9]\.|8\.[0-7]\.)", string:uname) )
{
  if (!egrep(pattern:"^SecUpd(Srvr)?(2006-00[467]|2007-00[38])", string:packages)) security_hole(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_SecUpd2006-004.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\macosx_SecUpd2006-004.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/macosx_SecUpd2006-004.nasl

Go back to menu.

How to Run


Here is how to run the Mac OS X Multiple Vulnerabilities (Security Update 2006-004) 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 Multiple Vulnerabilities (Security Update 2006-004) plugin ID 22125.
  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_SecUpd2006-004.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a macosx_SecUpd2006-004.nasl -t <IP/HOST>

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

/opt/nessus/bin/nasl -T - macosx_SecUpd2006-004.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_SecUpd2006-004.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 21810 - CentOS 3 / 4 : gzip (CESA-2005:357)
  • 22161 - CentOS 3 / 4 : libtiff (CESA-2006:0603)
  • 22282 - CentOS 3 : kdegraphics (CESA-2006:0648)
  • 22679 - Debian DSA-1137-1 : tiff - several vulnerabilities
  • 18231 - GLSA-200505-05 : gzip: Multiple vulnerabilities
  • 22165 - GLSA-200608-07 : libTIFF: Multiple vulnerabilities
  • 18308 - Mandrake Linux Security Advisory : gzip (MDKSA-2005:092)
  • 23886 - Mandrake Linux Security Advisory : libtiff (MDKSA-2006:137)
  • 67398 - Oracle Linux 3 : libtiff (ELSA-2006-0603)
  • 67404 - Oracle Linux 3 : kdegraphics (ELSA-2006-0648)
  • 18469 - RHEL 2.1 / 3 / 4 : gzip (RHSA-2005:357)
  • 22149 - RHEL 2.1 / 3 / 4 : libtiff (RHSA-2006:0603)
  • 22293 - RHEL 2.1 / 3 : kdegraphics (RHSA-2006:0648)
  • 22236 - Slackware 10.0 / 10.1 / 10.2 / 9.0 / 9.1 / current : libtiff (SSA:2006-230-01)
  • 22421 - Slackware 10.0 / 10.1 / 10.2 / 8.1 / 9.0 / 9.1 / current : gzip (SSA:2006-262-01)
  • 27334 - openSUSE 10 Security Update : libtiff (libtiff-1907)
  • 29512 - SuSE 10 Security Update : libtiff (ZYPP Patch Number 1908)
  • 27909 - Ubuntu 5.04 / 5.10 / 6.06 LTS : tiff vulnerabilities (USN-330-1)

Version


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

Go back to menu.