Skip to content
Info disclosure Advisory Advanced CVE-2020-0744

Windows GDI Information Disclosure Vulnerability (CVE-2020-0744)

Windows GDI mishandled objects in memory, letting an attacker who can log on and run a crafted application retrieve memory layout information. That information could help predict memory addresses and, combined with another vulnerability, allow arbitrary code to run.

Simon Barsky Follow

Originally disclosed on Microsoft

High 5.5 View original

Description

An information disclosure vulnerability exists in the way that the Windows Graphics Device Interface (GDI) handles objects in memory, allowing an attacker to retrieve information from a targeted system. By itself, the information disclosure does not allow arbitrary code execution; however, it could allow arbitrary code to be run if the attacker uses it in combination with another vulnerability. To exploit this vulnerability, an attacker would have to log on to an affected system and run a specially crafted application. The security update addresses the vulnerability by correcting how GDI handles memory addresses.

FAQ

What type of information could be disclosed by this vulnerability? The type of information that could be disclosed if an attacker successfully exploited this vulnerability is memory layout - the vulnerability allows an attacker to collect information that facilitates predicting addressing of the memory.

Microsoft Graphics Component

Microsoft Graphics Component

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Simon Barsky @expend20. 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 GDI did not properly initialise or restrict memory addresses it returned, so a crafted application could read leftover memory layout details.

Impact

An attacker who can log on and run a crafted application could disclose memory layout information, which by itself does not allow code execution but could help another vulnerability run arbitrary code.

What the attacker needed

Attacker can log on to the system; attacker can run a crafted application

The fix

The vulnerability was fixed by a security update that corrects how GDI handles memory addresses.

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.

The Graphics Device Interface (GDI) is a Windows component that programs use to draw things on screen. A flaw in how it handled memory let a logged-in attacker run a small program that leaked clues about where things sit in memory. Those clues alone do not run code, but they can make a second attack easier.

What is Info disclosure?

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

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.