CVE-2024-21545
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Proxmox | pve-manager | 0 < 7.4-19 | affected |
| Proxmox | pve-manager | 8.0.0 < 8.2.7 | affected |
| Proxmox | libpve-storage-perl | 0 < 7.4-4 | affected |
| Proxmox | libpve-storage-perl | 8.0.0 < 8.2.5 | affected |
| Proxmox | libpve-http-server-perl | 3.2-1 < 4.3.0 | affected |
| Proxmox | libpve-http-server-perl | 5.0.0 < 5.1.1 | affected |
| Proxmox | pmg-api | 0 < 7.3-12 | affected |
| Proxmox | pmg-api | 8.0.0 < 8.1.4 | affected |
| Proxmox | libpve-common-perl (Promox VE 8) | 0 < 8.2.3 | affected |
| Proxmox | libpve-common-perl (Promox Mail Gateway 8) | 0 < 8.2.5 | affected |
Weaknesses
- CWE-73: External Control of File Name or Path
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.