Antenna House Office Server Document Converter GetShapePropery 0x105 code execution vulnerability
A crafted Microsoft Word document can cause a stack-based buffer overflow in the GetShapePropery function of Antenna House Office Server Document Converter, allowing an attacker to overwrite the return address and potentially execute arbitrary code.
Originally disclosed on Cisco Talos
An exploitable out-of-bounds write exists in the Microsoft Word document conversion functionality of the Antenna House Office Server Document Converter version V6.1 Pro MR2 for Linux64 (6,1,2018,0312). A crafted Microsoft Word (DOC) document can lead to an out-of-bounds write, 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
The program reads a record length from the file and copies that many bytes into a fixed-size stack buffer without checking the length.
Impact
A remote attacker could execute arbitrary code by convincing a user to open a malicious document, as the overflow overwrites the return address and can lead to code execution.
What the attacker needed
Victim opens a malicious DOC file; converter processes the file
How it was found
- Create a malicious Microsoft Word document with a record of type 0x105 and a length larger than the buffer size.
- Run the document converter on the malicious file.
- The converter reads the oversized record into a fixed-size stack buffer, causing a buffer overflow.
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 document conversion program. When the program reads a specially crafted Word file, it copies too much data into a fixed-size buffer on the stack, which can overwrite the return address and 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.