Hyland Perceptive Document Filters DOCX to HTML Code Execution Vulnerability
A use-after-free vulnerability exists in the DOCX to HTML conversion of Hyland Perceptive Document Filters. A crafted DOCX file can trigger the reuse of a freed object, potentially leading to code execution.
Originally disclosed on Cisco Talos
An exploitable use after free exists in the DOCX to HTML conversion functionality of the Hyland Perspective Document Filters version 11.4.0.2647. A crafted DOCX document can lead to a use-after-free resulting in direct 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 DOCX to HTML converter frees a temporary stream object during document destruction but later calls a virtual method on it during canvas closing, leading to use-after-free.
Impact
An attacker could potentially execute arbitrary code by manipulating the heap after the object is freed.
What the attacker needed
Victim opens a malicious DOCX file; the DOCX is processed by the vulnerable converter
The fix
The vulnerability was fixed by the vendor.
How it was found
- Create a malicious DOCX file.
- Run the Hyland conversion tool with the malicious DOCX as input.
- Observe the crash due to use-after-free.
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.
A use-after-free happens when a program frees memory but then keeps using it. An attacker can craft a file that causes the program to use that freed memory in a controlled way, which may let them 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.