Adobe Acrobat hollowing out same-origin policy
The Adobe Acrobat browser extension exposed a privileged viewer page to any website, which could fetch cross-origin content on the user's behalf, and the Document Cloud pages it trusted had weak message-origin checks and a config-injection flaw that loaded attacker-supplied JavaScript. An attacker could combine these to read data from other sites the victim was logged into, or run script in the trusted origin.
Published on palant.info
It’s unclear whether all the countless people who have the Adobe Acrobat browser extension installed actually use it. The extension being installed automatically along with the Adobe Acrobat application, chances are that they don’t even know about it.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
A malicious site could read data from other sites the victim was logged into, though after a partial fix only PDF files could be fetched, and the extension's CSP blocked the javascript: redirect variant.
What the attacker needed
Acrobat extension installed; victim visits attacker page; an XSS on an adobe.com site
The fix
It was partially fixed in Acrobat [redacted] by delaying responses until a valid PDF is detected, but the author notes the PDF check is unreliable and the document.domain and config-injection issues were not properly addressed.
How it was found
- Open the extension's viewer page from any website, supplying an arbitrary pdfurl value.
- The extension downloads that address and passes the data to the Document Cloud frame.
- Get script running on documentcloud.adobe.com, for example through an XSS flaw.
- Intercept the posted data to read the fetched page's contents.
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 write-up has not been written yet. The Original tab links to the source.
Browsers normally stop one website from reading another site's pages, a rule called the same-origin policy. The Acrobat extension broke that rule for one Adobe page, and that page could be tricked into running an attacker's code. Together this let a malicious site read things like your Google username while you were logged in.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.