CVE-2025-5255: TCC Bypass via Dylib Injection in Phoenix Code
The Phoenix Code's configuration on macOS, specifically the presence of entitlements: "com.apple.security.cs.allow-dyld-environment-variables" and "com.apple.security.cs.disable-library-validation" allows for Dynamic Library (Dylib) injection. A local attacker with unprivileged access can use environment variables like DYLDINSERTLIBRARIES to successfully inject code in application's context and bypass Transparency, Consent, and Control (TCC). Acquired resource access is limited to previously granted permissions by the user. Access to other resources beyond granted-permissions requires user interaction with a system prompt asking for permission.
This issue was fixed in commit 0c75fb57f89d0b7d9b180026bc2624b7dcf807da
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5255?
CVE-2025-5255 has been rated as a medium severity vulnerability due to its potential for local exploitation.
How do I fix CVE-2025-5255?
To mitigate CVE-2025-5255, ensure that the entitlements "com.apple.security.cs.allow-dyld-environment-variables" and "com.apple.security.cs.disable-library-validation" are removed from the Phoenix Code configurations.
Who is affected by CVE-2025-5255?
CVE-2025-5255 affects users of the Phoenix Code on macOS who have specific entitlements enabled.
What type of attack does CVE-2025-5255 allow?
CVE-2025-5255 allows local attackers to perform Dynamic Library (Dylib) injection exploits.
What is the impact of CVE-2025-5255?
The impact of CVE-2025-5255 is that it can lead to unauthorized code execution within the application.