Adobe Flash Player Metadata class Memory Corruption Vulnerability
Adobe Flash Player's Metadata.setMetadata() fails to validate its parameter, causing an inner class instance to be absent and leading to a memory crash. An attacker could exploit this to cause memory corruption.
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 3.5 years
I. Summary Adobe Flash Player is prone to a vulnerability which leads to memory corruption because of improper validation of Metadata.setMetadata().
II. Description Adobe Flash is a multimedia and software platform used for authoring of vector graphics, animation, games and rich Internet applications (RIAs) that can be viewed, played and executed in Adobe Flash Player.
Normally, setMetadata() should validates its parameter and returns error in AS3 level if anything goes wrong. If setMetadata() function is invoked directly with invalid parameter, some inner class instance will be absent, which will cause a memory crash.
POC Source Code:
package { import com.adobe.tvsdk.mediacore.metadata.Metadata; import flash.display.Sprite;
public class poc extends Sprite
{
public function poc()
{
var mt:Metadata;
new Metadata().setMetadata("test",mt);
}
}
}
Latest version of Adobe Flash Player has been tested under Windows 7 x64.
III. Impact Memory Corruption
IV. Affected Adobe Flash Player 21.
V. Credit Wen Guanxing from Pangu LAB is credited for this vulnerability.
It has been assigned as CVE-2016-1099 by Adobe: https://helpx.adobe.com/security/products/flash-player/apsb16-15.html
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, the setMetadata() function does not properly validate its parameter, so an inner class instance is missing when called directly with invalid input, causing a memory crash.
Impact
Memory corruption, demonstrated as a crash in the report.
What the attacker needed
Adobe Flash Player 21; Windows 7 x64
The fix
Adobe assigned CVE-2016-1099 and published an advisory link; the text does not say a fix was applied.
How it was found
- Create a Flash Sprite class that imports Metadata.
- In the constructor, declare a Metadata variable without initialising it.
- Call setMetadata() on a new Metadata instance, passing a test string and the uninitialised variable.
- Run the Flash content in Adobe Flash Player on Windows 7 x64 to trigger the crash.
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.
This report is about a bug in Adobe Flash Player, a program that used to run animations and games in web browsers. A function called setMetadata() is supposed to check what it receives, but if given bad input it crashes the program's memory. The report only shows a crash.
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.