Skip to content
RCE Advisory Advanced CVE-2020-1285

GDI+ Remote Code Execution Vulnerability (CVE-2020-1285)

The Windows Graphics Device Interface (GDI) mishandled objects in memory, allowing a crafted website or document to trigger a remote code execution flaw. An attacker who exploited it could take control of the affected system, install programs, view or change data, or create accounts with full user rights.

0xfff Follow

Originally disclosed on Microsoft

Critical 8.4 View original

Description

A remote code execution vulnerability exists in the way that the Windows Graphics Device Interface (GDI) handles objects in the memory. An attacker who successfully exploited this vulnerability could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. There are multiple ways an attacker could exploit the vulnerability: In a web-based attack scenario, an attacker could host a specially crafted website that is designed to exploit the vulnerability and then convince users to view the website. An attacker would have no way to force users to view the attacker-controlled content. Instead, an attacker would have to convince users to take action, typically by getting them to open an email attachment or click a link in an email or instant message. In a file-sharing attack scenario, an attacker could provide a specially crafted document file that is designed to exploit the vulnerability, and then convince users to open the document file. The security update addresses the vulnerability by correcting the way that the Windows GDI handles objects in the memory.

Microsoft Graphics Component

Microsoft Graphics Component

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by 0xfff. 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 a memory handling flaw in how Windows GDI processes objects, such as a buffer or object lifetime error, though the text does not name the specific mistake.

Impact

An attacker could take control of the affected system and install programs, view, change or delete data, or create accounts with full user rights; users with fewer rights could be less impacted.

What the attacker needed

Victim opens a crafted file or link; user runs Windows GDI

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.

GDI is a part of Windows that draws images and text on screen. This bug meant that a malicious image or document could make that drawing code misbehave in memory, and the attacker could then run their own code on the computer. The victim has to be persuaded to open the file or visit the page, so it is not automatic.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by 0xfff

View all

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

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.