Oracle Outside In Technology PDF parser confusion Code Execution Vulnerability
A malformed PDF /Index entry containing a string instead of an integer causes a parser confusion, leading to an out-of-bounds memory access and an arbitrary write. An attacker could exploit this to corrupt heap memory and potentially achieve code execution.
Originally disclosed on Cisco Talos
An exploitable arbitrary write vulnerability exists in the PDF parser functionality of Oracle Outside In Technology SDK. A specially crafted PDF document can cause a parser confusion resulting in an arbitrary write vulnerability ultimately leading 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 PDF parser failed to validate that all elements of the /Index array are integers, allowing a string pointer to be used in offset calculations and later as a write destination.
Impact
The vulnerability could lead to arbitrary memory overwrite and ultimately code execution, though the supplied testcase might not crash depending on memory layout.
What the attacker needed
Victim opens a crafted PDF; vulnerable Oracle Outside In SDK
How it was found
- Create a PDF file with an /Index array containing a string element (e.g., by inserting a misplaced character).
- Set the /Size parameter to influence memory layout and control the integer overflow.
- Open the crafted PDF with the vulnerable application (e.g., ixsample).
- Observe the parser confusion leading to an out-of-bounds access and arbitrary write.
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 PDF file has a table that lists where different parts of the file are stored. This table should only contain numbers, but the software did not check properly and accepted a text value instead. That text value was then used as if it were a number, causing the program to write data to the wrong place in memory, which can crash it or let 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.