CVE-2005-4560 is a critical input validation vulnerability in the Windows Graphical Device Interface library (GDI32.DLL) on Microsoft Windows Server 2003, XP, and in Wine up to version 1.12. The vulnerability arises from improper handling of Windows Metafile (WMF) images containing a crafted SETABORTPROC GDI Escape function call. When such a WMF file is processed, arbitrary code can be executed in the context of the user, due to the ability of the SETABORTPROC escape to invoke a function pointer from the file. The vulnerability is also present in the Windows Picture and Fax Viewer (SHIMGVW.DLL) and the Wine WMF handler (metafile.c).
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module: 'ms06_001_wmf_setabortproc.rb', which exploits the Windows Metafile (WMF) SetAbortProc vulnerability (CVE-2005-4560) affecting Windows XP, 2003, and Vista. The module acts as an HTTP server, generating and serving a malicious WMF file to clients. When a vulnerable system processes this file (typically by visiting a malicious web page), the exploit leverages the Escape() metafile function and SetAbortProc procedure to execute arbitrary code. The payload is customizable via Metasploit and is delivered as part of the WMF file. The module is operational and can be used to achieve remote code execution on affected systems. The code is written in Ruby and is structured as a standard Metasploit exploit module, with the main entry point being the 'on_request_uri' method, which handles HTTP requests and serves the exploit payload.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.