Skip to content
Access control Disclosed report Advanced CVE-2015-3044CVE-2015-3079

Internet-based attacker can run Flash apps in local sandboxes by using special URL schemes (PSIRT-3299, CVE-2015-3079)

Flash Player's sandbox logic could be bypassed by loading an SWF file via data: or blob: URL schemes, causing the app to run in a local sandbox instead of a remote one. An attacker could then combine this with other bugs to escalate to a trusted local sandbox, gaining unlimited cross-domain access.

jouko Follow

Originally disclosed on HackerOne

Bounty$2,000 View original
  • Fixed in 6 months
  • Paid in 6 months
  • Disclosed after 4.3 years

Some of the sandbox logic of Flash Player can be circumvented on most web browsers by using special URL schemes. A website can deploy an SWF file via the data: or blob: URL schemes (perhaps others). An app started in this way runs in the "local with files" or "local with networking" sandbox, depending on the SWF attributes. This bug can be used in conjunction other attacks such as the Firefox-specific bug reported separately or MITM (CVE-2015-3044) to promote the local sandbox to "local trusted". This would allow unlimited cross-domain access.

On Chrome, the SWF can simply be encoded in a data: URL. This doesn't appear to work on other browsers (maybe there is a limit on the URL length or something else). On Firefox, Safari (recent versions, not version 5), and Chrome also allow loading the SWF from a blob: URL. On Firefox this apparently requires prefixing the URL with "feed:".

The vulnerability was patched in May 2015.

The original report as published on HackerOne, by jouko. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 Flash Player did not properly validate the origin of SWF files loaded via data: or blob: URLs, incorrectly assigning them to a local sandbox.

Impact

This could allow an attacker to escalate to a trusted local sandbox and gain unlimited cross-domain access, especially when combined with other attacks.

What the attacker needed

Attacker-controlled website deploys SWF; browser supports data: or blob: URL schemes; Flash Player installed

The fix

The vulnerability was fixed in May 2015.

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.

Flash Player uses sandboxes to limit what a Flash app can do based on where it came from. Normally a remote website's Flash app runs in a restricted sandbox, but by loading the app through special URL types like data: or blob:, it could trick Flash into treating it as a local file with more privileges. This let an attacker break the intended security boundaries.

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.

More by jouko

View all

13 more disclosed reports, best first.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.