Skip to content
RCE Advisory Advanced CVE-2022-35841

Windows Enterprise App Management Service Remote Code Execution Vulnerability (CVE-2022-35841)

The Windows Enterprise App Management service exposed a COM class that allowed an authenticated attacker to install arbitrary services running with SYSTEM privileges. This could result in remote code execution.

Ceri Coburn Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

How could an attacker exploit this vulnerability? The Enterprise App Management service exposes a COM class that could allow an authenticated attacker to install arbitrary SYSTEM services that run with SYSTEM privileges, which could result in remote code execution.

Windows Enterprise App Management

Windows Enterprise App Management

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Ceri Coburn with Pen Test Partners. 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 COM class exposed by the Enterprise App Management service did not properly restrict who could use it to create services with SYSTEM privileges.

Impact

An authenticated attacker could install arbitrary SYSTEM services, potentially leading to remote code execution.

What the attacker needed

Authenticated attacker

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. An attacker who already has a normal user account on the machine could abuse a special programming interface to create a new service that runs with the highest system rights, letting them run their own code. They would need to be logged in first.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.