Hyland Perceptive Document Filters Microsoft Word CDATA Code Execution Vulnerability
A crafted Microsoft Word XML document with an empty CDATA section causes a length calculation to underflow to -1, which is then used as the size argument in a memcpy, leading to heap corruption. An attacker could potentially exploit this to achieve remote code execution.
Originally disclosed on Cisco Talos
An exploitable heap corruption exists in the Microsoft Word to many types conversion functionality of the Hyland Perspective Document Filters version 11.4.0.2647. A crafted Microsoft Word (XML) document can lead to heap corruption resulting in remote 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 CDATA length calculation when the start and end pointers are equal, producing -1 which is used as an unsigned size in memcpy.
Impact
An attacker could potentially leverage the heap corruption to gain remote code execution.
What the attacker needed
Victim opens a crafted Word XML file; target runs vulnerable Hyland Document Filters
How it was found
- Create a malicious Microsoft Word XML document containing an empty CDATA section.
- Run the Hyland conversion tool (isys_doc2text) on the crafted file.
- Observe a segmentation fault in memcpy due to a size argument of 0xffffffff.
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 is a bug in software that converts Word documents into other formats. When it reads a specially made Word file, it miscalculates how much data to copy, copying far too much and corrupting memory. An attacker could use this to run their own code on the victim's computer.
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.