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

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

Windows GDI mishandled objects in memory, letting an attacker who logs on and runs a crafted application read information from the system. On its own this does not give code execution, but it could be combined with another flaw to run arbitrary code.

Mateusz Jurczyk 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

There are multiple update packages available for some of the affected software. Do I need to install all the updates listed in the Affected Software table for the software? Yes. Customers should apply all updates offered for the software installed on their systems. If multiple updates apply, they can be installed in any order. Do I need to install these security updates in a particular sequence? No. Multiple updates for a given system can be applied in any sequence. I am running Office 2010, which is listed as affected software. Why am I not being offered the update? The update, KB3127958 (Ogl.dll), is not applicable to Office 2010 on Windows Vista and later versions of Windows because the vulnerable code is not present. I am being offered this update for software that is not specifically indicated as being affected in the Affected Software and Vulnerability Severity Ratings table. Why am I being offered this update? When updates address vulnerable code that exists in a component that is shared between multiple Microsoft Office products or shared between multiple versions of the same Microsoft Office product, the update is considered to be applicable to all supported products and versions that contain the vulnerable component. For example, when an update applies to Microsoft Office 2007 products, only Microsoft Office 2007 may be specifically listed in the Affected Software table. However, the update could apply to Microsoft Word 2007, Microsoft Excel 2007, Microsoft Visio 2007, Microsoft Compatibility Pack, Microsoft Excel Viewer, or any other Microsoft Office 2007 product that is not specifically listed in the Affected Software table. Furthermore, when an update applies to Microsoft Office 2010 products, only Microsoft Office 2010 may be specifically listed in the Affected Software table. However, the update could apply to Microsoft Word 2010, Microsoft Excel 2010, Microsoft Visio 2010, Microsoft Visio Viewer, or any other Microsoft Office 2010 product that is not specifically listed in the Affected Software table. For more information on this behavior and recommended actions, see Microsoft Knowledge Base Article 830335 . For a list of Microsoft Office products an update may apply to, refer to the Microsoft Knowledge Base Article associated with the specific update. Are there any prerequisites for any of the updates offered in this bulletin for affected editions of Microsoft Lync 2013 (Skype for Business)? Yes. Customers running affected editions of Microsoft Lync 2013 (Skype for Business) must first install the 2965218 update for Office 2013 released in April, 2015, and then the 3039779 security update released in May, 2015. For more information about these two prerequisite updates, see: Knowledge Base Article 2965218 Knowledge Base Article 3039779 Why is the Lync 2010 Attendee (user level install) update only available from the Microsoft Download Center? Microsoft is releasing the update for Lync 2010 Attendee (user level install) to the Microsoft Download Center only. Because the user level installation of Lync 2010 Attendee is handled through a Lync session, distribution methods such as automatic updating are not appropriate for this type of installation scenario. 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 GDI did not properly initialise or bound the memory addresses it handled, so uninitialised or out-of-range memory contents were returned to the caller.

Impact

An attacker could disclose information from the targeted system, and this could allow arbitrary code to run if combined with another vulnerability; the text does not claim code execution on its own.

What the attacker needed

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

The fix

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

GDI is the part of Windows that draws graphics and manages images in memory. A bug there meant a program could read memory it should not see, which can leak sensitive data. The attacker must already be logged in and able to run their own program, so it is not something a stranger can do over the internet.

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.