Vulnerabilities > CVE-2005-4560 - Improper Input Validation vulnerability in Microsoft Windows 2003 Server and Windows XP
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
The Windows Graphical Device Interface library (GDI32.DLL) in Microsoft Windows allows remote attackers to execute arbitrary code via a Windows Metafile (WMF) format image with a crafted SETABORTPROC GDI Escape function call, related to the Windows Picture and Fax Viewer (SHIMGVW.DLL), a different vulnerability than CVE-2005-2123 and CVE-2005-2124, and as originally discovered in the wild on unionseek.com.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 16 |
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 Windows XP/2003/Vista Metafile Escape() SetAbortProc Code Execution. CVE-2005-4560. Remote exploit for windows platform id EDB-ID:16612 last seen 2016-02-02 modified 2010-09-20 published 2010-09-20 reporter metasploit source https://www.exploit-db.com/download/16612/ title Windows XP/2003/Vista Metafile Escape SetAbortProc Code Execution description Windows XP/2003 Metafile Escape() Code Execution Exploit (meta). CVE-2005-4560. Remote exploit for windows platform id EDB-ID:1391 last seen 2016-01-31 modified 2005-12-27 published 2005-12-27 reporter H D Moore source https://www.exploit-db.com/download/1391/ title Windows XP/2003 Metafile Escape Code Execution Exploit meta
Metasploit
description | This module exploits a vulnerability in the GDI library included with Windows XP and 2003. This vulnerability uses the 'Escape' metafile function to execute arbitrary code through the SetAbortProc procedure. This module generates a random WMF record stream for each request. |
id | MSF:EXPLOIT/WINDOWS/BROWSER/MS06_001_WMF_SETABORTPROC |
last seen | 2020-01-14 |
modified | 2019-05-23 |
published | 2006-09-17 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/ms06_001_wmf_setabortproc.rb |
title | Windows XP/2003/Vista Metafile Escape() SetAbortProc Code Execution |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS06-001.NASL |
description | The remote host contains a version of Microsoft Windows that is missing a critical security update that fixes several vulnerabilities in the Graphic Rendering Engine, and in the way Windows handles Metafiles. An attacker could exploit these flaws to execute arbitrary code on the remote host. To exploit this flaw, an attacker would need to send a specially crafted Windows Metafile (WMF) to a user on the remote host, or lure him into visiting a rogue website containing such a file. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 20382 |
published | 2006-01-05 |
reporter | This script is Copyright (C) 2006-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/20382 |
title | MS06-001: Vulnerabilities in Graphics Rendering Engine Could Allow Code Execution (912919) |
code |
|
Oval
accepted 2011-05-16T04:00:59.302-04:00 class vulnerability contributors name Robert L. Hollis organization ThreatGuard, Inc. name Anna Min organization BigFix, Inc name Shane Shaffer organization G2, Inc. name Sudhir Gandhe organization Telos name Shane Shaffer organization G2, Inc.
description The Windows Graphical Device Interface library (GDI32.DLL) in Microsoft Windows allows remote attackers to execute arbitrary code via a Windows Metafile (WMF) format image with a crafted SETABORTPROC GDI Escape function call, related to the Windows Picture and Fax Viewer (SHIMGVW.DLL), a different vulnerability than CVE-2005-2123 and CVE-2005-2124, and as originally discovered in the wild on unionseek.com. family windows id oval:org.mitre.oval:def:1431 status accepted submitted 2006-01-07T07:15:00.000-04:00 title Win2K Graphics Rendering Engine Vulnerability version 70 accepted 2011-05-16T04:00:59.602-04:00 class vulnerability contributors name Robert L. Hollis organization ThreatGuard, Inc. name Robert L. Hollis organization ThreatGuard, Inc. name Dragos Prisaca organization Gideon Technologies, Inc. name Shane Shaffer organization G2, Inc. name Sudhir Gandhe organization Telos name Shane Shaffer organization G2, Inc.
description The Windows Graphical Device Interface library (GDI32.DLL) in Microsoft Windows allows remote attackers to execute arbitrary code via a Windows Metafile (WMF) format image with a crafted SETABORTPROC GDI Escape function call, related to the Windows Picture and Fax Viewer (SHIMGVW.DLL), a different vulnerability than CVE-2005-2123 and CVE-2005-2124, and as originally discovered in the wild on unionseek.com. family windows id oval:org.mitre.oval:def:1433 status accepted submitted 2005-12-28T10:07:00.000-04:00 title WinXP,SP2 Graphics Rendering Engine Vulnerability version 70 accepted 2011-05-16T04:01:03.524-04:00 class vulnerability contributors name Robert L. Hollis organization ThreatGuard, Inc. name Shane Shaffer organization G2, Inc. name Sudhir Gandhe organization Telos name Shane Shaffer organization G2, Inc.
description The Windows Graphical Device Interface library (GDI32.DLL) in Microsoft Windows allows remote attackers to execute arbitrary code via a Windows Metafile (WMF) format image with a crafted SETABORTPROC GDI Escape function call, related to the Windows Picture and Fax Viewer (SHIMGVW.DLL), a different vulnerability than CVE-2005-2123 and CVE-2005-2124, and as originally discovered in the wild on unionseek.com. family windows id oval:org.mitre.oval:def:1460 status accepted submitted 2006-01-07T07:15:00.000-04:00 title Server 2003,SP1 Graphics Rendering Engine Vulnerability version 69 accepted 2011-05-16T04:01:08.577-04:00 class vulnerability contributors name Robert L. Hollis organization ThreatGuard, Inc. name Shane Shaffer organization G2, Inc. name Sudhir Gandhe organization Telos name Shane Shaffer organization G2, Inc.
description The Windows Graphical Device Interface library (GDI32.DLL) in Microsoft Windows allows remote attackers to execute arbitrary code via a Windows Metafile (WMF) format image with a crafted SETABORTPROC GDI Escape function call, related to the Windows Picture and Fax Viewer (SHIMGVW.DLL), a different vulnerability than CVE-2005-2123 and CVE-2005-2124, and as originally discovered in the wild on unionseek.com. family windows id oval:org.mitre.oval:def:1492 status accepted submitted 2006-01-07T07:15:00.000-04:00 title WinXP (64-bit) Graphics Rendering Engine Vulnerability version 69 accepted 2011-05-16T04:01:20.344-04:00 class vulnerability contributors name Robert L. Hollis organization ThreatGuard, Inc. name Shane Shaffer organization G2, Inc. name Sudhir Gandhe organization Telos name Shane Shaffer organization G2, Inc.
description The Windows Graphical Device Interface library (GDI32.DLL) in Microsoft Windows allows remote attackers to execute arbitrary code via a Windows Metafile (WMF) format image with a crafted SETABORTPROC GDI Escape function call, related to the Windows Picture and Fax Viewer (SHIMGVW.DLL), a different vulnerability than CVE-2005-2123 and CVE-2005-2124, and as originally discovered in the wild on unionseek.com. family windows id oval:org.mitre.oval:def:1564 status accepted submitted 2006-01-07T07:15:00.000-04:00 title WinXP,SP1 Graphics Rendering Engine Vulnerability version 69 accepted 2011-05-16T04:01:27.514-04:00 class vulnerability contributors name Robert L. Hollis organization ThreatGuard, Inc. name Jonathan Baker organization The MITRE Corporation name Shane Shaffer organization G2, Inc. name Sudhir Gandhe organization Telos name Shane Shaffer organization G2, Inc.
description The Windows Graphical Device Interface library (GDI32.DLL) in Microsoft Windows allows remote attackers to execute arbitrary code via a Windows Metafile (WMF) format image with a crafted SETABORTPROC GDI Escape function call, related to the Windows Picture and Fax Viewer (SHIMGVW.DLL), a different vulnerability than CVE-2005-2123 and CVE-2005-2124, and as originally discovered in the wild on unionseek.com. family windows id oval:org.mitre.oval:def:1612 status accepted submitted 2006-01-07T07:15:00.000-04:00 title Server 2003 Graphics Rendering Engine Vulnerability version 70
Packetstorm
data source | https://packetstormsecurity.com/files/download/82985/ms06_001_wmf_setabortproc.rb.txt |
id | PACKETSTORM:82985 |
last seen | 2016-12-05 |
published | 2009-11-26 |
reporter | H D Moore |
source | https://packetstormsecurity.com/files/82985/Windows-XP-2003-Vista-Metafile-Escape-SetAbortProc-Code-Execution.html |
title | Windows XP/2003/Vista Metafile Escape() SetAbortProc Code Execution |
Saint
bid | 16074 |
description | Windows WMF handling vulnerability |
id | win_patch_gdi32 |
osvdb | 21987 |
title | windows_wmf |
type | client |
References
- http://linuxbox.org/pipermail/funsec/2006-January/002455.html
- http://linuxbox.org/pipermail/funsec/2006-January/002455.html
- http://secunia.com/advisories/18255
- http://secunia.com/advisories/18255
- http://secunia.com/advisories/18311
- http://secunia.com/advisories/18311
- http://secunia.com/advisories/18364
- http://secunia.com/advisories/18364
- http://secunia.com/advisories/18415
- http://secunia.com/advisories/18415
- http://securitytracker.com/id?1015416
- http://securitytracker.com/id?1015416
- http://support.avaya.com/elmodocs2/security/ASA-2006-001.htm
- http://support.avaya.com/elmodocs2/security/ASA-2006-001.htm
- http://vil.mcafeesecurity.com/vil/content/v_137760.htm
- http://vil.mcafeesecurity.com/vil/content/v_137760.htm
- http://www.f-secure.com/weblog/archives/archive-122005.html#00000753
- http://www.f-secure.com/weblog/archives/archive-122005.html#00000753
- http://www.kb.cert.org/vuls/id/181038
- http://www.kb.cert.org/vuls/id/181038
- http://www.microsoft.com/technet/security/advisory/912840.mspx
- http://www.microsoft.com/technet/security/advisory/912840.mspx
- http://www.securityfocus.com/archive/1/420288/100/0/threaded
- http://www.securityfocus.com/archive/1/420288/100/0/threaded
- http://www.securityfocus.com/archive/1/420351/100/0/threaded
- http://www.securityfocus.com/archive/1/420351/100/0/threaded
- http://www.securityfocus.com/archive/1/420357/100/0/threaded
- http://www.securityfocus.com/archive/1/420357/100/0/threaded
- http://www.securityfocus.com/archive/1/420367/100/0/threaded
- http://www.securityfocus.com/archive/1/420367/100/0/threaded
- http://www.securityfocus.com/archive/1/420378/100/0/threaded
- http://www.securityfocus.com/archive/1/420378/100/0/threaded
- http://www.securityfocus.com/archive/1/420446/100/0/threaded
- http://www.securityfocus.com/archive/1/420446/100/0/threaded
- http://www.securityfocus.com/archive/1/420546/30/7730/threaded
- http://www.securityfocus.com/archive/1/420546/30/7730/threaded
- http://www.securityfocus.com/archive/1/420664/30/7730/threaded
- http://www.securityfocus.com/archive/1/420664/30/7730/threaded
- http://www.securityfocus.com/archive/1/420682/100/0/threaded
- http://www.securityfocus.com/archive/1/420682/100/0/threaded
- http://www.securityfocus.com/archive/1/420684/100/0/threaded
- http://www.securityfocus.com/archive/1/420684/100/0/threaded
- http://www.securityfocus.com/archive/1/420687/100/0/threaded
- http://www.securityfocus.com/archive/1/420687/100/0/threaded
- http://www.securityfocus.com/archive/1/420773/100/0/threaded
- http://www.securityfocus.com/archive/1/420773/100/0/threaded
- http://www.securityfocus.com/bid/16074
- http://www.securityfocus.com/bid/16074
- http://www.us-cert.gov/cas/techalerts/TA05-362A.html
- http://www.us-cert.gov/cas/techalerts/TA05-362A.html
- http://www.us-cert.gov/cas/techalerts/TA06-005A.html
- http://www.us-cert.gov/cas/techalerts/TA06-005A.html
- http://www.vupen.com/english/advisories/2005/3086
- http://www.vupen.com/english/advisories/2005/3086
- http://www130.nortelnetworks.com/cgi-bin/eserv/cs/main.jsp?cscat=BLTNDETAIL&DocumentOID=375341
- http://www130.nortelnetworks.com/cgi-bin/eserv/cs/main.jsp?cscat=BLTNDETAIL&DocumentOID=375341
- http://www130.nortelnetworks.com/cgi-bin/eserv/cs/main.jsp?cscat=BLTNDETAIL&DocumentOID=375420
- http://www130.nortelnetworks.com/cgi-bin/eserv/cs/main.jsp?cscat=BLTNDETAIL&DocumentOID=375420
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2006/ms06-001
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2006/ms06-001
- https://exchange.xforce.ibmcloud.com/vulnerabilities/23846
- https://exchange.xforce.ibmcloud.com/vulnerabilities/23846
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1431
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1431
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1433
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1433
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1460
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1460
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1492
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1492
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1564
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1564
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1612
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1612