Skip to content
Memory corruption Advisory Advanced CVE-2018-3931

Antenna House Office Server Document Converter putShapeProperty Code Execution Vulnerability

A stack-based buffer overflow in the putShapeProperty method of Antenna House Office Server Document Converter allows a crafted Microsoft Word document to cause an out-of-bounds write, potentially leading to remote code execution.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.8 View original

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.

Marcin 'Icewall' Noga, on Cisco Talos

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 uses a fixed-size stack buffer and concatenates data into it without checking the length, while the number of elements is read directly from the file, allowing an attacker to control the overflow.

Impact

A crafted document could allow an attacker to overwrite the return address and execute arbitrary code, though the report only demonstrates a crash.

What the attacker needed

Victim opens a malicious DOC file; converter processes the file

How it was found

  1. Create a malicious Microsoft Word document that triggers the vulnerable code path.
  2. Run the document converter (SBCCmd) on the malicious file with output format PDF.
  3. Observe the stack-based buffer overflow and crash.

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 converter. When the program processes a malicious Word file, it writes more data into a fixed-size memory area than it can hold, which can crash the program or 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.

More by Marcin 'Icewall' Noga

View all

146 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.