Cloudanix VulnDB

CVE-2023-28206

High · 8.6 CISA KEV

CVSS

8.6

EPSS

23.2%

Published

Apr 10, 2023

CISA due date

May 1, 2023

Cloudanix analysis

Act now SSVC: Attend

A malicious app could take complete control of an unpatched Apple device, so affected iPhones, iPads, and Macs should be updated immediately.

Active In The Wild Chainable
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Privilege Gain
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

CVE-2023-28206 is an out-of-bounds write vulnerability in Apple operating systems associated with IOSurfaceAccelerator. A malicious application can trigger memory corruption and execute arbitrary code with kernel privileges. Because kernel-level execution bypasses normal application sandboxing and privilege boundaries, successful exploitation can provide full control over the affected device, including access to sensitive data, persistence mechanisms, security controls, and other applications' memory or files.

Why it matters to the business

Successful exploitation can lead to full compromise of affected iPhones, iPads, and Macs, including theft of business data, surveillance of users, tampering with device security controls, and loss of trust in managed endpoints. Apple reported active exploitation, and the vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog with a remediation due date of 2023-05-01, making it a high-priority issue for organizations with Apple fleets. Although it is not specifically associated with ransomware in KEV data, kernel compromise can enable follow-on malware, credential theft, and persistence that materially increases operational and regulatory risk.

How an attack unfolds

An attacker typically needs code execution in the context of a local application or a delivery path that convinces a user to install or interact with a malicious app or payload. The malicious code invokes vulnerable IOSurfaceAccelerator functionality with crafted inputs that trigger an out-of-bounds write. By shaping memory layout, the attacker corrupts kernel memory in a controlled way, redirects execution, and runs attacker-controlled code with kernel privileges. Once kernel privileges are obtained, the attacker can escape application sandbox restrictions, disable or evade security protections, access protected data, install persistence, or deploy additional surveillance or malware components. Apple stated that this issue may have been actively exploited, so defenders should assume that targeted exploitation against high-value users was plausible before patches were applied.

How to fix it

Upgrade all affected Apple devices to a fixed operating system version or later: iOS 16.4.1 or later, iPadOS 16.4.1 or later, iOS 15.7.5 or later for supported older devices, iPadOS 15.7.5 or later for supported older devices, macOS Ventura 13.3.1 or later, macOS Monterey 12.6.5 or later, and macOS Big Sur 11.7.6 or later. Prioritize internet-exposed, executive, administrative, developer, security, and high-risk user devices. Where immediate patching is not possible, restrict installation of untrusted applications, enforce MDM compliance policies, remove unsupported devices from sensitive access, limit local administrative privileges on macOS, and increase monitoring for suspicious app execution, profile changes, and endpoint protection tampering. Devices that cannot be upgraded to a fixed version should be considered high risk and replaced or isolated from sensitive services.

How to confirm the fix worked

Confirm device OS versions through MDM inventory, endpoint management tooling, or local system checks. For iPhone and iPad, verify the device is running iOS/iPadOS 16.4.1 or later, or 15.7.5 or later where applicable. For macOS, verify Ventura 13.3.1 or later, Monterey 12.6.5 or later, or Big Sur 11.7.6 or later. Validate that update installation completed successfully and that devices have rebooted where required. Review MDM compliance policies to ensure vulnerable versions are blocked from accessing sensitive resources. For representative systems, confirm kernel and OS build numbers match Apple's patched releases or newer. If a device remains on an unsupported release train with no available patch, treat it as unremediated.

Typical attack path

  1. Identify an affected iOS, iPadOS, or macOS device running a vulnerable version.
  2. Deliver or execute a malicious application or payload on the target device, often through social engineering, chained exploitation, or a compromised app-like component.
  3. Invoke the vulnerable IOSurfaceAccelerator code path with specially crafted input.
  4. Trigger the out-of-bounds write to corrupt kernel memory.
  5. Exploit the corrupted memory state to gain arbitrary code execution with kernel privileges.
  6. Bypass sandbox and operating system security controls.
  7. Access sensitive data, monitor activity, modify system state, install persistence, or stage additional malware.

How to detect it

To determine whether exploitation may have already occurred, collect and review Apple endpoint telemetry, MDM records, unified logs, EDR alerts, crash reports, installation history, and configuration profile changes from devices that were running vulnerable versions before patching. Focus on unexplained crashes or panic logs involving IOSurfaceAccelerator or IOSurface components, suspicious newly installed applications, unsigned or unusual binaries on macOS, unexpected entitlement usage, abnormal kernel extension or system extension activity, endpoint protection disablement, new launch agents or daemons, unexpected configuration profiles, and signs of sandbox escape or privilege escalation. On macOS, review Unified Logs, /Library/Logs/DiagnosticReports, /Library/Logs/CrashReporter, system extension inventories, persistence locations, and EDR process trees around the time suspicious apps executed. On iOS and iPadOS, use MDM, Apple device analytics, mobile threat defense telemetry, sysdiagnose captures where available, app inventory changes, and profile installation records. Because this is a kernel memory corruption issue reportedly exploited in the wild, absence of obvious logs does not prove absence of compromise; prioritize forensic review of high-value devices that were vulnerable during the exposure period.

  • IOSurfaceAccelerator
  • IOSurface
  • /Library/Logs/DiagnosticReports/
  • /Library/Logs/CrashReporter/
  • panic-full
  • Kernel panic
  • EXC_BAD_ACCESS
  • out-of-bounds
  • /Library/LaunchAgents/
  • /Library/LaunchDaemons/
  • ~/Library/LaunchAgents/
  • /Library/Extensions/
  • /Library/SystemExtensions/
  • profiles install
  • systemextensionsctl
  • spctl --master-disable

What your security team should do

  • Treat this as an urgent patching item because Apple reported active exploitation and CISA added it to the KEV catalog with a 2023-05-01 remediation deadline.
  • Inventory all iOS, iPadOS, and macOS assets and identify devices below iOS/iPadOS 16.4.1, iOS/iPadOS 15.7.5, macOS Ventura 13.3.1, macOS Monterey 12.6.5, or macOS Big Sur 11.7.6.
  • Force operating system updates through MDM where feasible and block access to sensitive applications from noncompliant devices.
  • Prioritize high-risk users and devices, including executives, administrators, developers, security personnel, and users handling regulated or sensitive data.
  • Investigate devices that were vulnerable during the active-exploitation window for signs of suspicious app execution, unusual profiles, endpoint security tampering, crashes involving IOSurfaceAccelerator, or unexplained privilege escalation.
  • Restrict installation of untrusted or unmanaged applications and review MDM policies for sideloading, developer mode, configuration profiles, and local admin rights on macOS.
  • Replace or isolate devices that cannot receive the fixed Apple versions.
  • Keep detection expectations realistic: kernel-level mobile and macOS exploitation can leave limited forensic evidence, so patch status and endpoint telemetry are critical.

The record

An out-of-bounds write issue was addressed with improved input validation. This issue is fixed in macOS Monterey 12.6.5, iOS 16.4.1 and iPadOS 16.4.1, macOS Ventura 13.3.1, iOS 15.7.5 and iPadOS 15.7.5, macOS Big Sur 11.7.6. An app may be able to execute arbitrary code with kernel privileges. Apple is aware of a report that this issue may have been actively exploited.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities