Skip to content
Memory corruption Disclosed report Advanced CVE-2016-0983

Adobe Flash Player ASnative(900,1).call(TextField) Use-After-Free Vulnerability

A use-after-free occurs in Adobe Flash Player when ASnative(900,1) is called with a TextField instance and a getter on swfRoot triggers removeTextField(), causing the TextField to be used after being freed.

hhj4ck Follow

Originally disclosed on HackerOne

Bounty$2,000 View original
  • Fixed in 2 months
  • Paid in 2 months
  • Disclosed after 3.7 years

I. Summary Adobe Flash Player is prone to a vulnerability which leads to Use-After-Free.

II. Description If the ASnative(900,1) is invoked with TextField instance and getter properties associated with swfRoot where the getter method includes a call to removeTextField(), the TextField instance is used after it is freed.

The zip attachment contains the crash.swf and its source code. Latest version of Adobe Flash Player 20.0.0.267 has been tested under Windows 7.

III. Impact Use-After-Free

IV. Credit Wen Guanxing from Venustech ADLAB is credited for this vulnerability.

It has been assigned by Adobe as CVE-2016-0983 https://helpx.adobe.com/security/products/flash-player/apsb16-04.html

The original report as published on HackerOne, by hhj4ck. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 native function ASnative(900,1) does not properly handle the case where a getter on swfRoot removes the TextField during its execution, leading to a dangling pointer.

Impact

The text states only that the impact is a use-after-free; it does not describe exploitation or code execution.

What the attacker needed

Adobe Flash Player; a crafted SWF invoking ASnative(900,1) with a TextField and…

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 is a memory corruption bug in Flash Player. When a particular internal function is called on a text field, and that call indirectly removes the text field, the program later tries to use the removed object.

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.

More by hhj4ck

View all

20 more disclosed reports, best first.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.