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

Windows Elevation of Privilege Vulnerability (CVE-2019-0841)

Windows AppX Deployment Service improperly handles hard links, allowing an attacker who logs on to run a crafted application and execute processes in an elevated context. This could let the attacker install programs and view, change or delete data.

Wenxu Wu Follow

Originally disclosed on Microsoft

High 6.8 View original

Description

An elevation of privilege vulnerability exists when Windows AppX Deployment Service (AppXSVC) improperly handles hard links. An attacker who successfully exploited this vulnerability could run processes in an elevated context. An attacker could then install programs; view, change or delete data. 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 AppX Deployment Service handles hard links.

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by Wenxu Wu (@ma7h1as) of Tencent Security Xuanwu Lab. 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 AppX Deployment Service does not properly validate or restrict the use of hard links, allowing a low-privileged user to manipulate file system objects in a way that leads to elevated code execution.

Impact

An attacker could run processes in an elevated context, install programs, and view, change or delete data, potentially taking 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 the AppX Deployment Service 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.

This is a flaw in a Windows background service that manages app packages. Because it mishandles a type of file shortcut called a hard link, someone already logged in could run a program that gains higher permissions than they should have, potentially taking control of the computer.

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 Wenxu Wu

View all

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