AntennaHouse DMC HTMLFilter DHFSummary Code Execution Vulnerability
A malformed DOC file causes a heap buffer overflow in the DHFSummary function of AntennaHouse DMC HTMLFilter because a size field is read from the file and used without proper validation. An attacker could provide a malicious DOC file to trigger heap corruption and potentially achieve arbitrary code execution.
Originally disclosed on Cisco Talos
An exploitable heap corruption vulnerability exists in the DHFSummary 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
Likely the program reads a size field from the DOC file and uses it in a memory allocation and copy operation without validating that the size is consistent with the actual data, leading to an integer underflow and heap buffer overflow.
What the attacker needed
Victim opens a malicious DOC file; the DOC file is processed by the vulnerable converter
How it was found
- Create a malformed DOC file with a crafted size field in the Document Summary Information stream.
- Run the DOC to HTML converter with the malformed file as input.
- Observe heap corruption and crash due to the buffer overflow.
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 specially crafted DOC file, it trusts a size value from the file and uses it to copy data into a buffer that is too small, overwriting other memory. An attacker could use this to crash the program or possibly run their own code.
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.