CVE-2023-42824
High · 7.8 CISA KEVCVSS
7.8
EPSS
1.0%
Published
Oct 4, 2023
CISA due date
Oct 26, 2023
Cloudanix analysis
An attacker who already gets limited access to a vulnerable device may be able to take much greater control of it, so affected systems should be updated immediately.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
CVE-2023-42824 is a local privilege escalation flaw caused by insufficient security checks. An attacker who already has local code execution or low-privileged access can elevate privileges to a higher-privileged context, potentially gaining broad control over the device or affected component. For iOS and iPadOS, this type of flaw is especially serious because it can be chained with an initial compromise to escape application sandboxing, access protected data, disable security controls, or run privileged code. Apple reported active exploitation against iOS versions before 16.6. The supplied package metadata also identifies 389-ds-base on Debian 13 as affected, with a fixed package version available.
Why it matters to the business
Successful exploitation can turn an initial foothold into full device or service compromise, enabling theft of sensitive data, surveillance, tampering, persistence, or disruption of normal operations. Because this vulnerability is in CISA KEV, has confirmed exploitation in the wild, and the CISA remediation deadline of 2023-10-26 has long passed, unpatched systems should be treated as high-priority exposure even though the EPSS score is relatively low. Organizations using affected mobile devices or affected downstream packages should prioritize remediation, especially for executive, administrative, developer, and other high-value users.
How an attack unfolds
An attacker first obtains a local execution context, commonly through a malicious app, a separate browser/message exploit, physical access, or another vulnerability that provides low-privileged code execution. The attacker then triggers the vulnerable code path where security checks are insufficient, causing the operating system or affected component to grant privileges beyond what the attacker should have. On iOS or iPadOS, this can allow the attacker to escape sandbox boundaries and execute code with elevated privileges, which may then be used to access protected files, collect credentials or tokens, install additional payloads, tamper with device security settings, or maintain covert access. Apple has stated that the issue may have been actively exploited against iOS versions before 16.6, making post-compromise review important for devices that were exposed during the exploitation window.
How to fix it
Upgrade affected Apple devices to iOS 16.7.1, iPadOS 16.7.1, or later supported releases. Where newer major releases are available and supported, upgrade to the latest iOS or iPadOS version rather than only the minimum fixed version. For the supplied Debian package metadata, update 389-ds-base on Debian 13 to 2.3.4+dfsg1-1 or later. If immediate patching is not possible, reduce risk by restricting installation of untrusted applications, limiting access for high-risk users, enforcing MDM compliance policies, removing unknown configuration profiles, disabling sideloading where applicable, and prioritizing patching for high-value and externally exposed administrative users. Because this vulnerability is KEV-listed and actively exploited, compensating controls should be treated as temporary only.
How to confirm the fix worked
Confirm Apple device remediation by verifying the installed iOS or iPadOS version is 16.7.1 or later, or another vendor-supported release that includes the fix. Validate through MDM inventory, device settings, or fleet compliance reporting. Confirm Debian remediation by checking the installed 389-ds-base package version and ensuring it is 2.3.4+dfsg1-1 or later. Review vulnerability scanner results after patching and ensure the scanner is using current advisories. For mobile fleets, also validate that no devices remain on iOS versions before 16.6, since Apple reported exploitation against those versions. Where high-risk devices were previously vulnerable, consider forensic triage rather than relying only on version validation.
Typical attack path
- Identify a target running a vulnerable version, especially iOS or iPadOS before the fixed releases or affected packaged software that has not been updated.
- Gain local or low-privileged execution through a malicious app, physical access, social engineering, or a separate exploit chain.
- Invoke the vulnerable privilege escalation path that lacks sufficient checks.
- Elevate privileges to access protected resources or execute privileged code.
- Disable or bypass security controls, collect sensitive data, install follow-on tooling, or maintain persistence where the platform permits.
- Remove obvious artifacts or rely on limited mobile telemetry to reduce detection.
How to detect it
There are no broadly reliable public exploit indicators for this vulnerability, so detection should focus on exposure history, mobile forensic artifacts, and signs of post-exploitation behavior. Use MDM, mobile threat defense, EDR, vulnerability scanners, and asset inventory to identify devices that ran vulnerable iOS or iPadOS versions, especially versions before 16.6, during the period of active exploitation. Review Apple unified logs, sysdiagnose collections, panic and crash logs, application installation history, configuration profile changes, VPN/proxy changes, developer mode or sideloading activity, and unusual entitlement or sandbox-related failures around suspicious time windows. Look for unknown apps, unsigned or enterprise-signed apps, unexpected configuration profiles, unexplained device crashes, abnormal battery/network activity, and connections to unfamiliar infrastructure. Correlate with identity logs for suspicious logins, token refreshes, MFA changes, mailbox access, cloud storage access, or administrative activity following mobile device exposure. For Debian package exposure, review package manager logs and service logs to confirm vulnerable versions were present and whether unexpected local account activity, privilege changes, service restarts, or suspicious child processes occurred before remediation.
What your security team should do
- Treat unpatched affected assets as urgent because the vulnerability is KEV-listed and has confirmed exploitation in the wild.
- Patch or upgrade Apple devices to iOS/iPadOS 16.7.1 or later, and update Debian 13 389-ds-base packages to 2.3.4+dfsg1-1 or later where applicable.
- Prioritize executive, administrator, developer, security, legal, and other high-value users for immediate mobile device inventory and remediation.
- Use MDM or endpoint inventory to identify devices that were running iOS versions before 16.6 during or after the public exploitation period.
- Perform targeted forensic review of high-risk devices that were vulnerable before patching, especially where suspicious apps, profiles, crashes, or account activity are present.
- Restrict untrusted application installation, enforce device compliance, and remove unknown configuration profiles or unmanaged VPN/proxy settings.
- Monitor for abnormal authentication, token reuse, mailbox access, cloud access, and administrative actions from accounts associated with previously vulnerable devices.
- Document KEV remediation status and exception handling because the CISA due date has passed.
The record
The issue was addressed with improved checks. This issue is fixed in iOS 16.7.1 and iPadOS 16.7.1. A local attacker may be able to elevate their privileges. Apple is aware of a report that this issue may have been actively exploited against versions of iOS before iOS 16.6.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|