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

Antenna House Office Server Document Converter OLEread Code Execuction Vulnerability

A crafted PowerPoint file causes a heap buffer overflow in the OLE stream reading code of the Office Server Document Converter when it converts the file. An attacker could use this to corrupt heap memory and potentially execute arbitrary code.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable heap corruption exists in the PowerPoint document conversion functionality of the Antenna House Office Server Document Converter version V6.1 Pro MR2 for Linux64 (6,1,2018,0312). A crafted PowerPoint (PPT) document can lead to heap corruption, 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

Likely the OLEread routine trusts the record size from the file and copies that many bytes into a buffer allocated for a different, smaller record without checking the destination size.

Impact

Heap memory corruption that could allow remote code execution, though the text only demonstrates a crash under the memory checker rather than a working exploit.

What the attacker needed

Victim opens or converts a crafted PPT file; converter processes untrusted documents

How it was found

  1. Create or obtain a crafted PowerPoint file that triggers the overflow.
  2. Run the converter command-line tool on the file, asking for PDF output.
  3. Observe the invalid write reported by the memory checker during parsing of the slide records.

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 program turns office documents into other formats such as PDF. When it reads a PowerPoint file, it copies data into a memory area sized for one part of the file, but a crafted file makes it copy more than fits. Writing past the end of a memory block (a heap overflow) 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.