Skip to content
Memory corruption Advisory Advanced CVE-2019-5019

Antenna House Rainbow PDF Office server document converter getSummaryInformation NumProperties code execution vulnerability

The PowerPoint conversion code in Rainbow PDF Office Server Document Converter mis-checks the relationship between the size of a PropertySet packet and its NumProperties field, so a crafted document causes a heap out-of-bounds write. An attacker could use this heap corruption to execute arbitrary code.

Emmanuel Tacheau Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A heap overflow vulnerability exists in the PowerPoint document conversion function of Rainbow PDF Office Server Document Converter V7.0 Pro R1 (7,0,2018,1113). While parsing Document Summary Property Set stream, the getSummaryInformation function is incorrectly checking the correlation between size and the number of…

Emmanuel Tacheau, 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 parser allocates a buffer based on the PropertySet size field but then loops and writes entries based on the unchecked NumProperties field, so the write pointer can run past the allocation.

Impact

A crafted PowerPoint document could corrupt the heap and lead to arbitrary code execution, though the attacker needs the victim to open the malicious file.

What the attacker needed

Victim opens a crafted PowerPoint file; attacker can deliver a malicious document

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.

Office files store metadata in small structured blocks, and each block says how big it is and how many items it holds. The converter trusted the item count without checking it against the block size, so it wrote past the end of a memory buffer it had allocated. Writing past a buffer can let an attacker control nearby memory 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 Emmanuel Tacheau

View all

58 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.