Atlantis Word Processor uninitialized TDocOleObject code execution vulnerability
An uninitialized stack variable in Atlantis Word Processor's RTF parser can be used as an OLE object pointer, leading to an out-of-bounds write when OLE tokens are parsed. An attacker could exploit this to achieve code execution.
Originally disclosed on Cisco Talos
An exploitable uninitialized variable vulnerability exists in the RTF-parsing functionality of Atlantis Word Processor. A specially crafted RTF file can leverage an uninitialized stack address, resulting in an out-of-bounds write, which in turn could lead to code execution.
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 RTF parser assumes a valid OLE object pointer exists at a fixed stack offset, but that pointer may be uninitialized because the OLE object initialization function is not always called before parsing OLE tokens.
Impact
A specially crafted RTF file could lead to code execution, though the CVSS vector indicates high attack complexity and requires user interaction.
What the attacker needed
Victim opens a crafted RTF file; attacker can control stack contents
The fix
The vendor patched the issue via a beta version and later released a fixed version.
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.
When a program reads a file, it sometimes uses a temporary memory slot without first putting a value in it. If an attacker can influence what was left in that slot, the program may write data to an unintended place. Here, a crafted document file could make the word processor write outside its intended memory, potentially letting an attacker run their own code.
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.