CVE-2022-39952
High PUBLISHEDA 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...
Not yet in CISA KEV
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Feb 16, 2023
- Exploitation Reported
- Apr 23, 2025
- CVSS
- 9.8 Critical
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Fortinet |
FortiNAC
|
9.4.0 |
Affected |
| Fortinet |
FortiNAC
|
9.2.0 to <= 9.2.5 |
Affected |
| Fortinet |
FortiNAC
|
9.1.0 to <= 9.1.7 |
Affected |
| Fortinet |
FortiNAC
|
8.8.0 to <= 8.8.11 |
Affected |
| Fortinet |
FortiNAC
|
8.7.0 to <= 8.7.6 |
Affected |
| Fortinet |
FortiNAC
|
8.6.0 to <= 8.6.5 |
Affected |
| Fortinet |
FortiNAC
|
8.5.0 to <= 8.5.4 |
Affected |
| Fortinet |
FortiNAC
|
8.3.7 |
Affected |
CVE References
- https://fortiguard.com/psirt/FG-IR-22-300 fortiguard.com · CVE Record https://fortiguard.com/psirt/FG-IR-22-300
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| The Shadowserver First | 2025-04-23 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-39952.yaml | Apr 25, 2025 |
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/fortinac_keyupload_file_write.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:U/RC:C
Exploitation Status
Exploited in the wild
Recorded 2025-04-23 00:00:00 UTC · The Shadowserver
Proof of concept available
Recorded 2023-02-20 15:12:33 UTC · GitHub
Weaknesses (CWE)
-
External Control of File Name or Path
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/fortinac_keyupload_file_write.rb | Apr 28, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-39952.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2023-03-27 17:25:17 UTC · 0 stars
PoC for CVE-2022-39952 affecting Fortinet FortiNAC.
github · Created 2023-02-26 18:10:04 UTC · 3 stars
PoC for CVE-2022-39952 affecting Fortinet FortiNAC.
github · Created 2023-02-22 04:57:06 UTC · 2 stars
Write Behinder_webshell to target using CVE-2022-39952
github · Created 2023-02-20 15:12:33 UTC · 267 stars
POC for CVE-2022-39952
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
15:12 UTC over 3 years ago15:12 UTC · over 3 years ago
Public PoC available
Public proof-of-concept code published
-
18:06 UTC over 3 years ago18:06 UTC · over 3 years ago
CVE published
Vulnerability disclosed publicly
-
13:11 UTC almost 4 years ago13:11 UTC · almost 4 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2022-39952
{
"cve_id": "CVE-2022-39952",
"title": "A external control of file name or path in Fortinet FortiNAC versions 9.4.0, ...",
"affected_vendor": "Fortinet",
"affected_product": "FortiNAC",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "High",
"cvss_score": 9.8,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}