Authenticated code execution via unchecked username formatting
Published Mar 26, 2024 · Updated Aug 5, 2024
Stack-based buffer overflow in TRENDnet TEW-821DAP firmware 3.00b06 allows remote authenticated users to execute arbitrary code. The ssi CGI passes an HTTP username of up to 256 characters to sprintf for a grep command in a 64-byte stack buffer without a length check. Adjacent-network access and a valid session token are required; a 256-character username corrupts the stack and can crash the CGI or alter control flow.
Summary
What happened
Stack-based buffer overflow in TRENDnet TEW-821DAP firmware 3.00b06 allows remote authenticated users to execute arbitrary code. The ssi CGI passes an HTTP username of up to 256 characters to sprintf for a grep command in a 64-byte stack buffer without a length check. Adjacent-network access and a valid session token are required; a 256-character username corrupts the stack and can crash the CGI or alter control flow.
The record
- CVE
- CVE-2023-51147
- Published
- Mar 26, 2024
- Updated
- Aug 5, 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 5, 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.00b6
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
- Authenticated adm_mod_pwd HTTP 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