Router crash via unchecked sprintf to stack buffer
Published Jan 16, 2025 · Updated Mar 18, 2025
Stack overflow in formSetDeviceName in Tenda AC18 15.03.05.19 allows remote attackers to crash the router via a crafted POST request. The handler passes devName into sub_C6BB0, where sprintf appends a suffix into a fixed 256-byte stack buffer without checking the input length. The endpoint is remotely reachable without authentication; an oversized value overwrites the stack, while the published proof of concept does not establish shell access.
Summary
What happened
Stack overflow in formSetDeviceName in Tenda AC18 15.03.05.19 allows remote attackers to crash the router via a crafted POST request. The handler passes devName into sub_C6BB0, where sprintf appends a suffix into a fixed 256-byte stack buffer without checking the input length. The endpoint is remotely reachable without authentication; an oversized value overwrites the stack, while the published proof of concept does not establish shell access.
The record
- CVE
- CVE-2024-57580
- Published
- Jan 16, 2025
- Updated
- Mar 18, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 16, 2025CVE publishedPublication date reported by the CVE source.
- Mar 18, 2025Record 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- Tenda AC18 formSetDeviceName crash proof of conceptfunctional · demonstrated
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