Use after free during the StageVideoAvailabilityEvent can result in arbitrary code execution
A use-after-free flaw in Flash Player's handling of the StageVideoAvailabilityEvent allows an attacker to free an object while a SWF movie is being reloaded, potentially leading to arbitrary code execution. The report states an attacker can take control of the code flow.
Originally disclosed on HackerOne
- Fixed in 14 days
- Paid in 14 days
- Disclosed after 44 days
An attacker can register the StageVideoAvailabilityEvent and have the SWF movie reloaded at the same time with LoadMovie. During this process, an object may be freed allowing the attacker to take control of the code flow.
Identified as CVE-2015-0315, and reported to Adobe via Chrome VRP: https://helpx.adobe.com/security/products/flash-player/apsb15-04.html
Original report with an exploit for Chrome: https://code.google.com/p/chromium/issues/detail?id=429276
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 use-after-free where an object related to StageVideoAvailabilityEvent is freed during a LoadMovie reload but still referenced.
What the attacker needed
Victim runs a malicious SWF in Flash Player
How it was found
- Register a listener for the StageVideoAvailabilityEvent.
- Reload the SWF movie using LoadMovie at the same time.
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, so an attacker can put their own data there and influence what the program does next. Here, a Flash movie can trigger this by listening for a specific event while reloading itself, which may let an attacker 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.