cbcvebase.
CVE-2009-0565
published 2009-06-10

CVE-2009-0565: Buffer overflow in Microsoft Office Word 2000 SP3, 2002 SP3, and 2007 SP1 and SP2; Microsoft Office for Mac 2004 and 2008; Open XML File Format Converter for…

PriorityP263critical9.3CVSS 2.0
AVNACMAuNCCICAC
EXPLOIT
EPSS
40.50%
98.5th percentile
Buffer overflow in Microsoft Office Word 2000 SP3, 2002 SP3, and 2007 SP1 and SP2; Microsoft Office for Mac 2004 and 2008; Open XML File Format Converter for Mac; and Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats SP1 and SP2 allows remote attackers to execute arbitrary code via a Word document with a malformed record that triggers memory corruption, aka "Word Buffer Overflow Vulnerability."

Affected

7 ranges
VendorProductVersion rangeFixed in
microsoftoffice
microsoftoffice
microsoftoffice_word
microsoftoffice_word
microsoftoffice_word
microsoftoffice_word
microsoftoffice_word_viewer

Detection & IOCsextracted from sources · hover to see the quote

bytes
\xDB\xDF\xD9\x74\x24\xF4\x58\x2B\xC9\xB1\x33\xBA\x4C\xA8\x75\x76
bytes
\x78\x9C\xEC\xBD\x77\x60\x54\xD5\xB6\x30\x3E\x69\x14\xAF\xF1\x7A\xBF\xAB\xCF\xFB\x7C\x4F\xDF
  • The exploit payload is a zlib-compressed blob embedded in a .doc file; detection should look for .doc files containing a zlib stream (0x78 0x9C header) at anomalous offsets within the Word binary record structure.
  • The Metasploit module targets Microsoft Office 2003 on Windows XP SP0-SP3 (English) and uses EXITFUNC=process; process-exit shellcode behavior in winword.exe context is a detection signal.
  • The exploit requires an abnormally large stack (ulimit -s 100000) when generating the malicious doc; this is a build-time artifact but the resulting .doc file can be detected by the embedded oversized compressed record.
  • The only bad character for the payload is null byte (0x00); shellcode in exploit samples will not contain null bytes, which can be used as a YARA condition when scanning embedded shellcode in .doc files.
  • ·The Metasploit module explicitly targets only Microsoft Office 2003 on Windows XP SP0-SP3 English; the CVE also affects Word 2000 SP3, 2002 SP3, 2007 SP1/SP2, Office for Mac 2004/2008, Open XML File Format Converter for Mac, and the Office Compatibility Pack, but the public exploit code was only tested against the 2003/XP combination.
  • ·The exploit payload space is limited to 1200 bytes; larger or staged payloads may not function correctly within this constraint.
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.