Skip to content
Info disclosure Advisory Advanced CVE-2017-0038

Windows GDI Information Disclosure Vulnerability (CVE-2017-0038)

The Windows GDI component improperly disclosed kernel memory addresses, allowing an attacker who could log on and run a crafted application to obtain information that could help further compromise the system. The flaw did not permit direct code execution or privilege elevation.

Mateusz Jurczyk Follow

Originally disclosed on Microsoft

High 4.4 View original

Description

A Win32k information disclosure vulnerability exists when the Windows GDI component improperly discloses kernel memory addresses. An attacker who successfully exploited the vulnerability could obtain information to further compromise the user’s system. To exploit this vulnerability, an attacker would have to log on to an affected system and run a specially crafted application. The vulnerability would not allow an attacker to execute code or to elevate user rights directly, but it could be used to obtain information that could be used to try to further compromise the affected system. The security update addresses the vulnerability by correcting how the Windows GDI component handles objects in memory.

FAQ

Does this release contain any additional security-related changes to functionality? Yes. In addition to the security updates that address the vulnerabilities described in this bulletin, Microsoft is releasing an update that replaces certain third party libraries which were used by Windows 8.1, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, and all versions of Windows 10. This update provides the same functionality in a more secure and reliable way.

Microsoft Graphics Component

Microsoft Graphics Component

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Mateusz Jurczyk of Google Project Zero. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the GDI component failed to properly initialise or sanitise memory objects before returning them to user mode, leaking kernel addresses.

Impact

An attacker who could log on and run a crafted application could obtain kernel memory address information that could be used to try to further compromise the system; the flaw did not allow direct code execution or privilege elevation.

What the attacker needed

Log on to an affected system; run a specially crafted application

The fix

The security update was released and corrects how the Windows GDI component handles objects in memory.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a bug in a core part of Windows that draws graphics. It accidentally revealed hidden memory addresses from the operating system's kernel, which is the most privileged part of the system. An attacker already logged in could run a small program to read those addresses, which might help them plan a deeper attack, but this bug alone did not let them run their own code or gain more rights.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Mateusz Jurczyk

View all

207 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.