CVE-2022-39952 Path traversal in FortiNAC
Unauthenticated attackers can execute arbitrary code via crafted HTTP requests due to improper file path control in FortiNAC.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-39952?
CVE-2022-39952 is a critical path traversal vulnerability in Fortinet FortiNAC, published on 16 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-39952?
It affects 1 product.
Products include Fortinet Fortinac.
How do I fix CVE-2022-39952?
No fix has been published for CVE-2022-39952 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-39952 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-39952 exists.
Public exploit code: 1 Metasploit module, 1 Nuclei template and 4 proofs of concept on GitHub.
Other vulnerabilities in Fortinet FortiNAC
Sources
Also known as GHSA-4wjq-4wff-qw9c.