Authenticated code execution via unbounded device-name copy
Published Nov 14, 2023 · Updated Sep 3, 2024
Stack buffer overflow in Tenda AX1803 1.0.0.1_2994 and earlier allows remote authenticated users to execute arbitrary code over HTTP. In /bin/tdhttpd, set_name_with_mac uses sprintf with the unbounded devName value and the format %s;1 to fill a 256-byte stack array. A valid management-session cookie and network access to /goform/SetOnlineDevName are required; a crafted POST can overwrite control data and yield a root shell.
Summary
What happened
Stack buffer overflow in Tenda AX1803 1.0.0.1_2994 and earlier allows remote authenticated users to execute arbitrary code over HTTP. In /bin/tdhttpd, set_name_with_mac uses sprintf with the unbounded devName value and the format %s;1 to fill a 256-byte stack array. A valid management-session cookie and network access to /goform/SetOnlineDevName are required; a crafted POST can overwrite control data and yield a root shell.
The record
- CVE
- CVE-2022-45781
- Published
- Nov 14, 2023
- Updated
- Sep 3, 2024
- Vendor
- Shenzhen Tenda Technology Co., Ltd.
- Product
- AX1803
- Classifications
- CWE-787, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 14, 2023CVE publishedPublication date reported by the CVE source.
- Sep 3, 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=0 <=1.0.0.1_2994
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.
Public exploit references
- SetOnlineDevName stack-overflow 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