Firefox exploit found in the wild
A malicious advertisement served a Firefox exploit that abused the interaction between the same-origin policy and the built-in PDF viewer to inject a JavaScript payload into the local file context. The exploit then searched for and uploaded potentially sensitive local files, such as SSH keys and FTP client configurations, to a remote server.
blog.mozilla.org
Published on blog.mozilla.org
Yesterday morning, August 5, a Firefox user informed us that an advertisement on a news site in Russia was serving a Firefox exploit that searched for sensitive files and uploaded them to a server that appears to be in Ukraine. This morning Mozilla released security updates that fix the vulnerability.
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
Root cause
Likely a flaw in how Firefox's PDF viewer interacted with the same-origin policy, allowing a page to inject script into the local file context.
Impact
The exploit could search for and upload sensitive local files such as SSH keys and FTP configurations, though it did not enable arbitrary code execution and did not target Mac users in this variant.
What the attacker needed
Victim uses Firefox with PDF viewer; victim loads a page serving the malicious ad; Windows or Linux (Mac later)
The fix
Mozilla released security updates in Firefox 39.0.3 and Firefox ESR 38.1.1 that fixed 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 write-up has not been written yet. The Original tab links to the source.
Websites are normally kept apart from each other and from your own computer's files by a rule called the same-origin policy. A bug in how Firefox's built-in PDF reader worked with that rule let a malicious advert run code that could read files on the victim's machine and send them away. Updating Firefox closed the hole.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.