CVE-2021-27710: TOTOLINK Router - Command Injection
- Cve: CVE-2021-27710
- Name: TOTOLINK Router - Command Injection
- Description: Command Injection in TOTOLINK X5000R router with firmware v9.1.0u.6118_B20201102, and TOTOLINK A720R router with firmware v4.1.5cu.470_B20200911 allows remote attackers to execute arbitrary OS commands by sending a modified HTTP request. This occurs because the function executes glibc's system function with untrusted input. In the function, "ip" parameter is directly passed to the attacker, allowing them to control the "ip" field to attack the OS.
- Impact: Remote attackers can execute arbitrary OS commands, potentially leading to full device compromise or control.
- Remediation: Update to the latest firmware version provided by TOTOLINK that addresses this vulnerability.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- 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.07905
- Epss percentile: 0.94796
- Assignee: [email protected]
- Published at: 2021-04-14T18:15:14Z
- Age in days: 2050
- Modified at: 2026-06-17T03:45:22Z
- Public exploits total: 2
- References total: 2
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-27710
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://hackmd.io/Hy3oVgtcQiuqAtv9FdylHw | nvd | 2021-04-14 |
| https://hackmd.io/KjXzQdjDRjOuRjoZZXQo_A | nvd | 2021-04-14 |
References
| Url | Source | Tags |
|---|---|---|
| https://hackmd.io/Hy3oVgtcQiuqAtv9FdylHw | nvd | Exploit, Third Party Advisory |
| https://hackmd.io/KjXzQdjDRjOuRjoZZXQo_A | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| totolink:x5000r_firmware | = 9.1.0u.6118_b20201102 | yes | nvd | /v1/products/totolink/x5000r_firmware |
| totolink:a720r_firmware | = 4.1.5cu.470_b20200911 | yes | nvd | /v1/products/totolink/a720r_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2021-04-14
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts