Skip to content
Access control Advisory Advanced CVE-2022-41076

PowerShell Remote Code Execution Vulnerability (CVE-2022-41076)

An authenticated user could escape the PowerShell Remoting Session Configuration and run unapproved commands on the target system. Exploitation required the attacker to prepare the target environment beforehand.

Rskvp93 Follow

Originally disclosed on Microsoft

Critical 8.5 View original

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to take additional actions prior to exploitation to prepare the target environment.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Any authenticated user could trigger this vulnerability. It does not require admin or other elevated privileges.

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? An authenticated attacker could escape the PowerShell Remoting Session Configuration and run unapproved commands on the target system.

Windows PowerShell

Windows PowerShell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by rskvp93 , Q5Ca and nxhoang99 with VcsLab of Viettel Cyber Security. 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

Impact

An authenticated attacker could run unapproved commands on the target system, but only after taking additional actions to prepare the target environment.

What the attacker needed

Authenticated user account; attacker prepares the target environment

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.

PowerShell Remoting lets administrators run commands on another Windows machine, and a session configuration is meant to limit which commands a user is allowed to run. This flaw let a logged-in user break out of those limits and run commands that should have been blocked. The catch is that the attacker first had to do some preparation on the target, which makes it harder than a simple one-click attack.

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 Rskvp93

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.