CVE-2023-38604

9.8 CRITICAL

📋 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

Products:
  • watchOS
  • macOS
  • iOS
  • iPadOS
  • tvOS
Versions: Versions prior to watchOS 9.6, macOS Big Sur 11.7.9, iOS 15.7.8, iPadOS 15.7.8, macOS Monterey 12.6.8, tvOS 16.6, iOS 16.6, iPadOS 16.6, macOS Ventura 13.5
Operating Systems: Apple watchOS, Apple macOS, Apple iOS, Apple iPadOS, Apple tvOS
Default Config Vulnerable: ⚠️ Yes
Notes: All default configurations of affected Apple operating systems are vulnerable. No special configuration required for exploitation.

📦 What is this software?

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 →

⚠️ 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.

🌐 Internet-Facing: MEDIUM - While primarily requiring local app execution, internet-facing devices could be targeted through drive-by downloads or malicious updates.
🏢 Internal Only: HIGH - Internal devices are highly vulnerable as users may install untrusted apps or legitimate apps could be compromised.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

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

all

Only allow installation of apps from trusted sources like the App Store

Application Control

all

Implement 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

📤 Share & Export