Vulnerabilities > CVE-2009-0955 - Code Injection vulnerability in Apple Quicktime

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
apple
CWE-94
critical
nessus
exploit available

Summary

Apple QuickTime before 7.6.2 allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via crafted image description atoms in an Apple video file, related to a "sign extension issue."

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.

Exploit-Db

idEDB-ID:8862
last seen2018-11-30
modified2009-06-03
published2009-06-03
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/8862
titleApple QuickTime - Image Description Atom Sign Extension (PoC)

Nessus

  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_QUICKTIME762.NASL
    descriptionThe version of QuickTime installed on the remote Mac OS X host is older than 7.6.2. Such versions contain several vulnerabilities : - A heap buffer overflow in QuickTime
    last seen2020-06-01
    modified2020-06-02
    plugin id38989
    published2009-06-02
    reporterThis script is Copyright (C) 2009-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/38989
    titleQuickTime < 7.6.2 Multiple Vulnerabilities (Mac OS X)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    
    include("compat.inc");
    
    
    if (description)
    {
      script_id(38989);
      script_version("1.17");
    
      script_cve_id(
        "CVE-2009-0185", 
        "CVE-2009-0188", 
        "CVE-2009-0951", 
        "CVE-2009-0952", 
        "CVE-2009-0953",
        "CVE-2009-0955", 
        "CVE-2009-0956", 
        "CVE-2009-0957"
      );
      script_bugtraq_id(
        35159, 
        35161, 
        35162, 
        35163, 
        35164, 
        35165, 
        35166, 
        35167, 
        35168
      );
    
      script_name(english:"QuickTime < 7.6.2 Multiple Vulnerabilities (Mac OS X)");
      script_summary(english:"Checks version of QuickTime on Mac OS X");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Mac OS X host contains an application that is affected by
    multiple vulnerabilities."  );
      script_set_attribute(
        attribute:"description",
        value:
    "The version of QuickTime installed on the remote Mac OS X host is
    older than 7.6.2.  Such versions contain several vulnerabilities :
    
      - A heap buffer overflow in QuickTime's handling of MS 
        ADPCM encoded audio data may lead to an application 
        crash or arbitrary code execution. (CVE-2009-0185)
    
      - A memory corruption issue in QuickTime's handling of
        Sorenson 3 video files may lead to an application crash
        or arbitrary code execution. (CVE-2009-0188)
    
      - A heap buffer overflow in QuickTime's handling of FLC
        compression files may lead to an application crash or 
        arbitrary code execution. (CVE-2009-0951)
    
      - A buffer overflow in QuickTime's handling of compressed
        PSD image files may lead to an application crash or 
        arbitrary code execution. (CVE-2009-0952)
    
      - A heap buffer overflow in QuickTime's handling of PICT
        image files may lead to an application crash or 
        arbitrary code execution. (CVE-2009-0953)
    
      - A sign extension issue in QuickTime's handling of image
        description atoms in an Apple video file may lead to an
        application crash or arbitrary code execution. 
        (CVE-2009-0955)
    
      - An uninitialized memory access issue in QuickTime's 
        handling of movie files may lead to an application 
        crash or arbitrary code execution. (CVE-2009-0956)
    
      - A heap buffer overflow in QuickTime's handling of JP2
        image files may lead to an application crash or 
        arbitrary code execution. (CVE-2009-0957)"  );
      script_set_attribute(
        attribute:"see_also", 
        value:"http://support.apple.com/kb/HT3591"
      );
      script_set_attribute(
        attribute:"see_also", 
        value:"http://lists.apple.com/archives/security-announce/2009/Jun/msg00000.html"
      );
      script_set_attribute(
        attribute:"solution",
        value:"Upgrade to QuickTime 7.6.2 or later."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/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_cwe_id(94, 119, 399);
     script_set_attribute(attribute:"plugin_publication_date", value: "2009/06/02");
     script_set_attribute(attribute:"patch_publication_date", value: "2009/06/01"); 
     script_cvs_date("Date: 2018/07/16 12:48:31");
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:quicktime");
      script_end_attributes();
     
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
      script_copyright(english:"This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.");
      script_dependencies("macosx_Quicktime652.nasl");
      script_require_keys("MacOSX/QuickTime/Version");
      exit(0);
    }
    
    #
    
    include("global_settings.inc");
    
    
    version = get_kb_item("MacOSX/QuickTime/Version");
    if (isnull(version)) exit(0);
    
    ver = split(version, sep:'.', keep:FALSE);
    for (i=0; i<max_index(ver); i++)
      ver[i] = int(ver[i]);
    
    if (
      ver[0] < 7 || 
      (
        ver[0] == 7 && 
        (
          ver[1] < 6 ||
          (ver[1] == 6 && ver[2] < 2)
        )
      )
    )
    {
      if (report_verbosity > 0)
      {
        report = string(
          "\n",
          "QuickTime ", version, " is currently installed on the remote host.\n"
        );
        security_hole(port:0, extra:report);
      }
      else security_hole(0);
    }
    
  • NASL familyWindows
    NASL idQUICKTIME_762.NASL
    descriptionThe version of QuickTime installed on the remote Windows host is older than 7.6.2. Such versions contain several vulnerabilities : - An integer underflow in QuickTime
    last seen2020-06-01
    modified2020-06-02
    plugin id38988
    published2009-06-02
    reporterThis script is Copyright (C) 2009-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/38988
    titleQuickTime < 7.6.2 Multiple Vulnerabilities (Windows)

Oval

accepted2013-07-29T04:00:36.742-04:00
classvulnerability
contributors
  • nameShane Shaffer
    organizationG2, Inc.
  • nameShane Shaffer
    organizationG2, Inc.
  • nameMaria Kedovskaya
    organizationALTX-SOFT
definition_extensions
commentApple QuickTime is installed
ovaloval:org.mitre.oval:def:12443
descriptionApple QuickTime before 7.6.2 allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via crafted image description atoms in an Apple video file, related to a "sign extension issue."
familywindows
idoval:org.mitre.oval:def:16159
statusaccepted
submitted2012-12-11T16:37:33.623-05:00
titleApple QuickTime before 7.6.2 allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via crafted image description atoms in an Apple video file, related to a "sign extension issue"
version7