CyberSecBulletin
CVE-2022-20866NVD status: Modified

Cisco Adaptive Security Appliance (ASA) Software: Observable Discrepancy

CVE-2022-20866 is a high-severity observable discrepancy vulnerability in Cisco Adaptive Security Appliance (ASA) Software from Cisco, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 18.2% chance of exploitation within 30 days, which is in the top 2.74% of all scored CVEs.

Patch this week

EPSS places it among the vulnerabilities most likely to be exploited soon.

What to do

  1. Update Adaptive Security Appliance Software to 9.16.3.19 or 9.17.1.13 or 9.18.2, whichever matches your release line, or a later version.
  2. Update Secure Firewall Threat Defense to 7.0.4 or 7.2.0.1, whichever matches your release line, or a later version.
  3. Read the advisory on tools.cisco.com for workarounds and exact fixed builds.
  4. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
CiscoCisco Adaptive Security Appliance (ASA) SoftwareNot specified in the recordNot stated
CiscoAdaptive Security Appliance Software9.16.0 up to, but not including, 9.16.3.19; 9.17.0 up to, but not including, 9.17.1.13; 9.18.0 up to, but not including, 9.18.29.16.3.19, 9.17.1.13, 9.18.2
CiscoSecure Firewall Threat Defense7.0.0 up to, but not including, 7.0.4; 7.1.0 up to, but not including, 7.2.0.17.0.4, 7.2.0.1

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
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
NoneAvailability is not affected.

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

Scoring systemScoreSeverityScored by
CVSS 3.17.4HighCNA (cisco.com)
CVSS 3.17.5HighNVD

Official description

A vulnerability in the handling of RSA keys on devices running Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to retrieve an RSA private key. This vulnerability is due to a logic error when the RSA key is stored in memory on a hardware platform that performs hardware-based cryptography. An attacker could exploit this vulnerability by using a Lenstra side-channel attack against the targeted device. A successful exploit could allow the attacker to retrieve the RSA private key. The following conditions may be observed on an affected device: This vulnerability will apply to approximately 5 percent of the RSA keys on a device that is running a vulnerable release of Cisco ASA Software or Cisco FTD Software; not all RSA keys are expected to be affected due to mathematical calculations applied to the RSA key. The RSA key could be valid but have specific characteristics that make it vulnerable to the potential leak of the RSA private key. If an attacker obtains the RSA private key, they could use the key to impersonate a device that is running Cisco ASA Software or Cisco FTD Software or to decrypt the device traffic. See the Indicators of Compromise section for more information on the detection of this type of RSA key. The RSA key could be malformed and invalid. A malformed RSA key is not functional, and a TLS client connection to a device that is running Cisco ASA Software or Cisco FTD Software that uses the malformed RSA key will result in a TLS signature failure, which means a vulnerable software release created an invalid RSA signature that failed verification. If an attacker obtains the RSA private key, they could use the key to impersonate a device that is running Cisco ASA Software or Cisco FTD Software or to decrypt the device traffic.

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

The underlying weakness: Observable Discrepancy

The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.

How developers prevent this class of flaw

  • Compartmentalize the system to have safe areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

More Observable Discrepancy vulnerabilities (CWE-203)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Cisco Adaptive Security Appliance (ASA) Software

All Cisco Adaptive Security Appliance (ASA) Software vulnerabilities

Recent Observable Discrepancy vulnerabilities

Spotted an error? Tell us.