FortiManager — 1 vulnerability check

noctis ships 1 vulnerability check for FortiManager, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

Fortinet FortiManager Unauthenticated RCE (FortiJump)

CVECVE-2024-47575
Severitycritical · CVSS 9.8
Categoryrce — Remote code execution
Serviceshttp, https
Detectionhttp_request, script, match · highest QoD 70
Feedtests/vulnerabilities/fortimanager/CVE-2024-47575.yaml

Reads the version shown on the FortiManager login page, compares it numerically with the affected releases (6.2.0–6.2.12, 6.4.0–6.4.14, 7.0.0–7.0.12, 7.2.0–7.2.7, 7.4.0–7.4.4 and 7.6.0) and reports FortiJump, the missing authentication in fgfmd. Version-based: no payload is sent.

How noctis detects it

  1. HTTP(S) request GET /p/login/
  2. Parses / computes the next value with a Rhai script
  3. Checks fmg.version for ^[0-9] → finding QoD 70: FortiManager … is in a vulnerable range for CVE-2024-47575 (FortiJump; fixed in 6.2.13, 6.4.15, 7.0.13, 7.2.8, 7.4.5, 7.6.1)
Feed source — tests/vulnerabilities/fortimanager/CVE-2024-47575.yaml
uid: 6a26674d-a5ce-4c47-ad44-2ef5c77d3777
name: "Fortinet FortiManager Unauthenticated RCE (FortiJump)"
description: "Reads the version shown on the FortiManager login page, compares it numerically with the affected releases (6.2.0–6.2.12, 6.4.0–6.4.14, 7.0.0–7.0.12, 7.2.0–7.2.7, 7.4.0–7.4.4 and 7.6.0) and reports FortiJump, the missing authentication in fgfmd. Version-based: no payload is sent."
cves: [CVE-2024-47575]
cvss: 9.8
severity: critical
category: rce
confidence_base: 0.20
tags:
  - rce
  - unauthenticated
  - version-fingerprint
  - kev
  - fortinet
services:
  - http
  - https
author: noctis
version: "1.1.0"

steps:
  - id: probe
    action: http_request
    method: GET
    path: "/p/login/"
    port: "{{port}}"
    tls_insecure: true
    store_as: resp

  # The first full X.Y.Z after the product name (same line), compared per
  # component against the NVD ranges — a prefix regex matched fixed 7.0.13+.
  - id: version
    action: script
    store_as: fmg
    condition: "resp.status == 200"
    code: |
      let body = "";
      if resp.status == 200 && type_of(resp.body) == "string" { body = resp.body; }
      let m = eregmatch("FortiManager.*?(?:^|[^0-9.])([0-9]{1,2})\\.([0-9]{1,2})\\.([0-9]{1,3})(?:[^0-9.]|$)", body);
      if type_of(m) != "array" || m.len() < 4 {
        #{ ok: false, version: "", vuln: false }
      } else {
        let a = int(m[1]); let b = int(m[2]); let c = int(m[3]);
        let vuln = (a == 6 && b == 2 && c <= 12)
                || (a == 6 && b == 4 && c <= 14)
                || (a == 7 && b == 0 && c <= 12)
                || (a == 7 && b == 2 && c <= 7)
                || (a == 7 && b == 4 && c <= 4)
                || (a == 7 && b == 6 && c == 0);
        #{ ok: true, version: m[1] + "." + m[2] + "." + m[3], vuln: vuln }
      }

  - id: check_version
    action: match
    source: fmg.version
    pattern: "^[0-9]"
    condition: "fmg.ok == true && fmg.vuln == true"
    on_match:
      finding:
        confidence_delta: 0.55
        qod: 70
        evidence: "FortiManager {{fmg.version}} is in a vulnerable range for CVE-2024-47575 (FortiJump; fixed in 6.2.13, 6.4.15, 7.0.13, 7.2.8, 7.4.5, 7.6.1)"

View these feeds on GitHub