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

Antenna House Office Server Document Converter putlsttbl code execution vulnerability

A stack-based buffer overflow in the putlsttbl method of Antenna House Office Server Document Converter allows a crafted DOC file to overwrite the return address and potentially achieve remote code execution.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable stack-based buffer overflow 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 a stack-based buffer overflow, resulting in remote code…

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 putlsttbl method reads a size field from the DOC file and uses it to loop, writing four bytes per iteration into a fixed 0x80-byte stack buffer without checking the size, causing a stack buffer overflow.

Impact

An attacker could overwrite the function return address and potentially achieve remote code execution, though the content of the overflow is only partially controlled.

What the attacker needed

Victim opens a malicious DOC file; converter processes the DOC file

How it was found

  1. Create a malicious DOC file with a crafted Xst record.
  2. Run the converter command on the malicious DOC file.
  3. The program crashes with a segmentation fault in putlsttbl 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.

A buffer overflow happens when a program writes more data into a fixed-size memory area than it can hold, spilling into nearby memory. Here, a malicious Word document causes the converter to write too much data onto the stack, which can let an attacker take control of the program and 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.