Mac OS X Multiple Vulnerabilities (Security Update 2007-005) - Nessus

Critical   Plugin ID: 25297

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

Plugin Overview


ID: 25297
Name: Mac OS X Multiple Vulnerabilities (Security Update 2007-005)
Filename: macosx_SecUpd2007-005.nasl
Vulnerability Published: 2005-09-14
This Plugin Published: 2007-05-25
Last Modification Time: 2018-07-14
Plugin Version: 1.18
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: 2005-09-14
Patch Published: 2007-05-29
CVE [?]: CVE-2005-3011, CVE-2006-4095, CVE-2006-4096, CVE-2006-4573, CVE-2006-5467, CVE-2006-6303, CVE-2007-0493, CVE-2007-0494, CVE-2007-0740, CVE-2007-0750, CVE-2007-0751, CVE-2007-0752, CVE-2007-0753, CVE-2007-1536, CVE-2007-1558, CVE-2007-2386, CVE-2007-2390
CPE [?]: cpe:/o:apple:mac_os_x

Synopsis

The remote host is missing a Mac OS X update that fixes several security issues.

Description

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

This update fixes security flaws in the following applications :

Alias Manager BIND CoreGraphics crontabs fetchmail file iChat mDNSResponder PPP ruby screen texinfo VPN

Solution

Install Security Update 2007-005 :

http://www.apple.com/support/downloads/securityupdate2007005universal.html

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Core Impact)
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 2007-005) vulnerability:

  1. Metasploit: exploit/osx/mdns/upnp_location
    [Mac OS X mDNSResponder UPnP Location Overflow]
  2. Exploit-DB: exploits/osx/local/4013.txt
    [EDB-4013: Apple Mac OSX < 2007-005 - 'vpnd' Local Privilege Escalation]
  3. Exploit-DB: exploits/osx/remote/16871.rb
    [EDB-16871: Apple Mac OSX - mDNSResponder UPnP Location Overflow (Metasploit)]
  4. GitHub: https://github.com/lukeber4/usn-search
    [CVE-2007-1536]
  5. GitHub: https://github.com/offensive-security/exploitdb-bin-sploits/blob/master/bin-sploits/4013.tar.gz
    [EDB-4013]

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:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)

Go back to menu.

Plugin Source


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

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

if ( ! defined_func("bn_random") ) exit(0);
if (NASL_LEVEL < 3000) exit(0);


include("compat.inc");

if(description)
{
 script_id(25297);
 script_version ("1.18");

 script_cve_id("CVE-2005-3011", "CVE-2006-4095", "CVE-2006-4096", "CVE-2006-4573", "CVE-2006-5467",
               "CVE-2006-6303", "CVE-2007-0493", "CVE-2007-0494", "CVE-2007-0740", "CVE-2007-0750",
               "CVE-2007-0751", "CVE-2007-0752", "CVE-2007-0753", "CVE-2007-1536", "CVE-2007-1558",
               "CVE-2007-2386", "CVE-2007-2390");
 script_bugtraq_id(24144, 24159);

 script_name(english:"Mac OS X Multiple Vulnerabilities (Security Update 2007-005)");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote host is missing a Mac OS X update that fixes several
security issues." );
 script_set_attribute(attribute:"description", value:
"The remote host is running a version of Mac OS X 10.4 or 10.3 that
does not have Security Update 2007-005 applied. 

This update fixes security flaws in the following applications :

Alias Manager
BIND
CoreGraphics
crontabs
fetchmail
file
iChat
mDNSResponder
PPP
ruby
screen
texinfo
VPN" );
 script_set_attribute(attribute:"see_also", value:"http://docs.info.apple.com/article.html?artnum=305530" );
 script_set_attribute(attribute:"solution", value:
"Install Security Update 2007-005 :

http://www.apple.com/support/downloads/securityupdate2007005universal.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:F/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:"exploit_framework_core", value:"true");
 script_set_attribute(attribute:"metasploit_name", value:'Mac OS X mDNSResponder UPnP Location Overflow');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
 script_cwe_id(134, 399);

 script_set_attribute(attribute:"plugin_publication_date", value: "2007/05/25");
 script_set_attribute(attribute:"vuln_publication_date", value: "2005/09/14");
 script_cvs_date("Date: 2018/07/14  1:59:35");
 script_set_attribute(attribute:"patch_publication_date", value: "2007/05/29");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:mac_os_x");
script_end_attributes();

 script_summary(english:"Check for the presence of Security Update 2007-004");
 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);
}


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-9]\.)", string:uname) )
{
  if (!egrep(pattern:"^SecUpd(Srvr)?(2007-00[5-9]|200[89]-|20[1-9][0-9]-)", 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_SecUpd2007-005.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\macosx_SecUpd2007-005.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/macosx_SecUpd2007-005.nasl

Go back to menu.

How to Run


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

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a macosx_SecUpd2007-005.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-005.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-005.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CWE | Common Weakness Enumeration:
  • CWE-134 (Weakness) Use of Externally-Controlled Format String
  • CWE-399 (Category) Resource Management Errors
See also: Similar and related Nessus plugins:
  • 24878 - CentOS 4 : file (CESA-2007:0124)
  • 25403 - CentOS 3 / 4 / 5 : mutt (CESA-2007:0386)
  • 43767 - CentOS 5 : ruby (CESA-2009:1140)
  • 25008 - Debian DSA-1274-1 : file - buffer overflow
  • 62264 - Fedora 7 : mutt-1.5.14-4.fc7 (2007-0002)
  • 25359 - FreeBSD : FreeBSD -- heap overflow in file(1) (8e01ab5b-0949-11dc-8163-000e0c2e438a)
  • 24931 - GLSA-200703-26 : file: Integer underflow
  • 27517 - GLSA-200710-19 : The Sleuth Kit: Integer underflow
  • 57631 - GLSA-201201-05 : mDNSResponder: Multiple vulnerabilities
  • 79964 - GLSA-201412-11 : AMD64 x86 emulation base libraries: Multiple vulnerabilities (Heartbleed)
  • 24893 - Mandrake Linux Security Advisory : file (MDKSA-2007:067)
  • 25431 - Mandrake Linux Security Advisory : mutt (MDKSA-2007:113)
  • 147379 - NewStart CGSL CORE 5.04 / MAIN 5.04 : bind Multiple Vulnerabilities (NS-SA-2021-0017)
  • 67463 - Oracle Linux 4 : file (ELSA-2007-0124)
  • 67505 - Oracle Linux 3 / 4 / 5 : mutt (ELSA-2007-0386)
  • 67889 - Oracle Linux 4 / 5 : ruby (ELSA-2009-1140)
  • 99569 - OracleVM 3.3 / 3.4 : bind (OVMSA-2017-0066)
  • 137170 - OracleVM 3.3 / 3.4 : bind (OVMSA-2020-0021)
  • 24897 - RHEL 4 / 5 : file (RHSA-2007:0124)
  • 25404 - RHEL 3 / 4 / 5 : mutt (RHSA-2007:0386)
  • 39599 - RHEL 4 / 5 : ruby (RHSA-2009:1140)
  • 60191 - Scientific Linux Security Update : file on SL5.x, SL4.x i386/x86_64
  • 60195 - Scientific Linux Security Update : mutt on SL5.x, SL4.x, SL3.x i386/x86_64
  • 60613 - Scientific Linux Security Update : ruby on SL4.x, SL5.x i386/x86_64
  • 24916 - Slackware 10.0 / 10.1 / 10.2 / 11.0 / 8.1 / 9.0 / 9.1 / current : file [and bin package] (SSA:2007-093-01)
  • 27214 - openSUSE 10 Security Update : file (file-3033)
  • 29427 - SuSE 10 Security Update : file (ZYPP Patch Number 3034)
  • 28035 - Ubuntu 5.10 / 6.06 LTS / 6.10 : file vulnerability (USN-439-1)
  • 40370 - VMSA-2007-0006 : Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player

Version


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

Go back to menu.