CVE-2022-42756
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-39952 is a critical vulnerability (CVSS score: 9.8) affecting Fortinet's network access control product, FortiNAC. The vulnerability was discovered by Fortinet's Product Security team and involves an external control of file name or path vulnerability in the FortiNAC web server (Fortinet Advisory).

Technical details

The vulnerability allows an unauthenticated attacker to perform arbitrary code or command write on the system via specially crafted HTTP requests. The issue specifically involves the keyUpload.jsp endpoint, which can be exploited to obtain reverse shell access as the root user. Attackers can create a cron job in /etc/cron.d/payload to trigger a reverse shell every minute (SOCRadar Report).

Impact

Successful exploitation of CVE-2022-39952 can lead to unauthenticated remote code execution with root privileges on affected FortiNAC systems. This gives attackers complete control over the vulnerable system, potentially compromising network security (Help Net Security).

Mitigation and workarounds

Fortinet has released patches to address the vulnerability. Users should upgrade to FortiNAC version 9.4.1 or later, 9.2.6 or later, 9.1.8 or later, or 7.2.0 or later. No alternative workarounds are available, making the update the only recommended approach to address the security risk (Security Online).

Community reactions

The security community has actively tracked and responded to this vulnerability. Horizon3's Attack Team announced the release of their proof-of-concept exploit on Twitter, generating significant attention. Security researchers and organizations, including Shadowserver, GreyNoise, and CronUp, have been monitoring and reporting on exploitation attempts (Help Net Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management