cbcvebase.
CVE-2008-0320
published 2008-04-17

CVE-2008-0320: Heap-based buffer overflow in the OLE importer in OpenOffice.org before 2.4 allows remote attackers to cause a denial of service (crash) and possibly execute…

PriorityP262critical9.3CVSS 2.0
AVNACMAuNCCICAC
EXPLOIT
EPSS
57.02%
98.9th percentile
Heap-based buffer overflow in the OLE importer in OpenOffice.org before 2.4 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an OLE file with a crafted DocumentSummaryInformation stream.

Affected

6 ranges
VendorProductVersion rangeFixed in
openofficeopenoffice.org<= 2.3.1
openofficeopenoffice.org
openofficeopenoffice.org
openofficeopenoffice.org
openofficeopenoffice.org
openofficeopenoffice.org

Detection & IOCsextracted from sources · hover to see the quote

filenameCVE-2008-0320.doc
otherPayload offset in template: 115717 (Ret), 115725 (EBX), 115729 (JmpEsp), 115808 (shellcode)
bytes
RET gadget: 0x609345fe (add esp, ebx # ... # ret from tl680mi)
  • Look for OLE files (.doc) with a malformed/oversized DocumentSummaryInformation stream being opened by OpenOffice.org processes (soffice.exe, soffice.bin); heap overflow occurs during OLE import.
  • Payload space is constrained to 407 bytes; detect shellcode patterns within that size embedded at offset 115808 of a crafted OLE document template.
  • The exploit sets EXITFUNC to 'process', meaning the shellcode will terminate the OpenOffice process on exit; monitor for abnormal soffice.exe termination shortly after opening a .doc file.
  • ·The exploit only targets OpenOffice 2.3.0 and 2.3.1 on Windows XP SP3; the vulnerability itself affects all OpenOffice.org versions before 2.4, including the 1.1 branch on multiple platforms.
  • ·The vulnerability also affects OpenOffice.org 1.1 series, not just the 2.x branch, broadening the scope of affected deployments beyond what the Metasploit module targets.
  • ·The ROP gadget addresses (0x609345fe, 0x60915cbd) and EBX value (0xffffefa8) are hardcoded for the specific tl680mi library version shipped with OpenOffice 2.3.x on XP SP3; these offsets will not be valid on other OS versions or OpenOffice builds.

CVSS provenance

nvdv2.09.3CRITICALAV:N/AC:M/Au:N/C:C/I:C/A:C
vendor_redhat9.3CRITICAL
vendor_ubuntu9.3CRITICAL
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.