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...
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Proxmox
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.
Upgrade path
8 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| proxmox libpve-common-perl (Promox Mail Gateway 8) | < 8.2.5 | 8.2.5 | Fixed |
| proxmox libpve-common-perl (Promox VE 8) | < 8.2.3 | 8.2.3 | Fixed |
| proxmox libpve-http-server-perl | >= 3.2-1, < 4.3.0; >= 5.0.0, < 5.1.1 | 4.3.0, 5.1.1 | Fixed |
| proxmox libpve-storage-perl | < 7.4-4; >= 8.0.0, < 8.2.5 | 7.4-4, 8.2.5 | Fixed |
| proxmox mail gateway | >= 6.0, < 7.2; >= 8.0, < 8.1-1 | 7.2, 8.1-1 | Fixed |
| proxmox pmg-api | < 7.3-12; >= 8.0.0, < 8.1.4 | 7.3-12, 8.1.4 | Fixed |
| proxmox pve-manager | < 7.4-19; >= 8.0.0, < 8.2.7 | 7.4-19, 8.2.7 | Fixed |
| proxmox virtual environment | >= 6.0, < 7.3; >= 8.0, < 8.2-2 | 7.3, 8.2-2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| proxmox pve-manager | < 7.4-19 | 7.4-19 |
| proxmox pve-manager | >= 8.0.0, < 8.2.7 | 8.2.7 |
| proxmox libpve-storage-perl | < 7.4-4 | 7.4-4 |
| proxmox libpve-storage-perl | >= 8.0.0, < 8.2.5 | 8.2.5 |
| proxmox libpve-http-server-perl | >= 3.2-1, < 4.3.0 | 4.3.0 |
| proxmox libpve-http-server-perl | >= 5.0.0, < 5.1.1 | 5.1.1 |
| proxmox pmg-api | < 7.3-12 | 7.3-12 |
| proxmox pmg-api | >= 8.0.0, < 8.1.4 | 8.1.4 |
| proxmox libpve-common-perl (Promox VE 8) | < 8.2.3 | 8.2.3 |
| proxmox libpve-common-perl (Promox Mail Gateway 8) | < 8.2.5 | 8.2.5 |
| proxmox mail gateway | >= 6.0, < 7.2 | 7.2 |
| proxmox mail gateway | >= 8.0, < 8.1-1 | 8.1-1 |
| proxmox virtual environment | >= 6.0, < 7.3 | 7.3 |
| proxmox virtual environment | >= 8.0, < 8.2-2 | 8.2-2 |