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.
Originally disclosed on Microsoft
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
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.