APFS: A malicious app with root privileges may be able to modify the contents of system files (CVE-2024-40825)
A flaw in APFS allowed a malicious app with root privileges to modify system files. The issue was fixed with improved checks.
Originally disclosed on Apple
Impact: A malicious app with root privileges may be able to modify the contents of system files
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)
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 missing or insufficient validation in APFS that allowed a root-privileged process to alter protected system files.
What the attacker needed
Root privileges on the device
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 that a harmful program, if it already had the highest level of permission on the computer (called root), could change important system files. Apple fixed the problem by adding better checks.
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.