提交 #791277: Tenda CH22 V1.0.0.6(468) Path Traversal信息

标题Tenda CH22 V1.0.0.6(468) Path Traversal
描述A critical authentication bypass vulnerability exists in the Tenda CH22 router, specifically within the R7WebsSecurityHandlerfunction of the V1.0.0.6(468) firmware. This function acts as a security gatekeeper for all incoming HTTP requests. Its primary mechanism is a URL prefix whitelist (e.g., /public/, /lang/) meant to grant unauthenticated access to static resources. The function uses strncmp to check if the request URL begins with these trusted prefixes: e.g., if ( !strncmp(s1, "/public/", 8u) ... return 0;.However, the application fails to validate or canonicalize the subsequent part of the URL. An unauthenticated remote attacker can send a crafted HTTP request that starts with a whitelisted prefix but employs directory traversal sequences (../) to escape the restricted directory.For example, a request to `/public/../system_upgrade.asp` will satisfy the `strncmp` check (bypassing authentication) but will be resolved by the web server to the sensitive `system_upgrade.asp` page, granting full administrative access.
来源⚠️ https://github.com/Litengzheng/vuldb_new/blob/main/CH22/vul_55/README.md
用户 LtzHuster2 (UID 96397)
提交2026-03-27 16時44分 (6 月前)
管理2026-04-09 12時03分 (13 days later)
状态已接受
VulDB条目356515 [Tenda CH22 1.0.0.6(468) httpd R7WebsSecurityHandlerfunction 目录遍历]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!