| Title | Tenda W6-S V1.0.0.4(510) Stack-based Buffer Overflow |
|---|
| Description | The R7websSsecurityHandler component in /bin/httpd is vulnerable to a pre-authentication stack overflow via the cookie header which allows a remote attacker to hijack execution flow or cause DoS.
The vulnerability exists in the R7websSecurityHandler function, specifically the part responsible for parsing the cookie header and that code runs before any authentication or session checks.
The vulnerable sscanf call parses everything in the user cookie value until ";" thus overflowing the buffer.
To exploit this, all we need to do is send a request with a crafted cookie header to any endpoint. |
|---|
| Source | ⚠️ https://github.com/dwBruijn/CVEs/blob/main/Tenda/R7WebsSecurityHandler.md |
|---|
| User | dwbruijn (UID 93926) |
|---|
| Submission | 12/28/2025 18:04 (3 months ago) |
|---|
| Moderation | 12/29/2025 10:20 (16 hours later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 338645 [Tenda W6-S 1.0.0.4(510) R7websSsecurityHandler /bin/httpd Cookie stack-based overflow] |
|---|
| Points | 20 |
|---|