Authenticated code execution via unchecked speed_dir formatting
Published Aug 7, 2023 · Updated Oct 15, 2024
Stack overflow in Tenda router firmware allows remote authenticated users to crash the web service or execute code via speed_dir. The formSetSpeedWan handler passes the unbounded speed_dir value to sprintf, which writes it into the fixed-size stack buffer ref_buf. The published proof of concept supplies an administrative session cookie; successful exploitation can interrupt routing management or run code in the httpd process.
Summary
What happened
Stack overflow in Tenda router firmware allows remote authenticated users to crash the web service or execute code via speed_dir. The formSetSpeedWan handler passes the unbounded speed_dir value to sprintf, which writes it into the fixed-size stack buffer ref_buf. The published proof of concept supplies an administrative session cookie; successful exploitation can interrupt routing management or run code in the httpd process.
The record
- CVE
- CVE-2023-38936
- Published
- Aug 7, 2023
- Updated
- Oct 15, 2024
- Vendor
- Shenzhen Tenda Technology Co., Ltd.
- Product
- AC7
- Classifications
- CWE-787, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 7, 2023CVE publishedPublication date reported by the CVE source.
- Oct 15, 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=V1.0 V15.03.06.44,
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.
Public exploit references
- SetSpeedWan denial-of-service HTTP requestproof 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