Microsoft Intune Linux Agent Elevation of Privilege Vulnerability (CVE-2024-26201)
A local attacker on a Linux device managed by Intune could modify a custom compliance script after it was written to temporary storage but before it finished running. This let them view restricted information inside the script and tamper with its results, bypassing the compliance checks those scripts enforce.
FAQ
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of the vulnerability requires a user to modify a custom compliance script on the device after it is written to temporary storage and before execution of the script finishes.
FAQ
According to the CVSS metrics, successful exploitation of this vulnerability could lead to major loss of confidentiality (C:H) and integrity (I:H) but not availability (A:N). What does that mean for this vulnerability? This vulnerability could allow an attacker to view potentially restricted information inside of a custom compliance script and tamper with the results of the scripts, but does not allow the attacker to make any other parts of the Intune service unavailable
FAQ
What privileges could an attacker gain by successful exploiting this vulnerability? An attacker who successfully exploited this vulnerability could alter the results of a custom compliance script, bypassing compliance checks enforced by these scripts.
Microsoft Intune
Microsoft Intune
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 compliance script was written to a temporary location that a local user could modify before it was executed, with no protection against tampering in that window.
Impact
An attacker could view potentially restricted information inside the script and alter its results to bypass compliance checks, but could not affect availability of other Intune services.
What the attacker needed
Local access to a managed Linux device; a custom compliance script is configured
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.
Intune is a tool companies use to check that devices follow their rules. On Linux it runs small scripts to test compliance, and those scripts are briefly saved as temporary files. The flaw is that someone with access to the device can change the file in that short window, so the check reports what they want instead of the truth.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.