Skip to content
Access control Advisory Intermediate CVE-2024-38033

PowerShell Elevation of Privilege Vulnerability (CVE-2024-38033)

A flaw in PowerShell's handling of certain files allowed an attacker with ordinary user rights to place a malicious file and have it processed with higher privileges when a privileged user ran a command. Successful exploitation could give the attacker administrator rights.

Tom Norfolk Follow

Originally disclosed on Microsoft

High 7.3 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R) and privileges required is low (PR:L). What does that mean for this vulnerability? An authorized attacker with standard user privileges could place a malicious file and then wait for the privileged victim to run the calling command.

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploited this vulnerability could gain administrator privileges.

Windows PowerShell

Windows PowerShell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Tom Norfolk with AJ Bell. 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 software trusted a file it loaded without properly checking where it came from or who could write to it, so a low-privileged user could influence what a privileged process executed.

Impact

An attacker who exploited this could gain administrator privileges, but only if a privileged victim ran the calling command after the malicious file was placed.

What the attacker needed

Attacker has standard user access; victim runs the calling command

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 is a command-line tool built into Windows for running scripts and managing the system. Here, a normal user could leave a booby-trapped file somewhere, and if an administrator later ran a particular command, that file was handled in a way that let the attacker gain administrator powers. The catch is that the attacker cannot do it alone; they need the more powerful user to act.

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