CyberSecBulletin
CVE-2023-41993Exploited in the wildNVD status: Analyzed

Apple Multiple Products WebKit Code Execution

CVE-2023-41993 is a high-severity improper check for unusual or exceptional conditions vulnerability in macOS from Apple, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists versions 14, 14.0 as the first without the flaw, so updating macOS to one of those releases or later removes the exposure. CISA added it to the Known Exploited Vulnerabilities catalogue on September 25, 2023, which means attacks have been observed in the wild.

Patch now

Attackers are already exploiting this vulnerability, according to CISA.

What to do

  1. Update macOS to 14 or 14.0, whichever matches your release line, or a later version.
  2. Update iphone_os to 17.0.1 or a later version.
  3. Update ipad_os to 17.0.1 or a later version.
  4. CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
  5. Read the advisory on support.apple.com for workarounds and exact fixed builds.
  6. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
  7. Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.

Affected products and versions

VendorProductAffected versionsFixed in
ApplemacOSbefore 14; before 14.014, 14.0
Appleiphone_osbefore 17.0.117.0.1
Appleipad_osbefore 17.0.117.0.1
Fedora Projectfedora37; 38; 39Not stated
Debiandebian_linux11.0; 12.0Not stated
Oraclegraalvm20.3.13; 21.3.9Not stated
Oraclejdk1.8.0Not stated
Oraclejre1.8.0Not stated
NetAppcloud_insights_acquisition_unitall versionsNot stated
NetAppcloud_insights_storage_workload_security_agentall versionsNot stated
NetApponcommand_insightall versionsNot stated
NetApponcommand_workflow_automationall versionsNot stated
AppleiPadOSbefore 17.0.117.0.1
NetAppActive Iq Unified ManagerNot specified in the recordNot stated
WebkitgtkWebkitgtk+before 2.42.22.42.2

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
RequiredA user must take an action such as opening a file or link.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.8HighNVD
CVSS 3.18.8HighCISA (ADP)

Official description

The issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14. Processing web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited against versions of iOS before iOS 16.7.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Check for Unusual or Exceptional Conditions

The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.

How developers prevent this class of flaw

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Choose languages with features such as exception handling that force the programmer to anticipate unusual conditions that may generate exceptions. Custom exceptions may need to be developed to handle unusual business-logic conditions. Be careful not to pass sensitive exceptions back to the user (CWE-209, CWE-248).
  • Check the results of all functions that return a value and verify that the value is expected.
  • If using exception handling, catch and throw specific exceptions instead of overly-general exceptions (CWE-396, CWE-397). Catch and handle exceptions as locally as possible so that exceptions do not propagate too far up the call stack (CWE-705). Avoid unchecked or uncaught exceptions where feasible (CWE-248).

More Improper Check for Unusual or Exceptional Conditions vulnerabilities (CWE-754)

Timeline

  1. CVE record published.
  2. Added to CISA's Known Exploited Vulnerabilities catalogue.
  3. Deadline for US federal agencies to remediate, set by CISA.
  4. CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
  5. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in macOS

All macOS vulnerabilities

Recent Improper Check for Unusual or Exceptional Conditions vulnerabilities

Spotted an error? Tell us.