The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-21545

CVE-2024-21545: Proxmox Virtual Environment File Read

CVE-2024-21545 is an information disclosure flaw in Proxmox Virtual Environment allowing authenticated attackers to read arbitrary files via the API. This post covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-21545 Overview

CVE-2024-21545 is an arbitrary file read vulnerability affecting Proxmox Virtual Environment, 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 checks 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, resulting in arbitrary file read.

Critical Impact

This vulnerability can result in full compromise of the system through disclosure of sensitive files, enabling privileged session forgery and complete system takeover.

Affected Products

  • Proxmox Virtual Environment (versions prior to patched release)
  • Proxmox VE API Server (pve-http-server)
  • Systems running vulnerable Proxmox VE installations

Discovery Timeline

  • September 25, 2024 - CVE-2024-21545 published to NVD
  • September 26, 2024 - Last updated in NVD database

Technical Details for CVE-2024-21545

Vulnerability Analysis

This vulnerability is classified as CWE-73 (External Control of File Name or Path), allowing authenticated attackers to manipulate API responses to read arbitrary files from the host system. The flaw exists in the Proxmox VE HTTP server's API request handling mechanism, specifically within the handle_api2_request function located in the PVE/APIServer/AnyEvent.pm module.

The vulnerability requires network access and authentication with either Sys.Audit or VM.Monitor privileges. While the attack complexity is high due to the specific conditions required for exploitation, successful exploitation can have severe consequences including cross-scope impact on confidentiality and integrity.

The arbitrary file read capability is particularly dangerous in virtualization environments where configuration files, certificates, and authentication tokens may contain sensitive information that could be leveraged for further attacks.

Root Cause

The root cause stems from insufficient validation of API response objects. The handle_api2_request function trusts the download object within API responses without adequately verifying that the file path specified is within an allowed scope. This allows attackers who can influence the response object to specify arbitrary file paths for download, bypassing intended access controls.

The vulnerable code path checks for download or data->download objects in the response and proceeds to read the specified file from the local filesystem without proper sanitization or access control validation.

Attack Vector

The attack is network-based, requiring an authenticated attacker with specific privileges (Sys.Audit or VM.Monitor). The attacker exploits the API by crafting requests that manipulate the response handler to include a user-controlled download object pointing to sensitive system files.

The exploitation flow involves:

  1. Authenticating to the Proxmox VE API with valid credentials possessing Sys.Audit or VM.Monitor privileges
  2. Identifying vulnerable API endpoints that allow control over the response object
  3. Crafting malicious requests that inject a download object with a path to a target file
  4. The handle_api2_request function processes the response and reads the specified file
  5. The attacker receives the contents of the arbitrary file in the API response

Sensitive files that could be targeted include /etc/shadow, /etc/pve/priv/authkey.key, SSL certificates, and other authentication tokens that could enable session forgery or privilege escalation.

Detection Methods for CVE-2024-21545

Indicators of Compromise

  • Unusual API requests from users with Sys.Audit or VM.Monitor privileges accessing unexpected endpoints
  • API responses containing file contents that should not be accessible through normal operations
  • Access logs showing repeated requests to the same API endpoints with varying parameters
  • Authentication attempts using forged sessions following API exploitation

Detection Strategies

  • Monitor Proxmox API access logs for anomalous request patterns, particularly targeting endpoints that could influence response objects
  • Implement file access auditing on sensitive system files such as /etc/pve/priv/, /etc/shadow, and certificate directories
  • Deploy network-based detection for API responses containing unexpected file content or system configuration data
  • Correlate authentication events with API access patterns to identify potential session forgery attempts

Monitoring Recommendations

  • Enable verbose logging for Proxmox API server to capture detailed request and response information
  • Implement SIEM rules to alert on access to sensitive file paths through API endpoints
  • Monitor for new or unusual sessions that may indicate successful session forgery
  • Establish baseline API usage patterns for privileged users to detect anomalous behavior

How to Mitigate CVE-2024-21545

Immediate Actions Required

  • Apply the latest security patches from Proxmox as documented in the Proxmox Security Advisory
  • Review and restrict users with Sys.Audit and VM.Monitor privileges to minimize attack surface
  • Audit API access logs for any suspicious activity that may indicate exploitation attempts
  • Consider implementing additional network segmentation to limit API access to trusted networks only

Patch Information

Proxmox has released security patches addressing this vulnerability. Administrators should consult the official Proxmox Security Advisory for detailed patching instructions and affected version information.

The fix addresses the insufficient validation in the handle_api2_request function to ensure that file download operations are properly restricted to authorized paths. Technical details of the vulnerable code can be reviewed in the Proxmox API Server Code Review.

Workarounds

  • Temporarily revoke Sys.Audit and VM.Monitor privileges from non-essential users until patches can be applied
  • Implement network-level access controls to restrict API access to management interfaces only
  • Deploy a web application firewall (WAF) or API gateway with rules to inspect and filter suspicious API requests
  • Enable strict audit logging and monitoring while awaiting patch deployment
bash
# Example: Restrict API access via firewall rules
# Limit access to Proxmox API port to trusted management networks only
iptables -A INPUT -p tcp --dport 8006 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8006 -j DROP

# Review users with elevated privileges
pveum user list | grep -E "Sys.Audit|VM.Monitor"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechProxmox

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-73
  • Technical References
  • Proxmox Security Advisory

  • Proxmox API Server Code Review
  • Related CVEs
  • CVE-2023-43320: Proxmox Backup Server Privilege Escalation
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English