Windows Hard Link Elevation of Privilege Vulnerability (CVE-2020-0896)
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.
Originally disclosed on Microsoft
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
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 file that should be protected.
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
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 is allowed to create or use these links, so a logged-in user could trick the system into overwriting a file that only an administrator should be able to change. This could let that 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.