Antenna House Rainbow PDF Office server document converter TxMasterStyleAtom parsing code execution vulnerability
A heap-based buffer overflow exists in the TxMasterStyleAtom::parse function of Rainbow PDF Office Server Document Converter when parsing a PowerPoint document. An attacker could exploit this to overwrite a vtable pointer and potentially execute arbitrary code.
Originally disclosed on Cisco Talos
A buffer overflow vulnerability exists in the PowerPoint document conversion function of Rainbow PDF Office Server Document Converter V7.0 Pro MR1 (7,0,2019,0220). While parsing a document text info container, the TxMasterStyleAtom::parse function is incorrectly checking the bounds corresponding to the number of style…
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 cLevels field in the TextMasterStyleAtom record is not validated against the maximum allowed value of 5, allowing an out-of-bounds write when parsing style levels.
Impact
An attacker could overwrite a vtable pointer and potentially execute arbitrary code, though the report does not demonstrate a full exploit.
What the attacker needed
Victim opens a malicious PowerPoint file
The fix
The vulnerability was fixed by the vendor on 2019-05-14.
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 software that converts PowerPoint files to PDF. When the program reads a specially crafted PowerPoint file, it can write more data than it has space for, overwriting important internal pointers. An attacker could use this to run their own code on the server.
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.