Skip to main content
Mallory
CriticalCISA KEVExploited in the wildPublic exploit

Unauthenticated RCE in Veeam Backup & Replication

IdentifiersCVE-2024-40711CWE-502· Deserialization of Untrusted Data

CVE-2024-40711 is a critical deserialization of untrusted data vulnerability in Veeam Backup & Replication (also referred to in the content as Veeam Backup & Recovery). The flaw allows a remote, unauthenticated attacker to send a crafted malicious serialized payload to a vulnerable Veeam Backup & Replication service and trigger remote code execution. The issue is described as affecting Veeam Backup & Replication version 12.1.2.172 and earlier 12.x builds; other content also summarizes the affected range as versions up to and including 12.1.2. The vulnerability has been assigned CVSS 9.8 and has been observed in real-world ransomware intrusion chains.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows arbitrary code execution on the vulnerable Veeam Backup & Replication server without authentication. This can result in full compromise of the backup server, including attacker-controlled process execution, creation of local accounts for persistence or privilege escalation, credential theft, use of the backup infrastructure as a pivot point for lateral movement, disruption of backup and recovery operations, and follow-on ransomware deployment. The content specifically notes observed abuse by ransomware operators including Akira, Fog, and Frag, and that the vulnerability was added to the CISA Known Exploited Vulnerabilities catalog.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict all network access to Veeam Backup & Replication management and service interfaces to trusted administrative networks only, remove any direct Internet exposure, and tightly segment backup infrastructure from user and general server networks. Monitor for suspicious child processes and account creation originating from Veeam components, including behavior such as Veeam.Backup.MountService.exe spawning net.exe, credential dumping from backup servers, and anomalous PowerShell or cmd.exe execution. Apply compensating network controls and continuous compromise assessment until patching is completed.

Remediation

Patch, then assume compromise.

Upgrade Veeam Backup & Replication to a vendor-fixed release. The content states Veeam addressed CVE-2024-40711 in Veeam Backup & Replication 12.2 build 12.2.0.334 and advised customers running 12.1.2.172 or earlier 12.x builds to update immediately. Unsupported older versions were not tested by the vendor and should be treated as vulnerable; they should be upgraded to a supported fixed version. Follow vendor guidance referenced as KB4649 where applicable.
PUBLIC EXPLOITS

Exploits

2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 2 / 2 TOTALView more in app
CVE-2024-40711-ExpMaturityPoCVerified exploit

This repository is a proof-of-concept (PoC) exploit for CVE-2024-40711, targeting unsafe .NET object deserialization in Microsoft .NET Framework 4.8 applications. The core exploit logic is implemented in C# within the 'ExploitClass' and 'GhostWebShell' classes. The exploit demonstrates multiple payloads, including displaying a message box, writing files to disk, making DNS requests for out-of-band detection, executing arbitrary system commands, and deploying a persistent ASP.NET webshell by registering a custom VirtualPathProvider. The webshell is written to a virtual path (e.g., /fakepath31337/ghostfile.aspx) and can persist across application restarts. The exploit requires the target application to deserialize attacker-controlled data using vulnerable gadget chains. The repository also includes a test console application for local code execution testing and various package dependencies. The exploit is operational and provides real payloads for code execution and persistence, making it a valuable tool for both offensive security testing and defensive research.

realstatusDisclosed Oct 16, 2024csharpxmlnetworklocal
CVE-2024-40711MaturityPoCFrameworkysoserial.netVerified exploit

This repository is a comprehensive proof-of-concept and exploitation toolkit for CVE-2024-40711, a critical .NET deserialization vulnerability affecting Veeam Backup & Replication. The core of the repository is based on ysoserial.net, a well-known framework for generating .NET deserialization payloads using various gadget chains. The structure includes: - **ysoserial**: The main payload generator, supporting multiple gadgets and formatters for .NET deserialization attacks. - **ExploitClass/ExploitClass.cs**: Example C# class for custom payloads, demonstrating code execution (e.g., message box, file creation, DNS exfiltration, command execution). - **ExploitClass/GhostWebShell.cs**: Implements a webshell dropper via virtual path provider manipulation, allowing persistent webshell deployment on vulnerable ASP.NET applications. - **TestConsoleApp**: Used for local testing of code execution. - **ExploitRemotingService**: Example .NET Remoting server for testing and exploitation. The exploit works by generating a malicious serialized payload (using ysoserial.net) that, when deserialized by a vulnerable .NET application (such as Veeam's Remoting service), results in arbitrary code execution. The toolkit supports a variety of payloads, including command execution, file creation, and webshell deployment. The main attack vector is network-based, targeting the .NET Remoting TCP service (commonly on port 6170). The repository also provides example endpoints and payloads for exfiltration and post-exploitation (e.g., DNS, HTTP, file system). Overall, this is a weaponized, operational exploit framework for CVE-2024-40711, suitable for both research and real-world exploitation scenarios.

watchtowrlabsDisclosed Sep 15, 2024csharpxmlnetwork
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Veeam SoftwareBackup & Replicationapplication
Veeam SoftwareVeeam Backup & Replicationapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence1

Every observed campaign linking this CVE to a named adversary.

Associated malware11

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity3

Community discussion across Reddit, Mastodon, and other social sources.

Unauthenticated RCE in Veeam Backup & Replication (CVE-2024-40711) | Mallory