CVE-2017-0038
MEDIUMWindows GDI - Information Disclosure via Crafted EMF File
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2017-0038. PoCs published by Google Security Research, k0keoyo.
AI-analyzed exploit summary The writeup describes an information disclosure vulnerability in Windows GDI (gdi32.dll) due to improper handling of DIBs in EMR_SETDIBITSTODEVICE records, allowing out-of-bounds heap memory disclosure. The PoC demonstrates how a crafted EMF file can leak uninitialized heap data via pixel colors in Internet Explorer or Office Online.
Description
gdi32.dll in Graphics Device Interface (GDI) in Microsoft Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8.1, Windows Server 2012 Gold and R2, Windows RT 8.1, and Windows 10 Gold, 1511, and 1607 allows remote attackers to obtain sensitive information from process heap memory via a crafted EMF file, as demonstrated by an EMR_SETDIBITSTODEVICE record with modified Device Independent Bitmap (DIB) dimensions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-3216, CVE-2016-3219, and/or CVE-2016-3220.
Exploits (2)
The writeup describes an information disclosure vulnerability in Windows GDI (gdi32.dll) due to improper handling of DIBs in EMR_SETDIBITSTODEVICE records, allowing out-of-bounds heap memory disclosure. The PoC demonstrates how a crafted EMF file can leak uninitialized heap data via pixel colors in Internet Explorer or Office Online.
The repository contains a functional C exploit for CVE-2017-0038, which involves memory corruption in Windows GDI via crafted EMF files. The PoC demonstrates the vulnerability by playing a malicious EMF file and leaking memory contents via GetPixel.
References (7)
Scores
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N