Unauthenticated router crash via unchecked sprintf
Published Aug 15, 2024 · Updated Sep 2, 2025
Stack-based buffer overflow in Tenda FH1206 02.03.01.35 allows remote attackers to crash the router through a crafted HTTP POST request. The fromPptpUserAdd handler passes modino, username, newpwd, and pptpdnetseg values to sprintf without length validation, overwriting a stack buffer. No authentication or user interaction is required; the grounded consequence is a service crash, while code execution is reported only as scenario-dependent.
Summary
What happened
Stack-based buffer overflow in Tenda FH1206 02.03.01.35 allows remote attackers to crash the router through a crafted HTTP POST request. The fromPptpUserAdd handler passes modino, username, newpwd, and pptpdnetseg values to sprintf without length validation, overwriting a stack buffer. No authentication or user interaction is required; the grounded consequence is a service crash, while code execution is reported only as scenario-dependent.
The record
- CVE
- CVE-2024-42987
- Published
- Aug 15, 2024
- Updated
- Sep 2, 2025
- Vendor
- Shenzhen Tenda Technology Co., Ltd.
- Product
- FH1206
- Classifications
- CWE-787, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 15, 2024CVE publishedPublication date reported by the CVE source.
- Sep 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=02.03.01.35
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
- FH1206 fromPptpUserAdd username proof of conceptproof of concept · unverified
- FH1206 fromPptpUserAdd newpwd proof of conceptproof of concept · unverified
- FH1206 fromPptpUserAdd pptpdnetseg proof of conceptproof of concept · unverified
- FH1206 fromPptpUserAdd modino proof of conceptproof of concept · unverified
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