Vulnerability · Published Sep 24, 2024 · Assigned by snyk
CVE-2024-21545
High 8.2
In plain English
A high-severity security flaw in libpve-common-perl (Promox Mail Gateway 8) from Proxmox. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Proxmox | pve-manager | 0 – before 7.4-198.0.0 – before 8.2.7 |
| Proxmox | libpve-storage-perl | 0 – before 7.4-48.0.0 – before 8.2.5 |
| Proxmox | libpve-http-server-perl | 3.2-1 – before 4.3.05.0.0 – before 5.1.1 |
| Proxmox | pmg-api | 0 – before 7.3-128.0.0 – before 8.1.4 |
| Proxmox | libpve-common-perl (Promox VE 8) | 0 – before 8.2.3 |
| Proxmox | libpve-common-perl (Promox Mail Gateway 8) | 0 – before 8.2.5 |
Weakness: CWE-73 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N