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.
Originally disclosed on Cisco Talos
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.
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
- Create an RTF document with specific control words that cause memory allocation and freeing.
- Run the ixsample binary from the SDK with the crafted RTF file.
- 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.