Foxit PDF Reader activeDocs Missing Authorization Information Disclosure Vulnerability
The JavaScript API in Foxit PDF Reader did not check authorisation before exposing functionality, so a malicious page or file could read the contents of other open documents. An attacker could use this to disclose sensitive information from those documents in the context of the current user.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF 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 JavaScript API exposed document-reading functions without checking that the calling script was authorised to access other open documents.
Impact
An attacker could disclose the contents of other open documents in the context of the current user, but the victim must first visit a malicious page or open a malicious file.
What the attacker needed
Victim opens a malicious PDF or page; other documents open in the reader
The fix
Foxit issued an update to correct 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.
A PDF reader runs small programs written in JavaScript to add features to documents. This report says those programs could reach parts of the reader they were not supposed to reach, because the reader did not check whether the caller was allowed. As a result, a booby-trapped PDF or web page could read text from other PDFs the person had open at the same time.
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.