vendor:
FileReference Constructor
by:
Project Zero
7,5
CVSS
HIGH
Type Confusion
843
CWE
Product Name: FileReference Constructor
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2015
Type Confusion in FileReference Constructor
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.
Mitigation:
Ensure that the FileReference constructor is not vulnerable to type confusion.