Remote code execution via mismatched EAP lengths
Published May 10, 2022 · Updated Aug 3, 2024
Heap overflow in affected ArubaOS-Switch releases allows remote attackers to execute code through a crafted RADIUS Access-Challenge. The RADIUS client's PEAP parser allocates a buffer from the inner EAP length but copies bytes using the larger outer AVP length without checking their relationship. Exploitation requires control of the configured RADIUS server or knowledge of its shared secret, and successful code execution grants control of the switch.
Summary
What happened
Heap overflow in affected ArubaOS-Switch releases allows remote attackers to execute code through a crafted RADIUS Access-Challenge. The RADIUS client's PEAP parser allocates a buffer from the inner EAP length but copies bytes using the larger outer AVP length without checking their relationship. Exploitation requires control of the configured RADIUS server or knowledge of its shared secret, and successful code execution grants control of the switch.
The record
- CVE
- CVE-2022-23676
- Published
- May 10, 2022
- Updated
- Aug 3, 2024
- Vendor
- Hewlett Packard Enterprise (HPE)
- Product
- ArubaOS-Switch
- Classifications
- CWE-787, T1210
- 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?
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