Authenticated code execution via unbounded stack copy
Published Jan 23, 2023 · Updated Apr 2, 2025
Stack-based buffer overflow in TRENDnet TEW-820AP firmware 1.01.B01 allows remote authenticated users to execute arbitrary code. The boa HTTP server passes an arbitrarily long submit-url value from a POST to /boafrm/formPasswordAuth into sprintf, which copies it onto the stack without a length bound. Access to the web interface and valid credentials are required; exploitation can execute code in the HTTP-server context or crash the service.
Summary
What happened
Stack-based buffer overflow in TRENDnet TEW-820AP firmware 1.01.B01 allows remote authenticated users to execute arbitrary code. The boa HTTP server passes an arbitrarily long submit-url value from a POST to /boafrm/formPasswordAuth into sprintf, which copies it onto the stack without a length bound. Access to the web interface and valid credentials are required; exploitation can execute code in the HTTP-server context or crash the service.
The record
- CVE
- CVE-2023-24097
- Published
- Jan 23, 2023
- Updated
- Apr 2, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 23, 2023CVE publishedPublication date reported by the CVE source.
- Apr 2, 2025Record 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- POC_for_formPasswordAuth.pyproof 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