Skip to content
Access control Advisory Advanced CVE-2024-38089

Microsoft Defender for IoT Elevation of Privilege Vulnerability (CVE-2024-38089)

Microsoft Defender for IoT contained an elevation of privilege flaw that let an attacker escape the AppContainer sandbox and impersonate a non-AppContainer token. By escaping the sensor-app docker container, an attacker could run commands on the host and potentially take control of the system.

Siemens Energy Follow

Originally disclosed on Microsoft

High 9.1 View original

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploited this vulnerability would gain the ability to escape the AppContainer and impersonate a non-AppContainer token.

FAQ

According to the CVSS metric, successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? In this case, a successful attack could be performed from a low privilege AppContainer . The attacker could elevate their privileges and execute code or access resources at a higher integrity level than that of the AppContainer execution environment.

FAQ

How could an attacker exploit this vulnerability? An attacker could exploit the vulnerability by escaping the sensor-app docker container (which is running the web application) and running commands on the host. This would allow them to enter any other containers and potentially gain control over the system.

Microsoft Defender for IoT

Microsoft Defender for IoT

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Siemens Energy. 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 a flaw in the AppContainer isolation boundary allowed a low-privilege process to escape the container and impersonate a higher-privilege token.

Impact

An attacker with low privileges in the AppContainer could elevate to a higher integrity level, escape the sensor-app docker container, run commands on the host and potentially gain control over the system.

What the attacker needed

Low privilege AppContainer access

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.

A sandbox is a restricted environment meant to keep code contained, like a playpen. Here the playpen could be broken out of, so someone with only low-level access inside it could act as a more powerful user on the underlying machine. That could let them reach other containers and the host itself.

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 Siemens Energy

View all

2 more disclosed reports, 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.