CVE-2024-21545
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.
How to fix
- Proxmox pve-manager7.4-19, 8.2.7 or later
- Proxmox libpve-storage-perl7.4-4, 8.2.5 or later
- Proxmox libpve-http-server-perl4.3.0, 5.1.1 or later
- Proxmox pmg-api7.3-12, 8.1.4 or later
- Proxmox libpve-common-perl (Promox VE 8)8.2.3 or later
- Proxmox libpve-common-perl (Promox Mail Gateway 8)8.2.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Proxmox pve-manager | v < 7.4-19, 8.0.0 ≤ v < 8.2.7 | 7.4-19, 8.2.7 |
| Proxmox libpve-storage-perl | v < 7.4-4, 8.0.0 ≤ v < 8.2.5 | 7.4-4, 8.2.5 |
| Proxmox libpve-http-server-perl | 3.2-1 ≤ v < 4.3.0, 5.0.0 ≤ v < 5.1.1 | 4.3.0, 5.1.1 |
| Proxmox pmg-api | v < 7.3-12, 8.0.0 ≤ v < 8.1.4 | 7.3-12, 8.1.4 |
| Proxmox libpve-common-perl (Promox VE 8) | v < 8.2.3 | 8.2.3 |
| Proxmox libpve-common-perl (Promox Mail Gateway 8) | v < 8.2.5 | 8.2.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.