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

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

A flaw in macOS XProtect allowed an app to modify protected parts of the file system. The issue was addressed with improved checks.

Koh M. Nakagawa Follow

Originally disclosed on Apple

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

Description: The 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 Koh M. Nakagawa (@tsunek0h). 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 insufficient validation in XProtect allowed an app to bypass file system protections.

What the attacker needed

Local app execution

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 security update notice from Apple. It says a bug in a built-in protection tool (XProtect) could let a malicious app change files that are normally locked down. Apple fixed it by adding better checks, but the notice does not explain how the bug worked.

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 Koh M. Nakagawa

View all

1 more disclosed report, 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.