Authenticated code execution via unchecked username formatting
Published Mar 26, 2024 · Updated Aug 20, 2024
Stack-based buffer overflow in TRENDnet TEW-821DAP 3.00b06 allows remote authenticated users to execute code through adm_add_user. The ssi CGI passes an HTTP username of up to 256 characters to sprintf() for a 64-byte stack buffer without checking its length. An adjacent-network user with a valid bearer token can corrupt the stack, crash the management service, or redirect execution.
Summary
What happened
Stack-based buffer overflow in TRENDnet TEW-821DAP 3.00b06 allows remote authenticated users to execute code through adm_add_user. The ssi CGI passes an HTTP username of up to 256 characters to sprintf() for a 64-byte stack buffer without checking its length. An adjacent-network user with a valid bearer token can corrupt the stack, crash the management service, or redirect execution.
The record
- CVE
- CVE-2023-51146
- Published
- Mar 26, 2024
- Updated
- Aug 20, 2024
- Vendor
- TRENDnet
- Product
- TEW-821DAP
- Classifications
- CWE-121, T1210
- Attack vector
- adjacent
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 26, 2024CVE publishedPublication date reported by the CVE source.
- Aug 20, 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=3.00b06
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
- Spike Reply adm_add_user 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