CVE-2023-42942

7.8 HIGH

📋 TL;DR

This CVE describes a privilege escalation vulnerability in Apple operating systems where improper symlink handling allows malicious applications to gain root privileges. The vulnerability affects multiple Apple platforms including iOS, iPadOS, macOS, watchOS, and tvOS. Users running affected versions are at risk of complete system compromise.

💻 Affected Systems

Products:
  • iOS
  • iPadOS
  • macOS
  • watchOS
  • tvOS
Versions: Versions prior to watchOS 10.1, macOS Sonoma 14.1, tvOS 17.1, iOS 16.7.2, iPadOS 16.7.2, iOS 17.1, iPadOS 17.1, macOS Ventura 13.6.1
Operating Systems: Apple iOS, Apple iPadOS, Apple macOS, Apple watchOS, Apple tvOS
Default Config Vulnerable: ⚠️ Yes
Notes: All default configurations of affected versions are vulnerable. Requires malicious app installation.

📦 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 →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system takeover with root privileges, allowing installation of persistent malware, data theft, and full control over the device.

🟠

Likely Case

Malicious app gains root access, enabling data exfiltration, surveillance, and installation of additional payloads.

🟢

If Mitigated

Limited impact with proper app vetting and sandboxing, but still significant risk if malicious app bypasses initial checks.

🌐 Internet-Facing: LOW
🏢 Internal Only: HIGH

🎯 Exploit Status

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

Exploitation requires user to install a malicious application. No public exploit code is currently available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: watchOS 10.1, macOS Sonoma 14.1, tvOS 17.1, iOS 16.7.2, iPadOS 16.7.2, iOS 17.1, iPadOS 17.1, macOS Ventura 13.6.1

Vendor Advisory: https://support.apple.com/en-us/HT213981

Restart Required: Yes

Instructions:

1. Open Settings app. 2. Navigate to General > Software Update. 3. Download and install the latest available update. 4. Restart device when prompted.

🔧 Temporary Workarounds

Restrict App Installation

all

Only install apps from trusted sources like the official App Store

Enable Gatekeeper

macOS

On macOS, ensure Gatekeeper is enabled to verify app signatures

sudo spctl --master-enable

🧯 If You Can't Patch

  • Restrict app installation to only trusted sources and official app stores
  • Implement mobile device management (MDM) policies to control app installation

🔍 How to Verify

Check if Vulnerable:

Check current OS version against affected versions list

Check Version:

iOS/iPadOS: Settings > General > About > Version. macOS: Apple menu > About This Mac > macOS version. watchOS: Watch app > General > About > Version. tvOS: Settings > General > About > Version.

Verify Fix Applied:

Verify OS version matches or exceeds patched versions listed in fix_official.patch_version

📡 Detection & Monitoring

Log Indicators:

  • Unexpected privilege escalation events
  • Processes running with unexpected root privileges

Network Indicators:

  • Unusual outbound connections from system processes

SIEM Query:

process where parent_process_name contains "App" and process_name contains "sudo" or "su"

🔗 References

📤 Share & Export