Command execution via unbounded SSID copy
Published Aug 28, 2024 · Updated Aug 28, 2024
Stack buffer overflow in TOTOLINK A3002R firmware 1.1.1-B20200824 allows remote attackers to execute commands via a crafted SSID. The boa formWlEncrypt path passes wlan_ssid to strcpy without a backend length check, overflowing a 44-byte stack buffer. Exploitation requires access to the router's HTTP service and setting wlan_idx to at least 5 through formWlanRedirect; failure can interrupt the boa service instead.
Summary
What happened
Stack buffer overflow in TOTOLINK A3002R firmware 1.1.1-B20200824 allows remote attackers to execute commands via a crafted SSID. The boa formWlEncrypt path passes wlan_ssid to strcpy without a backend length check, overflowing a 44-byte stack buffer. Exploitation requires access to the router's HTTP service and setting wlan_idx to at least 5 through formWlanRedirect; failure can interrupt the boa service instead.
The record
- CVE
- CVE-2024-34195
- Published
- Aug 28, 2024
- Updated
- Aug 28, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-121, CWE-787, T1210
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 28, 2024CVE publishedPublication date reported by the CVE source.
- Aug 28, 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?
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.
Weakness, pattern, technique
Public exploit references
- TOTOLINK A3002R formWlEncrypt 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