AntennaHouse DMC HTMLFilter AddSst Code Execution Vulnerability
A heap corruption vulnerability exists in the AddSst function of AntennaHouse DMC HTMLFilter when processing a specially crafted XLS file. An attacker could provide a malicious XLS file to trigger heap corruption and potentially achieve arbitrary code execution.
Originally disclosed on Cisco Talos
An exploitable heap corruption vulnerability exists in the AddSst functionality of AntennaHouse DMC HTMLFilter as used by MarkLogioc 8.0-6. A specially crafted XLS 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 an integer underflow in the loop condition of AddSst causes a huge size to be passed to memcpy, leading to a heap buffer overflow.
What the attacker needed
Victim opens a malicious XLS file
How it was found
- Run the XLS to HTML converter under Valgrind with a crafted XLS file.
- Observe an invalid write in AddSst during memcpy.
- The crash occurs due to a heap overflow in the AddSst function.
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 component that converts XLS spreadsheets to HTML. When the converter reads a malicious XLS file, it miscalculates a buffer size and writes too much data into a small memory area, which can crash the program or let an attacker 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.