CVE-2024-21545

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

VendorProductVersion RangeStatus
Proxmoxpve-manager0 < 7.4-19affected
Proxmoxpve-manager8.0.0 < 8.2.7affected
Proxmoxlibpve-storage-perl0 < 7.4-4affected
Proxmoxlibpve-storage-perl8.0.0 < 8.2.5affected
Proxmoxlibpve-http-server-perl3.2-1 < 4.3.0affected
Proxmoxlibpve-http-server-perl5.0.0 < 5.1.1affected
Proxmoxpmg-api0 < 7.3-12affected
Proxmoxpmg-api8.0.0 < 8.1.4affected
Proxmoxlibpve-common-perl (Promox VE 8)0 < 8.2.3affected
Proxmoxlibpve-common-perl (Promox Mail Gateway 8)0 < 8.2.5affected

Weaknesses

  • CWE-73: External Control of File Name or Path

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References