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

Windows UPnP Service Elevation of Privilege Vulnerability (CVE-2019-1405)

The Windows UPnP service improperly allows COM object creation, enabling an attacker who can log on to run arbitrary code with elevated system privileges. The attacker could then install programs, view or change data, or create new accounts with full user rights.

Edward Torkington Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

An elevation of privilege vulnerability exists when the Windows Universal Plug and Play (UPnP) service improperly allows COM object creation. 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 script or application. The update addresses the vulnerability by correcting how the Windows UPnP service accesses COM objects.

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by Edward Torkington and Phillip Langlois of NCC Group. 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 UPnP service does not properly restrict which COM objects can be created, allowing a logged-on user to instantiate a privileged object and execute code as SYSTEM.

Impact

An attacker who can log on could run arbitrary code with elevated system privileges, potentially installing programs, viewing or changing data, or creating new accounts with full user rights.

What the attacker needed

Attacker can log on to the affected system

The fix

The update addresses the vulnerability by correcting how the Windows UPnP service accesses COM objects.

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 helps devices discover each other on a network. Because the service mishandles how it creates certain internal software components, someone who can already log in to the computer could run their own code with the highest level of permission, called system privileges. That means they could 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 Edward Torkington

View all

1 more disclosed report, 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.