Remote code execution via faulty NanoSSL error cleanup
Published May 10, 2022 · Updated Aug 3, 2024
Heap overflow in affected ArubaOS-Switch releases allows remote attackers to execute arbitrary code through unauthenticated TLS interfaces. The firmware's NanoSSL glue logic fails to perform required cleanup after TLS connection errors, corrupting heap memory with attacker-controlled data. Exploitation requires access to a captive portal before authentication or a man-in-the-middle position on a RADIUS connection, and successful exploitation grants control of the switch.
Summary
What happened
Heap overflow in affected ArubaOS-Switch releases allows remote attackers to execute arbitrary code through unauthenticated TLS interfaces. The firmware's NanoSSL glue logic fails to perform required cleanup after TLS connection errors, corrupting heap memory with attacker-controlled data. Exploitation requires access to a captive portal before authentication or a man-in-the-middle position on a RADIUS connection, and successful exploitation grants control of the switch.
The record
- CVE
- CVE-2022-23677
- Published
- May 10, 2022
- Updated
- Aug 3, 2024
- Vendor
- Hewlett Packard Enterprise (HPE)
- Product
- ArubaOS-Switch
- Classifications
- CWE-787, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 10, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=ArubaOS-Switch 15.xx.xxxx: All versions
- Affected versionversion=ArubaOS-Switch 16.01.xxxx: All versions
- Affected versionversion=ArubaOS-Switch 16.02.xxxx: K.16.02.0033 and below
- Affected versionversion=ArubaOS-Switch 16.03.xxxx: All versions
- Affected versionversion=ArubaOS-Switch 16.04.xxxx: All versions
- Affected versionversion=ArubaOS-Switch 16.05.xxxx: All versions
- Affected versionversion=ArubaOS-Switch 16.06.xxxx: All versions
- Affected versionversion=ArubaOS-Switch 16.07.xxxx: All versions
- Affected versionversion=ArubaOS-Switch 16.08.xxxx: KB/WB/WC/YA/YB/YC.16.08.0024 and below
- Affected versionversion=ArubaOS-Switch 16.09.xxxx: KB/WB/WC/YA/YB/YC.16.09.0019 and below
- Affected versionversion=ArubaOS-Switch 16.10.xxxx: KB/WB/WC/YA/YB/YC.16.10.0019 and below
- Affected versionversion=ArubaOS-Switch 16.11.xxxx: KB/WB/WC/YA/YB/YC.16.11.0003 and below.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo