Unauthenticated code execution via unchecked IP-field copy
Published Mar 16, 2024 · Updated Mar 26, 2025
Buffer overflow in TOTOLINK X5000R 9.1.0u.6118-B20201102 and A7000R 9.1.0u.6115-B20201022 allows remote attackers to execute code. The sub_41F7E8 function in /www/cgi_bin/cstegi.cgi copies the IP field into a fixed-size buffer without checking its length. No authentication or user interaction is required; a crafted network request can take control of the router or crash its management service.
Summary
What happened
Buffer overflow in TOTOLINK X5000R 9.1.0u.6118-B20201102 and A7000R 9.1.0u.6115-B20201022 allows remote attackers to execute code. The sub_41F7E8 function in /www/cgi_bin/cstegi.cgi copies the IP field into a fixed-size buffer without checking its length. No authentication or user interaction is required; a crafted network request can take control of the router or crash its management service.
The record
- CVE
- CVE-2024-28639
- Published
- Mar 16, 2024
- Updated
- Mar 26, 2025
- Vendor
- TOTOLINK
- Product
- A7000R Firmware
- Classifications
- CWE-120, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 16, 2024CVE publishedPublication date reported by the CVE source.
- Mar 26, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=9.1.0u.6115_b20201022
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.
Weakness, pattern, technique
Public exploit references
- ZIKH26 TOTOLINK IP-field 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