Device crash via oversized devName stack write
Published Jun 28, 2024 · Updated Aug 1, 2024
Stack-based buffer overflow in Tenda A301 15.13.08.12 allows remote attackers to crash the device through a crafted devName value. The /goform/SetOnlineDevName handler passes the POST-supplied value to set_device_name, where sprintf writes it plus a suffix into the fixed 256-byte mib_vlaue stack array without a length bound. Remote reachability to the management endpoint is the documented gate, and the grounded consequence is device availability loss rather than established code execution.
Summary
What happened
Stack-based buffer overflow in Tenda A301 15.13.08.12 allows remote attackers to crash the device through a crafted devName value. The /goform/SetOnlineDevName handler passes the POST-supplied value to set_device_name, where sprintf writes it plus a suffix into the fixed 256-byte mib_vlaue stack array without a length bound. Remote reachability to the management endpoint is the documented gate, and the grounded consequence is device availability loss rather than established code execution.
The record
- CVE
- CVE-2024-6402
- Published
- Jun 28, 2024
- Updated
- Aug 1, 2024
- Vendor
- Shenzhen Tenda Technology Co., Ltd.
- Product
- A301 Firmware
- Classifications
- CWE-121, CWE-787, T1499.004
- Attack vector
- network
- Privileges
- Unavailable
Timeline
How it unfolded
- Jun 28, 2024CVE publishedPublication date reported by the CVE source.
- Aug 1, 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=15.13.08.12
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.
Weakness, pattern, technique
Public exploit references
- A301 formSetDeviceName devName proof of conceptproof of concept · unverified
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