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

sudo: An app may be able to modify protected parts of the file system (CVE-2024-40860)

A logic issue in sudo on macOS allowed an app to modify protected parts of the file system. The text does not describe the mechanism or the attacker's exact steps.

Arsenii Kostromin Follow

Originally disclosed on Apple

Impact: An app may be able to modify protected parts of the file system

Description: A logic issue was addressed with improved checks.

Available for: Mac Studio (2022 and later), iMac (2019 and later), Mac Pro (2019 and later), Mac mini (2018 and later), MacBook Air (2020 and later), MacBook Pro (2018 and later), and iMac Pro (2017 and later)

The original report as published on Apple's security release notes, by Arsenii Kostromin (0x3c3e). Images and videos are our own copies; raw HTML is shown as text. View it on Apple's security release notes.

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 logic error in sudo's permission checks that failed to properly restrict file system modifications.

What the attacker needed

MacOS device; malicious app installed

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 short security notice about a flaw in sudo, a program that lets users run commands with higher privileges. The flaw was a logic mistake that could let a malicious app change files that are normally protected. The notice does not explain how the attack works.

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 Arsenii Kostromin

View all

7 more disclosed reports, best first.

More from Apple

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.