Unauthenticated code execution via upgrade stack overflow
Published Dec 26, 2023 · Updated Sep 9, 2024
Stack overflow in the upgrade handler in Tenda M3 1.0.0.12(4856) allows remote attackers to execute code via a crafted HTTP request. The public PoC supplies an oversized workMode-related Cookie value to /cgi-bin/upgrade, overflowing the upgrade function's stack buffer. Network reachability to the management interface is required, but no valid session is required; successful exploitation runs attacker-controlled code on the controller.
Summary
What happened
Stack overflow in the upgrade handler in Tenda M3 1.0.0.12(4856) allows remote attackers to execute code via a crafted HTTP request. The public PoC supplies an oversized workMode-related Cookie value to /cgi-bin/upgrade, overflowing the upgrade function's stack buffer. Network reachability to the management interface is required, but no valid session is required; successful exploitation runs attacker-controlled code on the controller.
The record
- CVE
- CVE-2023-51092
- Published
- Dec 26, 2023
- Updated
- Sep 9, 2024
- Vendor
- Shenzhen Tenda Technology Co., Ltd.
- Product
- M3 Access Controller
- Classifications
- CWE-787, T1210
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 26, 2023CVE publishedPublication date reported by the CVE source.
- Sep 9, 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=1.0.0.12\(4856\)
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
- Tenda M3 upgrade stack-overflow PoCfunctional · 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