Mac OS X < 10.3.4 Multiple Vulnerabilities - Nessus

Critical   Plugin ID: 12257

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

Plugin Overview


ID: 12257
Name: Mac OS X < 10.3.4 Multiple Vulnerabilities
Filename: macosx_multiple_vulns.nasl
Vulnerability Published: 2004-05-03
This Plugin Published: 2004-06-01
Last Modification Time: 2018-07-14
Plugin Version: 1.27
Plugin Type: combined
Plugin Family: MacOS X Local Security Checks
Dependencies: os_fingerprint.nasl
Required KB Items [?]: Host/OS

Vulnerability Information


Severity: Critical
Vulnerability Published: 2004-05-03
Patch Published: 2004-05-28
CVE [?]: CVE-2004-0171, CVE-2004-0430, CVE-2004-0485, CVE-2004-0513, CVE-2004-0514, CVE-2004-0515, CVE-2004-0516, CVE-2004-0517, CVE-2004-0518
CPE [?]: N/A
Exploited by Malware: True

Synopsis

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

Description

The remote host is running a version of Mac OS X that is older than 10.3.4. Such versions contain several flaws that may allow an attacker to execute arbitrary commands on the remote system with root privileges.

Solution

Upgrade to Mac OS X 10.3.4 or later.

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 < 10.3.4 Multiple Vulnerabilities vulnerability:

  1. Metasploit: exploit/osx/afp/loginext
    [AppleFileServer LoginExt PathName Overflow]
  2. Exploit-DB: exploits/osx/remote/9931.rb
    [EDB-9931: AppleFileServer 10.3.3 (OSX) - LoginEXT PathName Overflow (Metasploit)]
  3. Exploit-DB: exploits/osx/remote/16863.rb
    [EDB-16863: AppleFileServer (OSX) - LoginExt PathName 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_multiple_vulns.nasl nessus plugin source code. This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.

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

include("compat.inc");

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

 script_cve_id("CVE-2004-0171", "CVE-2004-0430", "CVE-2004-0485", "CVE-2004-0513", "CVE-2004-0514",
               "CVE-2004-0515", "CVE-2004-0516", "CVE-2004-0517", "CVE-2004-0518");
 script_bugtraq_id(10268, 10271, 10432);

 script_name(english:"Mac OS X < 10.3.4 Multiple Vulnerabilities");

 script_set_attribute(attribute:"synopsis", value:
"The remote host is missing a Mac OS X update that fixes a security
issue." );
 script_set_attribute(attribute:"description", value:
"The remote host is running a version of Mac OS X that is older than
10.3.4.  Such versions contain several flaws that may allow an
attacker to execute arbitrary commands on the remote system with root
privileges." );
 # nb: http://docs.info.apple.com/article.html?artnum=300667 redirects to http://support.apple.com/kb/HT1646 
 script_set_attribute(attribute:"see_also", value:"http://support.apple.com/kb/HT1646" );
 script_set_attribute(attribute:"see_also", value:"http://lists.apple.com/archives/security-announce/2004/May/msg00005.html" );
 script_set_attribute(attribute:"solution", value:"Upgrade to Mac OS X 10.3.4 or later." );
  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:'AppleFileServer LoginExt PathName Overflow');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

 script_set_attribute(attribute:"plugin_publication_date", value: "2004/06/01");
 script_set_attribute(attribute:"vuln_publication_date", value: "2004/05/03");
 script_set_attribute(attribute:"patch_publication_date", value: "2004/05/28");
 script_set_attribute(attribute:"plugin_type", value:"combined");
 script_end_attributes();

 script_summary(english:"Various flaws in MacOS X");
 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.");
 script_family(english:"MacOS X Local Security Checks");
 script_dependencies("os_fingerprint.nasl");
 script_require_keys("Host/OS");
 exit(0);
}

#

# The Operating system is actually very detailed, because we can read
# its exact version using NTP or RendezVous
os = get_kb_item("Host/OS");
if ( ! os || "Mac OS X" >!< os ) exit(0);

if ( egrep(pattern:"Mac OS X 10\.([01]\.|3\.[0-3])", string:os) )
	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_multiple_vulns.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\macosx_multiple_vulns.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/macosx_multiple_vulns.nasl

Go back to menu.

How to Run


Here is how to run the Mac OS X < 10.3.4 Multiple Vulnerabilities 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 < 10.3.4 Multiple Vulnerabilities plugin ID 12257.
  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_multiple_vulns.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

/opt/nessus/bin/nasl -T - macosx_multiple_vulns.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_multiple_vulns.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 12518 - Mac OS X Multiple Vulnerabilities (Security Update 2004-05-03)
  • 118884 - VMware Fusion 10.x < 10.1.4 / 11.x < 11.0.1 vmxnet3 Guest-to-Host Code Execution Vulnerability (VMSA-2018-0027) (macOS)
  • 119093 - Adobe Flash Player for Mac <= 31.0.0.148 (APSB18-44)
  • 119424 - Adobe Flash Player for Mac <= 31.0.0.153 (APSB18-42)
  • 119498 - macOS : Apple Safari < 12.0.2 Multiple Vulnerabilities
  • 119603 - Mozilla Firefox < 64.0 Multiple Vulnerabilities (macOS) (deprecated)
  • 119605 - Mozilla Firefox ESR < 60.4 Multiple Vulnerabilities (macOS)
  • 119673 - Adobe Acrobat <= 15.006.30456 / 17.011.30105 / 19.008.20080 Multiple Vulnerabilities (APSB18-41) (macOS)
  • 119674 - Adobe Reader <= 15.006.30456 / 17.011.30105 / 19.008.20080 Multiple Vulnerabilities (APSB18-41) (macOS)
  • 119748 - Mozilla Firefox < 62 Multiple Vulnerabilities (macOS)
  • 119842 - macOS 10.13.6 Multiple Vulnerabilities (Security Update 2018-003)
  • 121309 - Wireshark 2.4.x < 2.4.10 / 2.6.x < 2.6.4 Multiple Vulnerabilities (macOS)
  • 121388 - macOS : Apple Safari < 12.0.3 Multiple Vulnerabilities
  • 121391 - macOS and Mac OS X Multiple Vulnerabilities (Security Update 2019-001)
  • 121392 - macOS 10.13.6 Multiple Vulnerabilities (Security Update 2019-001)
  • 121513 - Google Chrome < 72.0.3626.81 Multiple Vulnerabilities
  • 122245 - Google Chrome < 72.0.3626.96 Vulnerability
  • 122508 - macOS 10.14.3 Supplemental Update
  • 122616 - Google Chrome < 72.0.3626.121 Vulnerability
  • 122852 - Google Chrome < 73.0.3683.75 Multiple Vulnerabilities
  • 124278 - Google Chrome < 74.0.3729.108 Multiple Vulnerabilities
  • 124459 - Google Chrome < 74.0.3729.131 Multiple Vulnerabilities
  • 125151 - macOS and Mac OS X Multiple Vulnerabilities (Security Update 2019-003)
  • 12516 - Mac OS X Multiple Vulnerabilities (Security Update 2003-12-19)
  • 12518 - Mac OS X Multiple Vulnerabilities (Security Update 2004-05-03)
  • 125548 - macOS : Apple Safari < 12.1.1 Multiple Vulnerabilities
  • 125728 - Google Chrome < 75.0.3770.80 Multiple Vulnerabilities
  • 125814 - Adobe Flash Player for Mac <= 32.0.0.192 (APSB19-30)
  • 125891 - Fortinet FortiOS (Mac OS X) 5.4.6 <= 5.4.12 / 5.6.3 < 5.6.8 / 6.0.x < 6.0.5 SSL VPN Directory Traversal (FG-IR-18-384) (deprecated)
  • 125892 - Fortinet FortiOS (Mac OS X) <= 5.4, 5.6.x < 5.6.8, 6.0.x < 6.0.5 SSL VPN Buffer Overflow (FG-IR-18-387) (deprecated)
  • 125893 - Fortinet FortiOS (Mac OS X) < 5.6.11, 6.0.x < 6.0.5 SSL VPN Heap Buffer Overflow (FG-IR-18-388) (deprecated)
  • 125894 - Fortinet FortiOS (Mac OS X) 5.4.1 < 5.4.11 / 5.6.x < 5.6.9 / 6.0.x < 6.0.5 SSL VPN Security Bypass (FG-IR-18-389) (deprecated)
  • 126381 - macOS : Apple Safari < 11.1.1 Multiple Vulnerabilities
  • 126752 - Google Chrome < 75.0.3770.142 Multiple Vulnerabilities
  • 127055 - macOS Sierra / High Sierra Multiple Vulnerabilities (Security Update 2019-004)

Version


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

Go back to menu.