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

XProtect: An app may be able to access user-sensitive data (CVE-2024-40842)

An app could access user-sensitive data because environment variables were not properly validated. The issue was addressed with improved validation of environment variables.

Gergely Kalman Follow

Originally disclosed on Apple

Impact: An app may be able to access user-sensitive data

Description: An issue was addressed with improved validation of environment variables.

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 Gergely Kalman (@gergely_kalman). 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

Impact

An app may be able to access user-sensitive data.

What the attacker needed

Local app on affected macOS

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.

Environment variables are settings that programs use to find files or configure behaviour. If an app can change or misuse these settings, it might read data it should not be able to see. This update makes the system check those settings more carefully.

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 Gergely Kalman

View all

12 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.