vendor:
Google Security Research
by:
Nils
7,8
CVSS
HIGH
GDI Bitmap Object Reference Counting
416
CWE
Product Name: Google Security Research
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: Win7 32-bit
2013
GDI Bitmap Object Reference Counting Vulnerability
Using a series of calls, an attacker is able to free the bitmap object, while a reference to this object still exists in the trigger process after killing the first notepad process. At this time, the attacker is able to replace the freed object in memory. However, another free is triggered when quitting the trigger process, which will decrement the reference counter on the freed or replaced object, either modifying heap metadata or freeing the object which was allocated in the place of the original bitmap object.
Mitigation:
Ensure that all references to freed objects are removed before the object is freed.