Iceni Argus ipNameAdd Code Execution Vulnerability
A stack-based buffer overflow in the ipNameAdd function of Iceni Argus occurs when a PDF contains a token that is not a regular name object and exceeds 255 characters, because the length check happens after an unchecked strcpy. An attacker could provide a malicious PDF to cause arbitrary code execution.
Originally disclosed on Cisco Talos
Iceni Argus Version 6.6.04 (Sep 7 2012) NK - Linux x64 Iceni Argus Version 6.6.04 (Nov 14 2014) NK - Windows x64
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 function ipNameAdd calls strcpy on the input string before checking its length, so a string longer than the 255-byte destination buffer overflows the stack.
Impact
A specially crafted PDF could lead to remote code execution, though the report only demonstrates a crash due to stack smashing detection.
What the attacker needed
Victim opens a malicious PDF; PDF contains a token >255 chars; token is not a regular name object
How it was found
- Create a PDF file containing a token longer than 255 characters that is not a regular name object (e.g., as a dictionary value, array element, or stream content).
- Run the Iceni Argus PDF to HTML converter with the malformed PDF as input.
- Observe the stack smashing detection and crash, confirming the return address was overwritten.
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 buffer overflow happens when a program copies more data into a fixed-size memory area than it can hold, overwriting nearby data. Here, a PDF file can contain a long text string that the program copies without checking its length first, corrupting the stack and 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.