CVE-2021-44171: Fortinet FortiOS - Command Injection
- Cve: CVE-2021-44171
- Name: Fortinet FortiOS - Command Injection
- Description: A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiOS version 6.0.0 through 6.0.14, FortiOS version 6.2.0 through 6.2.10, FortiOS version 6.4.0 through 6.4.8, FortiOS version 7.0.0 through 7.0.3 allows attacker to execute privileged commands on a linked FortiSwitch via diagnostic CLI commands.
- Impact: Attackers can execute privileged commands on linked FortiSwitch devices, potentially leading to full system compromise or control.
- Remediation: Update to the latest firmware versions beyond 7.0.3 or apply vendor-recommended patches.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: admin_privileges
- Requirements: Attacker needs access to diagnostic CLI commands
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8
- Cvss vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01482
- Epss percentile: 0.74481
- Assignee: [email protected]
- Published at: 2022-10-10T14:15:09Z
- Age in days: 1506
- Modified at: 2026-06-17T04:11:59Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-44171
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
| Url | Source | Tags |
|---|---|---|
| https://fortiguard.com/psirt/FG-IR-21-242 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| fortinet:fortios | >= 7.0.0, <= 7.0.3; >= 6.4.0, <= 6.4.8; >= 6.2.0, <= 6.2.10; >= 6.0.0, <= 6.0.14 | no | nvd | /v1/products/fortinet/fortios |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 368277
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports