Atlantis Word Processor empty TTableRow TList code execution vulnerability
The Atlantis Word Processor parser mishandles a Word document whose table-row list is empty, so it fetches an uninitialised pointer from an empty list and then writes through it. An attacker who convinces a victim to open a crafted document could corrupt heap memory and potentially execute code in the application's context.
An exploitable uninitialized pointer vulnerability exists in the Word document parser of the the Atlantis Word Processor. A specially crafted document can cause an array fetch to return an uninitialized pointer and then performs some arithmetic before writing a value to the result.
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 does not check that the table-row list is non-empty before fetching and initialising its first element, so an uninitialised pointer is used.
Impact
An attacker could corrupt heap memory and potentially execute code under the context of the application, though the victim must open the crafted document.
What the attacker needed
Victim opens a crafted .doc file; Atlantis Word Processor installed
How it was found
- Craft a Word binary document whose table-row list ends up empty.
- Open the crafted document in Atlantis Word Processor.
- The parser fetches the first element of the empty list and writes through the uninitialised pointer.
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 builds lists of its parts in memory. In this case a list that should hold table rows is empty, but the program still takes a pointer from it and writes to that address. Because the pointer was never set up, the write lands in the wrong place and can let an attacker take over the program.
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.