Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2024-40718

CVE-2024-40718: SSRF Privilege Escalation Vulnerability

CVE-2024-40718 is an SSRF vulnerability that enables low-privileged users to escalate their privileges through server-side request forgery exploitation. This article covers technical details, attack vectors, and remediation strategies.

Published:

CVE-2024-40718 Overview

CVE-2024-40718 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] affecting Veeam products. A low-privileged authenticated user can exploit the flaw to perform local privilege escalation. The vulnerability was disclosed in a Veeam Knowledge Base Article and published to the National Vulnerability Database (NVD) on September 7, 2024.

Exploitation requires network access and low privileges but no user interaction. Successful attacks compromise confidentiality, integrity, and availability of the affected system.

Critical Impact

A low-privileged authenticated attacker can escalate to higher privileges through SSRF exploitation, gaining full control over the affected Veeam instance.

Affected Products

  • Veeam products referenced in Veeam KB4649
  • Specific product versions listed in the vendor advisory
  • Refer to the Veeam Knowledge Base for the authoritative affected-version list

Discovery Timeline

  • 2024-09-07 - CVE-2024-40718 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-40718

Vulnerability Analysis

CVE-2024-40718 is a Server-Side Request Forgery vulnerability classified under [CWE-918]. The application accepts a user-controllable URL or resource identifier and issues a request to that destination from the server context. Because the server processes the request with elevated privileges, an attacker can coerce it into interacting with internal services or resources not reachable from the attacker's own network position.

In this case, the SSRF primitive enables local privilege escalation. An authenticated low-privileged user leverages the server-side request behavior to invoke privileged endpoints or internal services that trust requests originating from the local host. This effectively bypasses the authorization boundary between low-privileged and administrative operations.

The combination of low attack complexity, network attack vector, and the requirement for only low-privileged authentication makes this an attractive target in environments where non-administrative Veeam accounts are provisioned to operators or automation systems.

Root Cause

The root cause is insufficient validation of destination URLs or targets before the server issues an outbound or internal request. The application does not adequately restrict which internal endpoints or address ranges can be reached, nor does it separate the privilege context of the invoking user from the privilege context of the internal request.

Attack Vector

An authenticated attacker with a low-privileged Veeam account submits a request containing an attacker-controlled URL. The Veeam server issues the request server-side, reaching privileged local or internal endpoints. The attacker uses this SSRF primitive to trigger administrative actions or retrieve privileged data, escalating to higher privileges within the Veeam environment.

No verified public proof-of-concept code is available for this vulnerability. Refer to the Veeam Knowledge Base Article for authoritative technical details.

Detection Methods for CVE-2024-40718

Indicators of Compromise

  • Unexpected outbound or loopback HTTP requests originating from the Veeam application service account
  • Requests from low-privileged Veeam user sessions immediately followed by administrative actions or configuration changes
  • Anomalous access to internal management endpoints (127.0.0.1, localhost, or internal service URLs) recorded in Veeam application logs
  • New privileged accounts, role changes, or backup job modifications performed by accounts that historically lacked such capability

Detection Strategies

  • Correlate Veeam authentication logs with subsequent server-issued HTTP requests to identify SSRF patterns
  • Alert on any request from the Veeam service that targets loopback addresses, link-local ranges, or internal management interfaces
  • Baseline normal Veeam API usage per user role and flag deviations, particularly privilege-sensitive operations initiated by non-admin roles

Monitoring Recommendations

  • Enable verbose audit logging on Veeam management endpoints and forward events to a centralized SIEM
  • Monitor process and network telemetry from the Veeam server host for outbound connections to unexpected internal destinations
  • Track role assignments, permission grants, and backup repository configuration changes for unauthorized modifications

How to Mitigate CVE-2024-40718

Immediate Actions Required

  • Apply the vendor-supplied patch referenced in the Veeam Knowledge Base Article as soon as possible
  • Inventory all Veeam deployments and identify instances accessible to low-privileged users
  • Review Veeam user accounts and remove or downgrade any accounts that do not require access
  • Rotate credentials for any accounts suspected of exposure prior to patching

Patch Information

Veeam has published remediation guidance in Veeam KB4649. Administrators should consult the advisory for the fixed version numbers applicable to their deployment and follow the vendor's upgrade procedure.

Workarounds

  • Restrict network access to Veeam management interfaces so that only trusted administrative hosts can reach them
  • Enforce strict role-based access control and remove low-privileged accounts that are not operationally required
  • Segment the Veeam server from other internal management endpoints where feasible to reduce SSRF blast radius
  • Monitor Veeam server outbound traffic and block requests to loopback and internal management ranges at the host firewall where the application does not require them

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

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.