CVE-2021-32589: FortiManager & FortiAnalyzer - Use After Free
- Cve: CVE-2021-32589
- Name: FortiManager & FortiAnalyzer - Use After Free
- Description: A Use After Free (CWE-416) vulnerability in FortiManager version 7.0.0, version 6.4.5 and below, version 6.2.7 and below, version 6.0.10 and below, version 5.6.10 and below, version 5.4.7 and below, version 5.2.10 and below, version 5.0.12 and below and FortiAnalyzer version 7.0.0, version 6.4.5 and below, version 6.2.7 and below, version 6.0.10 and below, version 5.6.10 and below, version 5.4.7 and below, version 5.3.11, version 5.2.10 to 5.2.4 fgfmsd daemon may allow a remote, non-authenticated attacker to execute unauthorized code as root via sending a specifically crafted request to the fgfm port of the targeted device.
- Impact: Remote attackers can execute arbitrary code as root, potentially leading to full system compromise.
- Remediation: Update to the latest versions of FortiManager and FortiAnalyzer that address this vulnerability, or apply available security patches from Fortinet.
- Vulnerability type: use_after_free
- 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.08872
- Epss percentile: 0.95344
- Assignee: [email protected]
- Published at: 2024-12-19T13:15:05Z
- Age in days: 705
- Modified at: 2026-06-17T03:53:13Z
- Patch available: yes
- References total: 1
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32589
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
References
| Url | Source | Tags |
|---|---|---|
| https://fortiguard.fortinet.com/psirt/FG-IR-21-067 | nvd | Vendor Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| fortinet:fortimanager | = 7.0.0; >= 6.4.0, < 6.4.6; >= 6.2.0, < 6.2.8; >= 6.0.0, < 6.0.11; >= 5.0.0, < 5.6.11 | /v1/products/fortinet/fortimanager |
| fortinet:fortianalyzer | = 7.0.0; >= 6.4.0, < 6.4.6; >= 6.2.0, < 6.2.8; >= 6.0.0, < 6.0.11; >= 5.2.4, < 5.6.11 | /v1/products/fortinet/fortianalyzer |
| fortinet:fortiportal | >= 6.0.0, < 6.0.6; >= 4.0.0, < 5.3.7 | /v1/products/fortinet/fortiportal |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 418
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports