Quicktime < 7.1.6 quicktime.util.QTHandleRef toQTPointer Method Arbitrary Code Execution (Mac OS X) - Nessus

High   Plugin ID: 25122

This page contains detailed information about the Quicktime < 7.1.6 quicktime.util.QTHandleRef toQTPointer Method Arbitrary Code Execution (Mac OS X) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 25122
Name: Quicktime < 7.1.6 quicktime.util.QTHandleRef toQTPointer Method Arbitrary Code Execution (Mac OS X)
Filename: macosx_Quicktime716.nasl
Vulnerability Published: 2007-04-24
This Plugin Published: 2007-05-02
Last Modification Time: 2018-07-14
Plugin Version: 1.12
Plugin Type: local
Plugin Family: MacOS X Local Security Checks
Dependencies: macosx_Quicktime652.nasl
Required KB Items [?]: MacOSX/QuickTime/Version

Vulnerability Information


Severity: High
Vulnerability Published: 2007-04-24
Patch Published: 2007-05-01
CVE [?]: CVE-2007-2175
CPE [?]: cpe:/a:apple:quicktime

Synopsis

The remote Mac OS X host contains an application that is prone to multiple attacks.

Description

According to its version, the installation of Quicktime on the remote Mac OS X host which contains a bug which might allow a rogue Java program to write anywhere in the heap.

An attacker may be able to leverage these issues to execute arbitrary code on the remote host by luring a victim into visiting a rogue page containing a malicious Java applet.

Solution

Upgrade to Quicktime version 7.1.6 or later.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the Quicktime < 7.1.6 quicktime.util.QTHandleRef toQTPointer Method Arbitrary Code Execution (Mac OS X) vulnerability:

  1. Metasploit: exploit/multi/browser/qtjava_pointer
    [Apple QTJava toQTPointer() Arbitrary Memory Access]
  2. Exploit-DB: exploits/multiple/remote/9943.rb
    [EDB-9943: Apple QuickTime for Java 7 - Memory Access (Metasploit)]
  3. Exploit-DB: exploits/multiple/remote/16295.rb
    [EDB-16295: Apple QTJava - 'toQTPointer()' Arbitrary Memory Access (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:H/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:7.6 (High)
Impact Subscore:10.0
Exploitability Subscore:4.9
CVSS Temporal Score:6.3 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.3 (Medium)

Go back to menu.

Plugin Source


This is the macosx_Quicktime716.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);


include("compat.inc");

if(description)
{
 script_id(25122);
 script_version ("1.12");

 script_cve_id("CVE-2007-2175");
 script_bugtraq_id(23608);

 script_name(english:"Quicktime < 7.1.6 quicktime.util.QTHandleRef toQTPointer Method Arbitrary Code Execution (Mac OS X)");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote Mac OS X host contains an application that is prone to
multiple attacks." );
 script_set_attribute(attribute:"description", value:
"According to its version, the installation of Quicktime on the remote
Mac OS X host which contains a bug which might allow a rogue Java 
program to write anywhere in the heap.

An attacker may be able to leverage these issues to execute arbitrary 
code on the remote host by luring a victim into visiting a rogue page
containing a malicious Java applet." );
 # http://web.archive.org/web/20080227182545/http://docs.info.apple.com/article.html?artnum=305446
 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?8c7ccf6b" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to Quicktime version 7.1.6 or later." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:H/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:'Apple QTJava toQTPointer() Arbitrary Memory Access');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

 script_set_attribute(attribute:"plugin_publication_date", value: "2007/05/02");
 script_set_attribute(attribute:"vuln_publication_date", value: "2007/04/24");
 script_set_attribute(attribute:"patch_publication_date", value: "2007/05/01");
 script_cvs_date("Date: 2018/07/14  1:59:35");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:quicktime");
script_end_attributes();

 script_summary(english:"Check for Quicktime 7.1.6");
 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("macosx_Quicktime652.nasl");
 script_require_keys("MacOSX/QuickTime/Version");
 exit(0);
}

#

ver = get_kb_item("MacOSX/QuickTime/Version");
if (! ver ) exit(0);

version = split(ver, sep:'.', keep:FALSE);
if ( (int(version[0]) < 7) ||
     (int(version[0]) == 7 && int(version[1]) == 0 ) ||
     (int(version[0]) == 7 && int(version[1]) == 1 && int(version[2]) < 6) ) 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_Quicktime716.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\macosx_Quicktime716.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/macosx_Quicktime716.nasl

Go back to menu.

How to Run


Here is how to run the Quicktime < 7.1.6 quicktime.util.QTHandleRef toQTPointer Method Arbitrary Code Execution (Mac OS X) 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 Quicktime < 7.1.6 quicktime.util.QTHandleRef toQTPointer Method Arbitrary Code Execution (Mac OS X) plugin ID 25122.
  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_Quicktime716.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 25123 - QuickTime < 7.1.6 quicktime.util.QTHandleRef toQTPointer Method Arbitrary Code Execution (Windows)
  • 102040 - Debian DLA-1042-1 : libquicktime security update
  • 97441 - Debian DLA-844-1 : libquicktime security update
  • 97498 - Debian DSA-3800-1 : libquicktime - security update
  • 25704 - QuickTime < 7.2 Multiple Vulnerabilities (Mac OS X)
  • 29699 - QuickTime < 7.3.1 Multiple Vulnerabilities (Mac OS X)
  • 45387 - QuickTime < 7.6.6 Multiple Vulnerabilities (Mac OS X)
  • 55763 - QuickTime < 7.7 Multiple Vulnerabilities (Mac OS X)
  • 97368 - openSUSE Security Update : libquicktime (openSUSE-2017-288)
  • 101282 - openSUSE Security Update : libquicktime (openSUSE-2017-785)
  • 29698 - QuickTime < 7.3.1 Multiple Vulnerabilities (Windows)
  • 45388 - QuickTime < 7.6.6 Multiple Vulnerabilities (Windows)
  • 48323 - QuickTime < 7.6.7 QuickTimeStreaming.qtx SMIL File Debug Logging Overflow (Windows)
  • 49260 - QuickTime < 7.6.8 Multiple Vulnerabilities (Windows)
  • 59113 - QuickTime < 7.7.2 Multiple Vulnerabilities (Windows)
  • 62890 - QuickTime < 7.7.3 Multiple Vulnerabilities (Windows)
  • 66636 - QuickTime < 7.7.4 Multiple Vulnerabilities (Windows)
  • 55764 - QuickTime < 7.7 Multiple Vulnerabilities (Windows)
  • 11278 - Apple QuickTime/Darwin Streaming Server Multiple Remote Vulnerabilities
  • 24268 - QuickTime RTSP URL Handler Buffer Overflow (Windows)
  • 97572 - SUSE SLED12 / SLES12 Security Update : libquicktime (SUSE-SU-2017:0610-1)
  • 101223 - SUSE SLED12 / SLES12 Security Update : libquicktime (SUSE-SU-2017:1769-1)
  • 102066 - SUSE SLED12 / SLES12 Security Update : libquicktime (SUSE-SU-2017:1986-1)
  • 140800 - Ubuntu 16.04 LTS : libquicktime vulnerabilities (USN-4545-1)

Version


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

Go back to menu.