CVE-2022-39952: 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,…
Exploitation: Reported · CVSS 9.8 Critical · Unauthenticated · Published 2023-02-16
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.
Enclave's analysis
FortiNAC has an external file name or path control flaw. An unauthenticated attacker can send a crafted HTTP request and run code or commands on the appliance. EPSS is near the top of the scale, but CISA KEV doesn't list it and the exploitation evidence is thin. Patch to 9.4.1, 9.2.6, 9.1.8 or later, and keep the web interface off untrusted networks.
Fix
Upgrade Fortinet FortiNAC to 9.4.1, 9.2.6, 9.1.8 or later. The vendor also lists 7.2.0 or above, which looks like a typo and is unverified.. No fixed version is listed for FortiNAC; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| FortiNAC | 9.4.0 | Not listed |
| FortiNAC | 9.2.0 through 9.2.5 | Not listed |
| FortiNAC | 9.1.0 through 9.1.7 | Not listed |
| FortiNAC | 8.8.0 through 8.8.11 | Not listed |
| FortiNAC | 8.7.0 through 8.7.6 | Not listed |
| FortiNAC | 8.6.0 through 8.6.5 | Not listed |
| FortiNAC | 8.5.0 through 8.5.4 | Not listed |
| FortiNAC | 8.3.7 | Not listed |
| 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 (vendor list). NVD's CPE data stops the 8.x range at 8.8.9, so treat the 8.5-8.8 upper bounds as uncertain. | 9.4.1, 9.2.6, 9.1.8 or later. The vendor also lists 7.2.0 or above, which looks like a typo and is unverified. |