CVE-2024-45229

Versa Director: Missing Authentication for Critical Functionality

6.6 medium EPSS 0.51%

Published 20 Sep 2024 Updated 20 Sep 2024 CNA: hackerone

Check your servers for CVE-2024-45229

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-45229 affects director, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

The Versa Director offers REST APIs for orchestration and management. By design, certain APIs, such as the login screen, banner display, and device registration, do not require authentication. However, it was discovered that for Directors directly connected to the Internet, one of these APIs can be exploited by injecting invalid arguments into a GET request, potentially exposing the authentication tokens of other currently logged-in users. These tokens can then be used to invoke additional APIs on port 9183. This exploit does not disclose any username or password information.

Currently, there are no workarounds in Versa Director. However, if there is Web Application Firewall (WAF) or API Gateway fronting the Versa Director, it can be used to block access to the URLs of vulnerable API. /vnms/devicereg/device/* (on ports 9182 & 9183) and /versa/vnms/devicereg/device/* (on port 443). Versa recommends that Directors be upgraded to one of the remediated software versions. This vulnerability is not exploitable on Versa Directors not exposed to the Internet.We have validated that no Versa-hosted head ends have been affected by this vulnerability. Please contact Versa Technical Support or Versa account team for any further assistance.

Severity (CVSS)

6.6 medium CVSS 3.0 from hackerone (CNA)
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 45.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 20 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-306 Missing Authentication for Critical Functionality

Affected products

As the CNA lists them.

ProductVersions
Director
affected from 22.1.4 20240909, before 22.1.4 20240909
affected from 22.1.3 20240909, before 22.1.3 20240909
affected from 22.1.2 20240909, before 22.1.2 20240909
affected from 22.1.1 20240909, before 22.1.1 20240909
affected from 21.2.3 20240909, before 21.2.3 20240909
affected from 21.2.2 20240909, before 21.2.2 20240909
Other versions: unaffected

Is my server affected?

Find the installed version of director and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i director
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-45229 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-45229

RHEL, Rocky, Alma, Fedora

rpm -q director
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-45229

Alpine

apk list --installed | grep -i director

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-45229
trivy image --scanners vuln IMAGE | grep CVE-2024-45229

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-45229 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.