AntennaHouse DMC HTMLFilter Txo Code Execution Vulnerability
A heap corruption vulnerability exists in the Txo function of AntennaHouse DMC HTMLFilter when converting a specially crafted XLS file. An attacker could provide a malicious XLS file to trigger the overflow and potentially achieve arbitrary code execution.
Originally disclosed on Cisco Talos
An exploitable heap corruption vulnerability exists in the Txo functionality of AntennaHouse DMC HTMLFilter as used by MarkLogic 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 the buffer size for a memcpy is calculated from one field in the XLS file, but the actual copy length comes from a different field, and neither is validated against the other.
What the attacker needed
Victim opens or processes a malicious XLS file
How it was found
- Create a specially crafted XLS file containing a Txo record and a Continue record with mismatched size values.
- Run the XLS to HTML converter on the crafted file.
- Observe the heap overflow during the memcpy in the Txo 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 program that converts Excel files to web pages. When the program reads a malicious Excel file, it writes more data into a memory buffer than was allocated, which can crash the program or let an attacker run their own code. The attacker only needs to supply the crafted file.
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.