Atlantis Word Processor rich text format uninitialized TAutoList remote code execution vulnerability
An uninitialized pointer in the RTF parser of Atlantis Word Processor can be dereferenced and written to when a specially crafted document is opened, leading to heap corruption and potential code execution. An attacker must convince a victim to open a malicious document to trigger the vulnerability.
An exploitable uninitialized pointer vulnerability exists in the rich text format parser of Atlantis Word Processor, version 3.2.7.2. A specially crafted document can cause certain RTF tokens to dereference a pointer that has been uninitialized and then write to it.
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 application uses a TAutoList without ensuring it has been initialized, and when the list is empty, it reads an out-of-bounds value that is then used as a pointer for a write.
Impact
This can allow for one to corrupt heap memory which can lead to code execution under the context of the application.
What the attacker needed
Victim opens a malicious document
The fix
The vulnerability was fixed by the vendor; the report does not detail the fix, but it should involve initializing the list and validating its state before use.
How it was found
- Craft an RTF document containing a \listsimple token with a numerical argument.
- Open or preview the document in Atlantis Word Processor.
- The application parses the token and attempts to write to an uninitialized pointer, causing a crash due to heap corruption.
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 bug in a word processor that can be triggered by opening a malicious document. The program fails to properly set up a list of items before using it, so it reads a leftover value from memory and then writes to an address derived from that value. This can corrupt memory and potentially let an attacker 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.