CVE-2023-42852

8.8 HIGH

📋 TL;DR

This is a logic vulnerability in Apple's WebKit browser engine that allows arbitrary code execution when processing malicious web content. Attackers can exploit this by tricking users into visiting specially crafted websites, potentially taking full control of affected devices. All users of unpatched Apple devices with vulnerable versions are affected.

💻 Affected Systems

Products:
  • iOS
  • iPadOS
  • watchOS
  • macOS
  • Safari
  • tvOS
Versions: Versions prior to iOS 17.1, iPadOS 17.1, watchOS 10.1, iOS 16.7.2, iPadOS 16.7.2, macOS Sonoma 14.1, Safari 17.1, tvOS 17.1
Operating Systems: iOS, iPadOS, watchOS, macOS, tvOS
Default Config Vulnerable: ⚠️ Yes
Notes: All default configurations are vulnerable. The vulnerability is in WebKit, which powers Safari and other Apple web rendering components.

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

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete compromise of device with attacker gaining full control, data theft, persistence, and lateral movement within networks.

🟠

Likely Case

Malicious website executes code on victim's device, potentially stealing credentials, installing malware, or accessing sensitive data.

🟢

If Mitigated

Attack fails due to patched systems, web content filtering, or network segmentation limiting impact.

🌐 Internet-Facing: HIGH - Exploitation requires only visiting a malicious website, making internet-facing devices highly vulnerable.
🏢 Internal Only: MEDIUM - Internal users could be targeted via phishing or compromised internal websites.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires user interaction (visiting malicious website) but no authentication. No public exploit code is confirmed, but the high CVSS score suggests reliable exploitation is possible.

🛠️ Fix & Mitigation

✅ Official Fix

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

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

Restart Required: Yes

Instructions:

1. Go to Settings > General > Software Update on iOS/iPadOS/watchOS/tvOS. 2. Install the latest available update. 3. For macOS, go to System Settings > General > Software Update. 4. For Safari on older macOS versions, update through the App Store.

🔧 Temporary Workarounds

Disable JavaScript

all

Temporarily disable JavaScript in Safari to prevent exploitation, though this breaks many websites.

Safari > Settings > Security > uncheck 'Enable JavaScript'

Use Alternative Browser

macOS

Use browsers not based on WebKit (like Firefox or Chrome on macOS) until patched.

🧯 If You Can't Patch

  • Implement strict web content filtering to block malicious sites
  • Use network segmentation to isolate vulnerable devices from critical resources

🔍 How to Verify

Check if Vulnerable:

Check device version in Settings > General > About > Software Version (iOS/iPadOS/watchOS/tvOS) or Apple menu > About This Mac (macOS).

Check Version:

sw_vers (macOS), system_profiler SPSoftwareDataType (macOS), or check Settings > General > About (iOS devices)

Verify Fix Applied:

Verify version matches or exceeds patched versions listed in affected_systems.versions.

📡 Detection & Monitoring

Log Indicators:

  • Unusual Safari/WebKit process crashes
  • Suspicious website accesses in browser history
  • Unexpected process execution following web browsing

Network Indicators:

  • Connections to known malicious domains serving exploit code
  • Unusual outbound traffic from Apple devices after web browsing

SIEM Query:

source="*safari*" OR process="WebKit" AND (event="crash" OR event="unexpected_execution")

🔗 References

📤 Share & Export