CVE-2022-39952 in fortinet fortinac

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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 software: fortinet fortinac

Scores

What LogPulse has for it

How to mitigate it

Upgrade FortiNAC to 9.4.1 / 9.2.6 / 9.1.8 or later (keyUpload.jsp file write, CVE-2022-39952)

Patch or upgrade. FortiNAC lets an unauthenticated attacker write arbitrary files through keyUpload.jsp and so run code as root. The fixed releases remove the page.

Applies to: FortiNAC 9.4.0, 9.2.0 to 9.2.5, 9.1.0 to 9.1.7, and all 8.x

  1. Check the FortiNAC version.
  2. Upgrade to FortiNAC 9.4.1, 9.2.6, 9.1.8, 7.2.0 or later.
  3. Keep the FortiNAC management interface off the internet.
  4. Look for unknown cron jobs and files on the appliance, as the advisory describes.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse