CVE-2024-7915 macOS Sensei Mac Cleaner Local Privilege Escalation via PID Reuse - Race Condition Attack
A local attacker can exploit a PID reuse race condition in Sensei Mac Cleaner to impersonate a legitimate client and execute arbitrary code as root.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-7915?
CVE-2024-7915 is a high-severity vulnerability in Sensei Mac Cleaner, published on 25 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The application Sensei Mac Cleaner contains a local privilege escalation vulnerability, allowing an attacker to perform multiple operations as the root user. These operations include arbitrary file deletion and writing, loading and unloading daemons, manipulating file permissions, and loading extensions, among other actions.
The vulnerable module org.cindori.SenseiHelper can be contacted via XPC. While the module performs client validation, it relies on the client's PID obtained through the public processIdentifier property of the NSXPCConnection class. This approach makes the module susceptible to a PID Reuse Attack, enabling an attacker to impersonate a legitimate client and send crafted XPC messages to invoke arbitrary methods exposed by the HelperProtocol interface.
Weakness: CWE-863
Which versions are affected by CVE-2024-7915?
How do I fix CVE-2024-7915?
No fix has been published for CVE-2024-7915 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-7915 being exploited?
There is no known exploitation of CVE-2024-7915 in the wild and no public exploit code.
Sources
Also known as GHSA-vgfw-cgxj-f63c.