Authenticated code execution via unchecked stack copy
Published Jan 30, 2025 · Updated Jan 30, 2025
Stack-based buffer overflow in Tenda A18 15.13.07.09 allows remote authenticated users to crash the extender via an HTTP POST request. The SetCmdlineRun handler passes the user-controlled wpapsk_crypto5g value to set_repeat5, where strcpy copies it into a fixed 16-byte stack array without a length check. An authenticated management-session request meeting the configured2_4g and configured5g branch conditions can overwrite the return address, causing a crash or arbitrary code execution.
Summary
What happened
Stack-based buffer overflow in Tenda A18 15.13.07.09 allows remote authenticated users to crash the extender via an HTTP POST request. The SetCmdlineRun handler passes the user-controlled wpapsk_crypto5g value to set_repeat5, where strcpy copies it into a fixed 16-byte stack array without a length check. An authenticated management-session request meeting the configured2_4g and configured5g branch conditions can overwrite the return address, causing a crash or arbitrary code execution.
The record
- CVE
- CVE-2025-0848
- Published
- Jan 30, 2025
- Updated
- Jan 30, 2025
- Vendor
- Shenzhen Tenda Technology Co., Ltd.
- Product
- A18
- Classifications
- CWE-119, CWE-121, T1210
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 30, 2025CVE publishedPublication date reported by the CVE source.
- Jan 30, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=15.13.07.09
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.
Weakness, pattern, technique
Public exploit references
- Tenda A18 SetCmdlineRun proof-of-conceptfunctional · 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