Skip to content
Memory corruption Advisory Advanced CVE-2017-3293

Oracle Outside In Technology RTF Parsing Code Execution Vulnerability

A use-after-free flaw in the RTF parser of Oracle Outside In Technology allows a crafted RTF document to reuse freed memory, potentially leading to arbitrary code execution. The report demonstrates the vulnerability with a minimal test case and debugging evidence.

Aleksandar Nikolic Follow

Originally disclosed on Cisco Talos

High 8.1 View original

An exploitable Use After Free vulnerability exists in the RTF parser functionality of Oracle Outside In Technology SDK. A specially crafted RTF document can cause a reuse of a reference to the previously freed memory which can be manipulated into achieving arbitrary code execution.

Aleksandar Nikolic, 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

Likely the RTF parser frees an object but later reuses a reference to it without reallocating, leading to access of freed memory.

Impact

With proper memory manipulation, an attacker could achieve arbitrary code execution.

What the attacker needed

Victim opens a crafted RTF file; the vulnerable library is used to parse it

How it was found

  1. Create an RTF document with specific control words that cause memory allocation and freeing.
  2. Run the ixsample binary from the SDK with the crafted RTF file.
  3. Observe the use-after-free with Valgrind or a debugging allocator.

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 use-after-free happens when a program frees a piece of memory but then keeps using it. If an attacker can control what gets placed in that memory afterwards, they might be able to run their own code. This report shows such a bug in a library that reads RTF documents.

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 Aleksandar Nikolic

View all

147 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.