Migraine: interpreter environment inherits SIP bypass
The SIP-exempt migration daemon starts Perl and Bash children with ambient launchd environment variables, allowing an attacker who already has root code execution to inject interpreter startup behavior into a child that inherits the daemon's filesystem bypass.
- Product
- macOS systemmigrationd
- Vendor
- Apple
- Affected
- macOS Big Sur releases before 11.7.7, macOS Monterey releases before 12.6.6, and macOS Ventura releases before 13.4
- Fixed in
- macOS Big Sur 11.7.7, macOS Monterey 12.6.6, and macOS Ventura 13.4
- Weakness
- CWE-15
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
- Published
- 23 Jun 2023
Classified as
References
Related CVEs
- CVE-2022-42821medium 5.52022
Achilles: AppleDouble ACL blocks quarantine assignment
A crafted AppleDouble companion restores a restrictive ACL onto an extracted application, preventing the com.apple.quarantine marker from being assigned and leaving Gatekeeper without the state that would trigger its checks.
- CVE-2021-30970medium 5.52021
powerdir: mutable home directory redirects the TCC database
The macOS privacy daemon derives a user's TCC database path from the Directory Services home-directory record, allowing a local attacker to redirect that trusted lookup to a prepared database under an attacker-controlled home.
- CVE-2021-30892medium 5.52021
Shrootless: inherited SIP entitlement through zsh startup
The privileged macOS installer launches zsh for signed-package scripts with a heritable SIP-bypass entitlement, while zsh automatically executes the globally writable-at-root /etc/zshenv startup file.