Skip to content
XSS Write-up Advanced

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.

Wladimir Palant Follow

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.

Wladimir Palant, on palant.info

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

  1. Open the extension's viewer page from any website, supplying an arbitrary pdfurl value.
  2. The extension downloads that address and passes the data to the Document Cloud frame.
  3. Get script running on documentcloud.adobe.com, for example through an XSS flaw.
  4. 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.

More by Wladimir Palant

View all

7 more disclosed reports, best first.

More from Adobe

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.