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

Windows Hard Link Elevation of Privilege Vulnerability (CVE-2020-0849)

Windows improperly handles hard links, allowing an attacker who is already logged on to run a crafted application that overwrites a targeted file and gains elevated privileges. The security update corrects how Windows handles hard links.

zhiniang peng Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

An elevation of privilege vulnerability exists when Windows improperly handles hard links. An attacker who successfully exploited this vulnerability could overwrite a targeted file leading to an elevated status. To exploit this vulnerability, an attacker would first have to log on to the system. An attacker could then run a specially crafted application that could exploit the vulnerability and take control of an affected system. The security update addresses the vulnerability by correcting how Windows handles hard links.

Microsoft Windows

Microsoft Windows

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Zhiniang Peng ( @edwardzpeng ) of Qihoo 360 Core security & Xuefeng Li. 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, Windows did not properly validate or restrict hard link operations, allowing a logged-on user to overwrite a targeted file and escalate privileges.

Impact

An attacker who can log on to the system could run a crafted application to overwrite a targeted file and take control of the affected system.

What the attacker needed

Attacker can log on to the system

The fix

The vulnerability was fixed by a security update that corrects how Windows handles hard links.

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.

A hard link is a way for two file names to point to the same file data on disk. Windows did not handle some hard link operations safely, so a logged-in user could run a program that overwrites a file it should not be able to change. That could let the user gain higher privileges on 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

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