Remote code execution via unbounded DevName copy
Published Sep 3, 2023 · Updated Sep 30, 2024
Stack-based buffer overflow in Tenda AC8 16.03.34.06_cn_TDC01 allows remote attackers to execute code via a crafted DevName. formSetDeviceName accepts DevName without a length check and passes it to set_device_name, where sprintf copies it into a fixed-size stack buffer. The HTTP handler requires no privileges or user interaction; successful exploitation can obtain a root shell, while the published proof of concept demonstrates a crash.
Summary
What happened
Stack-based buffer overflow in Tenda AC8 16.03.34.06_cn_TDC01 allows remote attackers to execute code via a crafted DevName. formSetDeviceName accepts DevName without a length check and passes it to set_device_name, where sprintf copies it into a fixed-size stack buffer. The HTTP handler requires no privileges or user interaction; successful exploitation can obtain a root shell, while the published proof of concept demonstrates a crash.
The record
- CVE
- CVE-2023-4744
- Published
- Sep 3, 2023
- Updated
- Sep 30, 2024
- Vendor
- Shenzhen Tenda Technology Co., Ltd.
- Product
- AC8
- Classifications
- CWE-787, CWE-121, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 3, 2023CVE publishedPublication date reported by the CVE source.
- Sep 30, 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=16.03.34.06_cn_tdc01
- Affected versionversion=16.03.34.06_cn_TDC01
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
- Tenda AC8 SetOnlineDevName oversized DevName proof of conceptproof of concept · 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