Description
A external control of file name or path in Fortinet FortiNAC versions 9.4.0, 9.2.0 through 9.2.5, 9.1.0 through 9.1.7, 8.8.0 through 8.8.11, 8.7.0 through 8.7.6, 8.6.0 through 8.6.5, 8.5.0 through 8.5.4, 8.3.7 may allow an unauthenticated attacker to execute unauthorized code or commands via specifically crafted HTTP request.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Fortinet | FortiNAC | 9.4.0, 9.2.0 – ≤ 9.2.5, 9.1.0 – ≤ 9.1.7, 8.8.0 – ≤ 8.8.11, 8.7.0 – ≤ 8.7.6, 8.6.0 – ≤ 8.6.5, 8.5.0 – ≤ 8.5.4, 8.3.7 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Fortinet FortiNAC keyUpload.jsp arbitrary file write
exploit/linux/http/fortinac_keyupload_file_write
GitHub 4 repositories
-
horizon3ai/CVE-2022-39952 ★ 266 · Feb 20, 2023
POC for CVE-2022-39952
-
Chocapikk/CVE-2022-39952 ★ 3 · Feb 26, 2023
PoC for CVE-2022-39952 affecting Fortinet FortiNAC.
-
shiyeshu/CVE-2022-39952_webshell ★ 2 · Feb 22, 2023
Write Behinder_webshell to target using CVE-2022-39952
-
dkstar11q/CVE-2022-39952-better ★ 0 · Mar 27, 2023
PoC for CVE-2022-39952 affecting Fortinet FortiNAC.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Fortinet FortiNAC - Arbitrary File Write http/cves/2022/CVE-2022-39952.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.