Use After Free in Flash MessageChannel.send can cause arbitrary code execution
A use-after-free flaw in Flash's MessageChannel.send when messages are sent between workers while an animation is reloaded. An attacker could control the instruction pointer and potentially execute arbitrary code.
Originally disclosed on HackerOne
- Fixed in 14 days
- Paid in 14 days
- Disclosed after 44 days
Sending messages between workers while having the animation reloaded can cause an object to be freed while a reference remains in memory. An attacker can use this issue to control eip and potentially execute arbitrary code.
Identified as CVE-2015-0320, and reported to Adobe via Chrome VRP: https://helpx.adobe.com/security/products/flash-player/apsb15-04.html
Original report with proof of concept showing how to control eip: https://code.google.com/p/chromium/issues/detail?id=437441
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
Impact
An attacker could control eip and potentially execute arbitrary code.
What the attacker needed
Flash Player; ability to send messages between workers; animation reload
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.
A use-after-free happens when a program frees memory but keeps using it, like deleting a file and then opening it. Here, sending messages between workers during an animation reload could leave a dangling reference. An attacker could then control the instruction pointer, which is the address of the next instruction the CPU runs, and potentially run their own code.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.