CVE-2024-21545
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
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Proxmox pve-manager: affected: before 7.4-19, 8.0.0 to before 8.2.7; fixed in
7.4-19,8.2.7 - Proxmox libpve-storage-perl: affected: before 7.4-4, 8.0.0 to before 8.2.5; fixed in
7.4-4,8.2.5 - Proxmox libpve-http-server-perl: affected: 3.2-1 to before 4.3.0, 5.0.0 to before 5.1.1; fixed in
4.3.0,5.1.1 - Proxmox pmg-api: affected: before 7.3-12, 8.0.0 to before 8.1.4; fixed in
7.3-12,8.1.4 - Proxmox libpve-common-perl (Promox VE 8): affected: before 8.2.3; fixed in
8.2.3 - Proxmox libpve-common-perl (Promox Mail Gateway 8): affected: before 8.2.5; fixed in
8.2.5
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.