CVE-2023-38604
📋 TL;DR
This is a critical kernel privilege escalation vulnerability in Apple operating systems. An out-of-bounds write allows malicious apps to execute arbitrary code with kernel privileges, potentially taking full control of affected devices. All users of unpatched Apple devices are affected.
💻 Affected Systems
- watchOS
- macOS
- iOS
- iPadOS
- tvOS
📦 What is this software?
Ipados by Apple
Ipados by Apple
Macos by Apple
macOS is Apple's desktop and laptop operating system powering Mac computers used by millions of professionals, developers, creative professionals, and enterprise users worldwide. Built on a Unix foundation with the Darwin kernel and modern Cocoa frameworks, macOS delivers a seamless ecosystem integr...
Learn more about Macos →Macos by Apple
macOS is Apple's desktop and laptop operating system powering Mac computers used by millions of professionals, developers, creative professionals, and enterprise users worldwide. Built on a Unix foundation with the Darwin kernel and modern Cocoa frameworks, macOS delivers a seamless ecosystem integr...
Learn more about Macos →Macos by Apple
macOS is Apple's desktop and laptop operating system powering Mac computers used by millions of professionals, developers, creative professionals, and enterprise users worldwide. Built on a Unix foundation with the Darwin kernel and modern Cocoa frameworks, macOS delivers a seamless ecosystem integr...
Learn more about Macos →Tvos by Apple
Watchos by Apple
⚠️ Risk & Real-World Impact
Worst Case
Complete system compromise with kernel-level access, allowing attackers to install persistent malware, steal all data, and bypass all security controls.
Likely Case
Malicious apps from untrusted sources could gain full system control, leading to data theft, surveillance, or ransomware deployment.
If Mitigated
With proper app vetting and security controls, risk is reduced but not eliminated as legitimate apps could be compromised.
🎯 Exploit Status
Exploitation requires a malicious app to be installed and executed on the target device. No authentication bypass is needed once app is installed.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: watchOS 9.6, macOS Big Sur 11.7.9, iOS 15.7.8 and iPadOS 15.7.8, macOS Monterey 12.6.8, tvOS 16.6, iOS 16.6 and iPadOS 16.6, macOS Ventura 13.5
Vendor Advisory: https://support.apple.com/en-us/HT213841
Restart Required: Yes
Instructions:
1. Go to Settings > General > Software Update on iOS/iPadOS/tvOS/watchOS. 2. Go to System Preferences > Software Update on macOS. 3. Download and install the latest available update. 4. Restart the device when prompted.
🔧 Temporary Workarounds
Restrict App Installation
allOnly allow installation of apps from trusted sources like the App Store
Application Control
allImplement application allowlisting to prevent unauthorized app execution
🧯 If You Can't Patch
- Isolate affected devices from critical networks and sensitive data
- Implement strict application control policies and monitor for suspicious app installations
🔍 How to Verify
Check if Vulnerable:
Check current OS version against affected versions list. On iOS/iPadOS: Settings > General > About > Version. On macOS: Apple menu > About This Mac > macOS version.
Check Version:
On macOS: sw_vers -productVersion. On iOS/iPadOS: Not available via command line, use Settings app.
Verify Fix Applied:
Verify OS version matches or exceeds patched versions listed in fix_official.patch_version
📡 Detection & Monitoring
Log Indicators:
- Unexpected kernel extensions loading
- Suspicious app installation events
- Privilege escalation attempts in system logs
Network Indicators:
- Connections to known malicious domains after app installation
- Unusual outbound traffic from system processes
SIEM Query:
source="apple_system_logs" AND (event="kernel_extension_load" OR event="privilege_escalation") AND status="failed" OR status="success"
🔗 References
- https://support.apple.com/en-us/HT213841
- https://support.apple.com/en-us/HT213842
- https://support.apple.com/en-us/HT213843
- https://support.apple.com/en-us/HT213844
- https://support.apple.com/en-us/HT213845
- https://support.apple.com/en-us/HT213846
- https://support.apple.com/en-us/HT213848
- https://support.apple.com/kb/HT213841
- https://support.apple.com/kb/HT213842
- https://support.apple.com/kb/HT213843
- https://support.apple.com/kb/HT213844
- https://support.apple.com/kb/HT213845
- https://support.apple.com/kb/HT213846
- https://support.apple.com/kb/HT213848
- https://support.apple.com/en-us/HT213841
- https://support.apple.com/en-us/HT213842
- https://support.apple.com/en-us/HT213843
- https://support.apple.com/en-us/HT213844
- https://support.apple.com/en-us/HT213845
- https://support.apple.com/en-us/HT213846
- https://support.apple.com/en-us/HT213848
- https://support.apple.com/kb/HT213841
- https://support.apple.com/kb/HT213842
- https://support.apple.com/kb/HT213843
- https://support.apple.com/kb/HT213844
- https://support.apple.com/kb/HT213845
- https://support.apple.com/kb/HT213846
- https://support.apple.com/kb/HT213848