Vulnerabilities > CVE-2008-0105 - Improper Input Validation vulnerability in Microsoft Office and Works
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Microsoft Works 6 File Converter, as used in Office 2003 SP2 and SP3, Works 8.0, and Works Suite 2005, allows remote attackers to execute arbitrary code via a .wps file with crafted section header index table information, aka "Microsoft Works File Converter Index Table Vulnerability."
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 4 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Server Side Include (SSI) Injection An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
- Cross Zone Scripting An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Command Line Execution through SQL Injection An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
Exploit-Db
description | Microsoft Office .WPS File Stack Overflow Exploit (MS08-011). CVE-2007-0216,CVE-2008-0105,CVE-2008-0108. Local exploit for windows platform |
file | exploits/windows/local/5107.c |
id | EDB-ID:5107 |
last seen | 2016-01-31 |
modified | 2008-02-13 |
platform | windows |
port | |
published | 2008-02-13 |
reporter | chujwamwdupe |
source | https://www.exploit-db.com/download/5107/ |
title | Microsoft Office 2003 - .wps Stack Overflow Exploit MS08-011 |
type | local |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS08-011.NASL |
description | The remote host is running a version of Microsoft Office Works Converter 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 him open it. Then a bug in the wps header handler would result in code execution. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 33107 |
published | 2008-06-09 |
reporter | This script is Copyright (C) 2008-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/33107 |
title | MS08-011: Vulnerabilities in Microsoft Works File Converter Could Allow Remote Code Execution (947081) |
code |
|
Oval
accepted | 2008-05-05T04:00:22.644-04:00 | ||||||||
class | vulnerability | ||||||||
contributors |
| ||||||||
definition_extensions |
| ||||||||
description | Microsoft Works 6 File Converter, as used in Office 2003 SP2 and SP3, Works 8.0, and Works Suite 2005, allows remote attackers to execute arbitrary code via a .wps file with crafted section header index table information, aka "Microsoft Works File Converter Index Table Vulnerability." | ||||||||
family | windows | ||||||||
id | oval:org.mitre.oval:def:5009 | ||||||||
status | accepted | ||||||||
submitted | 2008-02-14T15:14:23 | ||||||||
title | Microsoft Works File Converter Index Table Vulnerability | ||||||||
version | 6 |
Saint
bid | 27658 |
description | Microsoft Works File Converter index table vulnerability |
id | win_patch_worksconverterace |
osvdb | 41458 |
title | microsoft_works_file_conv_index_table |
type | client |
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 27658 CVE(CAN) ID: CVE-2008-0105 Microsoft Works是微软在早期所发布的文件处理程序。 Works文件转换器在处理节头索引信息时存在漏洞,远程攻击者可能利用此漏洞控制用户系统。 Works文件转换器(wkcvqd01.dll)在将Microsoft Works文档(.wps)转换为富文本格式(RTF)时没有正确地验证节头索引表信息,如果攻击者创建了特制的Works文档文档并修改了其中某些字段(如长度或计数值)的话,就可能触发内存破坏,导致执行任意指令。 Microsoft Office 2003 Service Pack 3 Microsoft Office 2003 Service Pack 2 Microsoft Works Suite 2005 Microsoft Works 8.0 临时解决方法: * 通过限制对WKCVQD01.DLL的访问来禁用Works文件转换器的安装拷贝,在命令行运行以下命令: Windows XP: Echo y| cacls "%ProgramFiles%\Common Files\Microsoft shared\TextConv\wkcvqd01.dll" /E /P everyone:N Windows Vista: Takeown.exe /f "%ProgramFiles%\Common Files\Microsoft Shared\TextConv\wkcvqd01.dll" Icacls.exe "%ProgramFiles%\Common Files\Microsoft Shared\TextConv\wkcvqd01.dll" /save %TEMP%\wkcvqd01 _ACL.TXT Icacls.exe "%ProgramFiles%\Common Files\Microsoft Shared\TextConv\wkcvqd01.dll" /deny everyone:(F) * 禁止安装WKCVQD01.DLL,在命令行运行以下命令: Windows XP: md "%ProgramFiles%\Common Files\Microsoft Shared\TextConv\" echo Placeholder > "%ProgramFiles%\Common Files\Microsoft Shared\TextConv\wkcvqd01.dll" Echo y| cacls "%ProgramFiles%\Common Files\Microsoft Shared\TextConv\wkcvqd01.dll" /E /P everyone:N Windows Vista: md "%ProgramFiles%\Common Files\Microsoft Shared\TextConv\" echo Placeholder > "%ProgramFiles%\Common Files\Microsoft Shared\TextConv\wkcvqd01.dll" Icacls.exe "%ProgramFiles%\Common Files\Microsoft Shared\TextConv\wkcvqd01.dll" /deny everyone:(F) * 不要打开或保存不可信任来源的Microsoft Works文件。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS08-011)以及相应补丁: MS08-011:Vulnerabilities in Microsoft Works File Converter Could Allow Remote Code Execution (947081) 链接:<a href=http://www.microsoft.com/technet/security/Bulletin/MS08-011.mspx?pf=true target=_blank>http://www.microsoft.com/technet/security/Bulletin/MS08-011.mspx?pf=true</a> |
id | SSV:2896 |
last seen | 2017-11-19 |
modified | 2008-02-20 |
published | 2008-02-20 |
reporter | Root |
title | Microsoft Works文件转换器节头索引表内存破坏漏洞(MS08-011) |
References
- http://www.us-cert.gov/cas/techalerts/TA08-043C.html
- http://www.securityfocus.com/bid/27658
- http://www.securitytracker.com/id?1019387
- http://secunia.com/advisories/28904
- http://www.vupen.com/english/advisories/2008/0513/references
- http://marc.info/?l=bugtraq&m=120361015026386&w=2
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5009
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2008/ms08-011