CVE-2023-47542: FortiManager - Template Injection
- Cve: CVE-2023-47542
- Name: FortiManager - Template Injection
- Description: A improper neutralization of special elements used in a template engine [CWE-1336] in FortiManager versions 7.4.1 and below, versions 7.2.4 and below, and 7.0.10 and below allows attacker to execute unauthorized code or commands via specially crafted templates.
- Impact: Attackers can execute arbitrary code or commands on the affected system, leading to full system compromise.
- Remediation: Update to the latest version of FortiManager that addresses this vulnerability.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.7
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0027
- Epss percentile: 0.19176
- Assignee: [email protected]
- Published at: 2024-04-09T15:15:28Z
- Age in days: 959
- Modified at: 2026-06-17T06:32:52Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-47542
- 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-1336 | Improper Neutralization of Special Elements Used in a Template Engine |
| CWE-94 | Improper Control of Generation of Code |
References
| Url | Source | Tags |
|---|---|---|
| https://fortiguard.com/psirt/FG-IR-23-419 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| fortinet:fortimanager | >= 7.4.0, < 7.4.2; >= 7.2.0, < 7.2.5; >= 7.0.0, < 7.0.11 | no | nvd | /v1/products/fortinet/fortimanager |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 58
- 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