Hyland Perceptive Document Filters DOC to HTML updateNumbering Code Execution Vulnerability
A stack-based buffer overflow in the DOC-to-HTML conversion of Hyland Perceptive Document Filters can be triggered by a crafted .doc file, leading to code execution. An attacker could exploit this by providing a malicious document for conversion.
Originally disclosed on Cisco Talos
An exploitable stack-based buffer overflow exists in the DOC-to-HTML conversion functionality of the Hyland Perceptive Document Filters version 11.4.0.2647. A crafted .doc document can lead to a stack-based buffer, 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 check on the minimum index value only rejects -1 but not other negative numbers, and the subsequent loop uses a signed comparison, causing an out-of-bounds write before the array.
Impact
An attacker could potentially gain code execution on the system by providing a malicious .doc document for conversion to HTML.
What the attacker needed
Victim opens or converts a malicious .doc file
The fix
The vendor patched the vulnerability, likely by correcting the bounds check to handle negative values properly.
How it was found
- Create a .doc file containing a paragraph inside a shape object with a PAPX record that sets sprmPIlvl to a negative value.
- Run the Hyland conversion tool (isys_doc2text) with the --html option on the crafted .doc file.
- Observe a segmentation fault in the updateNumbering function due to stack corruption.
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 software that converts Word documents to HTML. When a specially crafted document is processed, the program writes data outside the intended memory area, which can crash it or allow an attacker to run their own code. The flaw is in how the program handles numbering information inside a document.
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.