Skip to content
Memory corruption Advisory Advanced CVE-2018-4001

Atlantis Word Processor Office Open XML uninitialized TTableRow code execution vulnerability

An uninitialized pointer in the Office Open XML parser of Atlantis Word Processor can be written to a variable and later dereferenced, allowing controlled heap corruption. An attacker could exploit this to execute code in the context of the application by convincing a victim to open a crafted document.

A member Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable uninitialized pointer vulnerability exists in the Office Open XML parser of Atlantis Word Processor, version 3.2.5.0. A specially crafted document can cause an uninitialized pointer representing a TTableRow to be assigned to a variable on the stack.

a member, on Cisco Talos

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 parser handles a table element before the current table row pointer is initialized, leading to an uninitialized pointer being stored and later used.

Impact

This could lead to code execution under the context of the application.

What the attacker needed

Victim opens a crafted document

The fix

The vulnerability was fixed by the vendor via a beta version.

How it was found

  1. Open a crafted document in Atlantis Word Processor.
  2. The parser encounters a table element before initializing the current table row pointer.
  3. The uninitialized pointer is saved and later restored to the current table row variable.
  4. A subsequent table cell element triggers an increment operation on a property of the uninitialized pointer, causing memory 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.

When a program opens a document, it uses memory to store information about the document's structure. In this case, a pointer (a memory address) was not set to a valid value before being used. An attacker could craft a document that causes the program to use this uninitialized pointer, potentially leading to memory corruption and allowing the attacker to 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.

More by A member

View all

110 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.