Vulnerabilities > CVE-2006-3435 - Code Injection vulnerability in Microsoft Office

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

Summary

PowerPoint in Microsoft Office 2000, XP, 2003, 2004 for Mac, and v.X for Mac does not properly parse the slide notes field in a document, which allows remote user-assisted attackers to execute arbitrary code via crafted data in this field, which triggers an erroneous object pointer calculation that uses data from within the document. NOTE: this issue is different than other PowerPoint vulnerabilities including CVE-2006-4694.

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.

Nessus

  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_MS_OFFICE_OCT2006.NASL
    descriptionThe remote host is running a version of Microsoft Office that is affected by various flaws that may allow arbitrary code to be run. To succeed, the attacker would have to send a rogue file to a user of the remote computer and have it open it with Microsoft Word, Excel, PowerPoint or another Office application.
    last seen2020-03-18
    modified2006-10-11
    plugin id22539
    published2006-10-11
    reporterThis script is Copyright (C) 2006-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/22539
    titleMS06-058 / MS06-059 / MS06-0060 / MS06-062: Vulnerabilities in Microsoft Office Allow Remote Code Execution (924163 / 924164 / 924554 / 922581) (Mac OS X)
    code
    #TRUSTED 2c4d1c448257315de7d547465a1555e2bf815efdac1b0a7b25e5429b69796c0e48122d471ecd87d1c4dafb500294445b000afb553cf92b5bea6c53292a1b32e45aa07a53ac2ac4e0d1df4025c032ae6830cd0ef545dd73c2f18bb78485ebba802e3b10009fbced7b6712e15f7191a62cbeb4533bdfac28255d55d0a886002a24f107b579fed1284b36a7e5bb593789dfb7d53075108fa245ab4e39b2b136759c9a4fdcfafa51f19141a02195a99598f4bdb92952f84b0e5af5248219573c22005721632c0314c9c6c79cf5e96c4feebd0ed0a166271afb88947891d74c93a51b81a2111d73711778239f8c193e075b0ba928c15167162a5b45b51ba99cf99c7e332ef56740eb79f0a3551b9299d63f96a706ecc5bbc7095572ce6fa6b01c971f986baca8b87aefee773c8a8b8ba19973d3f67ca3318ec2482ed14e175cb2101a6533e248b8e856c3a359573ca787d27aba868b12bc346d6deeeb2e1211ed9ea65a62546f1d33a722221e10b07c381577e8de316672a7dea5778b1f26adf6f0fecdde1399c5039d09387c04975c4f043d7fb0dcbacf43ebbdab0e1105dc9b5bf8c04fdbcc1f0213d8538f2f56e75a67d36506aa52aa150abfdff4a3f50cd2b8615a99eaa30252a335de6d1170c72d0e071e8cdfd2cde3faa2050428a84b2b91db1e3254e3b683d02d2741fad0d6e77deeb32b065300c387ce71b1e3f17e5a08af
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
     script_id(22539);
     script_version("1.24");
     script_set_attribute(attribute:"plugin_modification_date", value:"2018/07/14");
    
     script_cve_id(
      # "CVE-2006-3435",
      "CVE-2006-3876",
      "CVE-2006-3877",
      "CVE-2006-4694",
      "CVE-2006-2387",
      "CVE-2006-3431",
      "CVE-2006-3867",
      "CVE-2006-3875",
      "CVE-2006-3647",
      # "CVE-2006-3651",
      # "CVE-2006-4534",
      "CVE-2006-4693",
      "CVE-2006-3434",
      "CVE-2006-3650",
      "CVE-2006-3864"
      # "CVE-2006-3868"
     );
     script_bugtraq_id(
      18872,
      20226,
      20322,
      20325,
      20341,
      20344,
      20345,
      20382,
      20383,
      20384,
      20391
     );
     script_xref(name:"MSFT", value:"MS06-058");
     script_xref(name:"MSFT", value:"MS06-059");
     script_xref(name:"MSFT", value:"MS06-060");
     script_xref(name:"MSFT", value:"MS06-062");
     script_xref(name:"MSKB", value:"924163");
     script_xref(name:"MSKB", value:"924164");
     script_xref(name:"MSKB", value:"924554");
     script_xref(name:"MSKB", value:"922581");
    
     script_name(english:"MS06-058 / MS06-059 / MS06-0060 / MS06-062: Vulnerabilities in Microsoft Office Allow Remote Code Execution (924163 / 924164 / 924554 / 922581) (Mac OS X)");
     script_summary(english:"Check for Office 2004 and X");
    
     script_set_attribute(
      attribute:"synopsis",
      value:
    "An application installed on the remote Mac OS X host is affected by
    multiple remote code execution vulnerabilities."
     );
     script_set_attribute(
      attribute:"description",
      value:
    "The remote host is running a version of Microsoft Office that is
    affected by various flaws that may allow arbitrary code to be run.
    
    To succeed, the attacker would have to send a rogue file to a user of
    the remote computer and have it open it with Microsoft Word, Excel,
    PowerPoint or another Office application."
     );
     script_set_attribute(attribute:"see_also", value:"http://technet.microsoft.com/en-us/security/bulletin/ms06-058");
     script_set_attribute(attribute:"see_also", value:"http://technet.microsoft.com/en-us/security/bulletin/ms06-059");
     script_set_attribute(attribute:"see_also", value:"http://technet.microsoft.com/en-us/security/bulletin/ms06-060");
     script_set_attribute(attribute:"see_also", value:"http://technet.microsoft.com/en-us/security/bulletin/ms06-062");
     script_set_attribute(attribute:"solution", value:"Microsoft has released a set of patches for Office for Mac OS X.");
     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: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);
    
     script_set_attribute(attribute:"vuln_publication_date", value:"2006/07/03");
     script_set_attribute(attribute:"patch_publication_date", value:"2006/10/10");
     script_set_attribute(attribute:"plugin_publication_date", value:"2006/10/11");
    
     script_set_attribute(attribute:"plugin_type", value:"local");
     script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:office:2001:sr1:mac_os");
     script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:office:2004::mac");
     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);
    }
    
    
    include("misc_func.inc");
    include("ssh_func.inc");
    include("macosx_func.inc");
    
    
    
    if(sshlib::get_support_level() >= sshlib::SSH_LIB_SUPPORTS_COMMANDS)
      enable_ssh_wrappers();
    else disable_ssh_wrappers();
    
    uname = get_kb_item("Host/uname");
    if ( egrep(pattern:"Darwin.*", string:uname) )
    {
      off2004 = GetCarbonVersionCmd(file:"Microsoft Component Plugin", path:"/Applications/Microsoft Office 2004/Office");
      offX    = GetCarbonVersionCmd(file:"Microsoft Component Plugin", path:"/Applications/Microsoft Office X/Office");
    
      if ( ! islocalhost() )
      {
       ret = ssh_open_connection();
       if ( ! ret ) exit(0);
       buf = ssh_cmd(cmd:off2004);
       if ( buf !~ "^11" ) buf = ssh_cmd(cmd:offX);
       ssh_close_connection();
      }
      else
      {
      buf = pread(cmd:"/bin/bash", argv:make_list("bash", "-c", off2004));
      if ( buf !~ "^11" )
        buf = pread(cmd:"/bin/bash", argv:make_list("bash", "-c", offX));
      }
    
    
     if ( buf =~ "^(10\.|11\.)" )
    	{
    	  vers = split(buf, sep:'.', keep:FALSE);
    	  # < 10.1.8
    	  if ( int(vers[0]) == 10 && ( int(vers[1]) < 1  || ( int(vers[1]) == 1 && int(vers[2]) < 8 ) ) )  security_hole(0);
    	  else
              # < 11.3.0
    	  if ( int(vers[0]) == 11 && int(vers[1]) < 3  ) security_hole(0);
    	}
    }
    
  • NASL familyWindows : Microsoft Bulletins
    NASL idSMB_NT_MS06-058.NASL
    descriptionThe remote host is running a version of Microsoft PowerPoint that is subject to a flaw that could allow arbitrary code to be run. An attacker may use this to execute arbitrary code on this host. To succeed, the attacker would have to send a rogue file to a user of the remote computer and have it open it. Then a bug in the font parsing handler would result in code execution.
    last seen2020-06-01
    modified2020-06-02
    plugin id22531
    published2006-10-10
    reporterThis script is Copyright (C) 2006-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/22531
    titleMS06-058: Vulnerabilities in Microsoft PowerPoint Could Allow Remote Code Execution (924163)

Oval

accepted2012-05-28T04:01:46.859-04:00
classvulnerability
contributors
  • nameRobert L. Hollis
    organizationThreatGuard, Inc.
  • nameShane Shaffer
    organizationG2, Inc.
definition_extensions
commentMicrosoft PowerPoint 2003 is installed
ovaloval:org.mitre.oval:def:666
descriptionPowerPoint in Microsoft Office 2000, XP, 2003, 2004 for Mac, and v.X for Mac does not properly parse the slide notes field in a document, which allows remote user-assisted attackers to execute arbitrary code via crafted data in this field, which triggers an erroneous object pointer calculation that uses data from within the document. NOTE: this issue is different than other PowerPoint vulnerabilities including CVE-2006-4694.
familywindows
idoval:org.mitre.oval:def:476
statusaccepted
submitted2006-10-11T05:29:41
titleMicrosoft PowerPoint Malformed Object Pointer Vulnerability
version5