Atlantis Word Processor document endnote reference code execution vulnerability
The Word document parser in Atlantis Word Processor fails to validate an array index derived from the PlcfendTxt table size, so a crafted .doc file causes an out-of-bounds read that is later used as a pointer for an arbitrary write. An attacker who convinces a victim to open the document could corrupt memory and achieve code execution in the context of the application.
An exploitable arbitrary write vulnerability exists in the Word document parser of the Atlantis word processor. A specially crafted document can prevent Atlas from adding elements to an array that is indexed by a loop.
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 code checks a loop index against the size of the PlcfendTxt table instead of the PlcfendRef table, so an index that is valid for one array is used to read and write the other.
Impact
Opening a crafted document could lead to memory corruption and code execution under the context of the application, though the attacker must first convince the victim to open the file.
What the attacker needed
Victim opens a crafted .doc file; Atlantis Word Processor installed
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 word processor reads a document file and uses numbers inside it to decide where to store things in memory. This program trusted one of those numbers without checking it, so a rigged document could make it read and write outside the area it set aside. If a victim opens such a document, the attacker may be able to run their own code on the victim's computer.
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.