AntennaHouse DMC HTMLFilter Doc_SetSummary Code Execution Vulnerability
A heap corruption vulnerability exists in the Doc_SetSummary function of AntennaHouse DMC HTMLFilter when processing a specially crafted DOC file. An attacker could exploit this to achieve arbitrary code execution.
Originally disclosed on Cisco Talos
An exploitable heap corruption vulnerability exists in the DocSetSummary functionality of AntennaHouse DMC HTMLFilter. A specially crafted doc file can cause a heap corruption resulting in arbitrary code execution.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The size parameter passed to memcpy in Doc_SetSummary is taken directly from a field in the DOC file's Dop structure without validation, allowing an attacker-controlled value to exceed the destination buffer size.
Impact
A remote attacker could cause heap corruption and potentially achieve arbitrary code execution by sending a malicious DOC file.
What the attacker needed
Victim opens a malicious DOC file; converter processes the file
How it was found
- Create a malformed DOC file with a crafted Dop structure field.
- Run the DOC to HTML converter with the malformed file as input.
- Observe the out-of-bounds write in Doc_SetSummary via Valgrind.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This report describes a memory corruption bug in a document converter. When the program reads a malicious DOC file, it copies more data than the destination buffer can hold, overwriting nearby memory. An attacker could use this to run their own code on the system.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.