Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
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 provided content as Veeam Backup & Recovery). A remote attacker can send a crafted malicious serialized payload to a vulnerable Veeam Backup & Replication instance and trigger unsafe deserialization, resulting in unauthenticated remote code execution. The provided content identifies the flaw as affecting Veeam Backup & Replication 12.1.2.172 and all earlier 12.x builds, and notes it was fixed in version 12.2.0.334.

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 target Veeam Backup & Replication server without authentication, which can lead to full compromise of the backup infrastructure. The provided content states the flaw has been used in real-world intrusions, including by ransomware operators, to create local administrator accounts on Veeam servers and facilitate follow-on activity such as persistence, credential access, lateral movement, and ransomware deployment.

Mitigation

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

If immediate patching is not possible, restrict network access to Veeam Backup & Replication services and management interfaces to trusted administrative hosts only, remove unnecessary Internet exposure, and closely monitor for suspicious child processes, account creation, and anomalous activity on Veeam servers. The provided content specifically recommends restricting network access to the management interface and monitoring for suspicious activity until patches are applied.

Remediation

Patch, then assume compromise.

Upgrade Veeam Backup & Replication to the vendor-fixed release identified in the provided content: version 12.2.0.334 or later. The content states that CVE-2024-40711 affects version 12.1.2.172 and all earlier 12.x builds, and that unsupported older versions should be considered vulnerable by the vendor. Apply the vendor security bulletin guidance and verify the installed build after updating.
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 evidence3

Every observed campaign linking this CVE to a named adversary.

Associated malware20

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 activity5

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