Adobe Reader DC JavaScript CBSharedReviewCompleteAutomation JavaScript API Restrictions Bypass Vulnerability
A method in Adobe Reader DC's JavaScript API, CBSharedReviewCompleteAutomation, could be abused with a specially crafted PDF to bypass the restrictions placed on JavaScript. An attacker could then combine this 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 JavaScript API restrictions on vulnerable installations of Adobe Reader DC. 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 CBSharedReviewCompleteAutomation method did not properly enforce the JavaScript API restrictions that other methods are subject to.
Impact
An attacker could bypass the JavaScript API restrictions and, in combination with other vulnerabilities, execute code in the context of the current process, though the victim must first open a malicious file or visit a malicious page.
What the attacker needed
Victim opens a crafted PDF; victim visits a malicious page
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 written in JavaScript, a scripting language, but it normally limits what those scripts are allowed to do. This report says one particular built-in function could be tricked into ignoring those limits when a victim opens a malicious PDF. On its own that is not full code execution; the attacker would need another bug to turn it into that.
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.