Vulnerabilities > CVE-2008-1089 - Code Injection vulnerability in Microsoft Office and Visio

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

Unspecified vulnerability in Microsoft Visio 2002 SP2, 2003 SP2 and SP3, and 2007 up to SP1 allows user-assisted remote attackers to execute arbitrary code via a Visio file containing crafted object header data, aka "Visio Object Header Vulnerability."

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 familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS08-019.NASL
descriptionThe remote host contains a version of Microsoft Visio that has a vulnerability in the way it handles object headers and validates memory which could be used by an attacker to execute arbitrary code on the remote host. To exploit this vulnerability, an attacker would need to spend a specially crafted visio document to a user on the remote host and lure him into opening it.
last seen2020-06-01
modified2020-06-02
plugin id31792
published2008-04-08
reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/31792
titleMS08-019: Vulnerabilities in Microsoft Visio Could Allow Remote Code Execution (949032)

Oval

accepted2013-02-11T04:02:24.899-05:00
classvulnerability
contributors
  • nameSudhir Gandhe
    organizationSecure Elements, Inc.
  • nameShane Shaffer
    organizationG2, Inc.
definition_extensions
  • commentMicrosoft Office Visio 2002 SP2 is installed
    ovaloval:org.mitre.oval:def:692
  • commentMicrosoft Office Visio 2003 is installed
    ovaloval:org.mitre.oval:def:1450
  • commentMicrosoft Office Visio 2007 is installed
    ovaloval:org.mitre.oval:def:5261
descriptionUnspecified vulnerability in Microsoft Visio 2002 SP2, 2003 SP2 and SP3, and 2007 up to SP1 allows user-assisted remote attackers to execute arbitrary code via a Visio file containing crafted object header data, aka "Visio Object Header Vulnerability."
familywindows
idoval:org.mitre.oval:def:5496
statusaccepted
submitted2008-04-08T16:04:00
titleMicrosoft Office Visio Object Header Vulnerability
version5

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 28555,28556 CVE(CAN) ID: CVE-2008-1089,CVE-2008-1090 Visio是微软Office套件中的图形编辑工具。 Microsoft Visio在打开Visio文件时没有正确地验证对象头数据,在从磁盘将特制的.DXF文件加载到内存时没有正确地验证内存分配。如果用户受骗打开了畸形文档,就可能触发这些漏洞,导致执行任意指令。 Microsoft Visio 2007 SP1 Microsoft Visio 2007 Microsoft Visio 2003 SP3 Microsoft Visio 2003 SP2 Microsoft Visio 2002 SP2 临时解决方法: * 使用Microsoft Visio 2003 Viewer或Microsoft Visio 2007 Viewer打开和查看Visio文件。 * 不要打开不可信任来源或可信任来源意外接收到的Microsoft Office文件。 * 通过限制对DWGDP.DLL的访问来禁止Visio打开.DXF文件,在命令提示符处键入下列内容: 对于Windows XP Echo y|cacls &quot;%ProgramFiles%\microsoft office\visio11\dll\dwgdp.dll&quot; /D everyone 对于Windows Vista Takeown.exe /f &quot;%ProgramFiles%\microsoft office\visio11\dll\dwgdp.dll&quot; Icacls.exe &quot;%ProgramFiles%\microsoft office\visio11\dll\dwgdp.dll&quot; /save %TEMP%\DWGDP_ACL.TXT Icacls.exe &quot;%ProgramFiles%\microsoft office\visio11\dll\dwgdp.dll&quot; /deny everyone:(F) 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS08-019)以及相应补丁: MS08-019:Vulnerabilities in Microsoft Visio Could Allow Remote Code Execution (949032) 链接:<a href=http://www.microsoft.com/technet/security/Bulletin/MS08-019.mspx?pf=true target=_blank>http://www.microsoft.com/technet/security/Bulletin/MS08-019.mspx?pf=true</a>
idSSV:3140
last seen2017-11-19
modified2008-04-10
published2008-04-10
reporterRoot
titleMicrosoft Visio多个远程代码执行漏洞(MS08-019)