SoftMaker Office PlanMaker Excel document CEscherObject::ReadNativeProperties multiple heap buffer overflow vulnerabilities
A heap-based buffer overflow exists in PlanMaker's parsing of Office Art records inside Excel documents, where a record's declared length is copied into a fixed-size buffer in an object that is too small. An attacker could entice a victim to open a crafted document to trigger the overflow, potentially leading to code execution.
An exploitable heap-based buffer overflow vulnerability exists in the Office Art record-parsing functionality of SoftMaker Office 2021’s PlanMaker application. A specially crafted document can cause the document parser to copy data from a particular record type into a static-sized buffer within an object that is…
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 parser copies a record's declared length into a fixed-size buffer inside an object without checking that the buffer is large enough.
Impact
Opening a crafted document could corrupt heap memory, which may allow an attacker to execute code in the context of the user, though the text does not demonstrate a working exploit.
What the attacker needed
Victim opens a crafted Excel 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.
Spreadsheet programs read files made of many small labelled chunks called records. Here the program trusted a length written in the file and copied that many bytes into a fixed-size space in memory, so a longer length spills over into neighbouring memory. A booby-trapped file could therefore corrupt the program's memory when opened.
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.