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

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

Windows GDI mishandled objects in memory, letting a logged-on attacker run a crafted application to read memory layout information. This disclosure alone does not allow code execution but could be combined with another vulnerability to enable it.

Hardik Shah Follow

Originally disclosed on Microsoft

High 4.7 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 Windows

Microsoft Windows

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Hardik Shah of McAfee. 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 validate memory addresses it returned, so uninitialised or stale memory contents could be observed.

Impact

An attacker who can log on locally could learn memory layout details; this does not by itself permit code execution but could be chained with another vulnerability to do so.

What the attacker needed

Log on to the affected system; run a crafted application locally

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.

This is a flaw in a core Windows drawing component called GDI. A person already logged in could run a small program that makes Windows reveal details about where things sit in memory. On its own that is just a leak, but paired with a second bug it could help an attacker run their own code.

What is Info disclosure?

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

More by Hardik Shah

View all

7 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.