Skip to content
Access control Advisory Advanced CVE-2020-1393

Windows Diagnostics Hub Elevation of Privilege Vulnerability (CVE-2020-1393)

The Windows Diagnostics Hub Standard Collector Service failed to properly sanitise input, leading to an insecure library-loading behaviour. An attacker who logged on and ran a crafted application could execute arbitrary code with elevated system privileges.

zhiniang peng Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

An elevation of privilege vulnerability exists when the Windows Diagnostics Hub Standard Collector Service fails to properly sanitize input, leading to an unsecure library-loading behavior. An attacker who successfully exploited this vulnerability could run arbitrary code with elevated system privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. 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 the Windows Diagnostics Hub Standard Collector Service sanitizes input, to help preclude unintended elevated system privileges.

Microsoft Windows

Microsoft Windows

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Zhiniang Peng (@edwardzpeng) and Fangming Gu (@afang5472). 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 service did not validate or sanitise input before using it to decide which library to load, allowing an attacker to influence the library path.

Impact

An attacker could run arbitrary code with elevated system privileges, then install programs, view, change, or delete data, or create new accounts with full user rights.

What the attacker needed

Attacker logs on to the system; attacker runs a crafted application

The fix

The vulnerability was fixed by a security update that corrects how the service sanitises input.

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 Windows background service that loads libraries (helper code files) without checking the input properly. A person already logged on to the computer could run a small program that tricks the service into loading the wrong library, and because the service runs with high permissions, that program could then take full control of the machine.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by zhiniang peng

View all

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

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.