Adobe Reader DC JavaScript AnnotsString Object Arbitrary Overwrite Restrictions Bypass Vulnerability
The AnnotsString object in Adobe Reader DC could be manipulated through a specially crafted PDF containing particular JavaScript instructions, allowing an attacker to overwrite the object's properties and methods. This bypassed API restrictions and could be combined with other flaws to run code in the context of the current process.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass API restrictions on vulnerable installations of Adobe Reader. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 AnnotsString scripting object did not properly restrict modification of its own properties and methods, letting script in a PDF redefine them.
Impact
An attacker could bypass API restrictions and, combined with other vulnerabilities, execute code in the context of the current process; user interaction is required.
What the attacker needed
Victim opens a malicious PDF; Adobe Reader DC installed
The fix
Adobe issued an update that corrects the vulnerability.
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.
Adobe Reader can run small scripts inside PDF files. A scripting object called AnnotsString was not properly protected, so a malicious PDF could change how that object behaves. On its own this does not run code, but it can be chained with another bug to do so.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.