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

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

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.

JeongOh Kyea 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 JeongOh Kyea(@kkokkokye) of THEORI working with Trend Micro's Zero Day Initiative. 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 low-privileged user to redirect a privileged file write.

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 must 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 properly check who was allowed to create or use these links, so a logged-in user could trick a privileged process into overwriting an important file. This could let that user gain higher permissions 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 JeongOh Kyea

View all

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