Flash Sandbox Bypass
Two Flash vulnerabilities allowed a remote attacker to read local files and exfiltrate them without user interaction. One bug mounted a remote Flash applet in the local-with-file sandbox, and the other enabled reading local and remote files from that sandbox.
Originally disclosed on HackerOne
- Fixed in 13 days
- Paid in 13 days
- Disclosed after 13 days
Adobe Flash Player issue 2719 and 2720. Exploit of this bug uses 2 separate vulnerabilities. 2720 is a bug which is able to, from the local-with-file sandbox, (default local sandbox), open both local and remote files, (local files and http/https resources). An attacker could for example read your email, or simply retrieve a local password store/cookies etc. After retrieving the desired data/file it can exfiltrate it out of the local-sandbox to a remote recourse (server from the attacker) using the same vector.
2719 is a vulnerability which can mount a Flash applet from a http:// or https:// origin in the local-with-file-sandbox mode, which is normally only used for files opened locally on the users file-system. Due to this issue the other 2720 vulnerability can be linked in such a way that it is remotely exploitable.
By mounting 2719 before 2720 the user does not have to download anything, accept anything. The vulnerability requires no additional user interaction, simply visiting the site prepared to serve the exploit is enough.
These vulnerabilities are already reported to Adobe and will be patched next week's patch Tuesday (June 10). The CVE number assigned to the combination of these issues is CVE-2014-0535.
The link below is a video demonstration of the proof of concept: https://www.youtube.com/watch?v=EjXPAwBt_J4
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 a sandbox policy flaw that allowed a remote origin to be treated as local-with-file and then permitted cross-domain file access.
Impact
An attacker could read local files such as email or password stores and exfiltrate them remotely, with no user interaction beyond visiting a website.
What the attacker needed
Victim visits a malicious website; Adobe Flash Player installed
The fix
The vulnerabilities were reported to Adobe and were to be patched in the next patch Tuesday.
How it was found
- Visit a website prepared to serve the exploit.
- The site mounts a Flash applet from a remote origin in the local-with-file sandbox.
- The applet reads local files and remote resources.
- The applet exfiltrates the retrieved data to the attacker's server.
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.
Adobe Flash had a security sandbox that was supposed to stop files opened from your computer from talking to the internet. Two bugs together broke that rule: one let a website pretend its content was a local file, and the other let that content read files on your computer and send them to the attacker. You only had to visit a malicious website.
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.