Monday, March 24, 2025
HomeCVE/vulnerabilityVeeam RCE Vulnerability Allows Domain Users to Hack Backup Servers

Veeam RCE Vulnerability Allows Domain Users to Hack Backup Servers

Published on

SIEM as a Service

Follow Us on Google News

Researchers uncovered critical Remote Code Execution (RCE) vulnerabilities in the Veeam Backup & Replication solution.

These vulnerabilities, which include CVE-2025-23120, exploit weaknesses in deserialization mechanisms, potentially allowing any domain user to gain SYSTEM access to Veeam backup servers.

This is particularly concerning for organizations that have integrated their Veeam servers into their Active Directory domains.

CVE-2025-23120: Exploiting Deserialization Weaknesses

The exploitation is facilitated through the use of deserialization gadgets within the Veeam codebase.

Specifically, the researchers leveraged the Veeam.Backup.EsxManager.xmlFrameworkDs class, which extends the DataSet class, as per a report by WatchTowr Lab.

This makes it a potent gadget for achieving RCE due to its ability to call the parent class’s constructor, thus enabling immediate RCE capabilities.

namespace Veeam.Backup.EsxManager
{
    [Serializable]
    public class xmlFrameworkDs : DataSet
    {
        protected xmlFrameworkDs(SerializationInfo info, StreamingContext context)
            : base(info, context, false)
        {
            if (base.IsBinarySerialized(info, context))
            {
                this.InitVars(false);
                CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
                this.Tables.CollectionChanged += value;
                this.Relations.CollectionChanged += value;
                return;
            }
            //...
        }
    }
}

This vulnerability exploits the inherent weaknesses in blacklist-based deserialization security mechanisms.

Veeam had previously attempted to mitigate similar issues by extending their deserialization blacklist.

However, the researchers found that this approach is inherently flawed, as it hinges on maintaining an exhaustive list of malicious classes, which is nearly impossible given the vast number of potential gadgets in the .NET Framework and third-party libraries.

Privileges Required for Exploitation

To exploit these vulnerabilities, users need to access the Veeam .NET Remoting channel.

This access does not require administrative privileges; instead, any user belonging to the local Users group on the Windows host can exploit these vulnerabilities.

Even more alarming, when the Veeam server is joined to a domain, any domain user can exploit these flaws due to the way authorization checks are implemented in the Veeam Mount Service.

The authorization checks are performed by the CMountServiceAccessChecker.HasAccess method, which grants access if the user is in the WindowsBuiltInRole.User group.

This includes domain users if the domain configuration allows the Domain Users group to be added to the local Users group:

The discovery of these RCE vulnerabilities in Veeam Backup & Replication underscores the risks associated with using blacklist-based security mechanisms.

It highlights the importance of moving towards whitelist-only approaches to prevent similar vulnerabilities in the future.

For organizations using Veeam, it is crucial to apply the latest patches and consider isolating backup servers from domain networks to mitigate these risks.

Investigate Real-World Malicious Links & Phishing Attacks With Threat Intelligence Lookup - Try for Free

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Latest articles

WordPress Plugin Flaw Exposes 200,000+ Sites at Risk of Code Execution

A critical security vulnerability has been discovered in the popular WordPress plugin, WP Ghost,...

China’s Baidu Compromised in Data Leak, Affecting Users

Chinese tech giant Baidu has faced severe scrutiny after allegations emerged that a top...

New Browser-Based RDP Tool Enables Secure Remote Access to Windows Servers

Cloudflare has introduced a groundbreaking browser-based Remote Desktop Protocol (RDP) solution. This innovative tool...

Critical Next.js Middleware Vulnerability Allows Attackers to Bypass Authorization

A severe vulnerability has been identified in Next.js, a popular React framework used for...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

WordPress Plugin Flaw Exposes 200,000+ Sites at Risk of Code Execution

A critical security vulnerability has been discovered in the popular WordPress plugin, WP Ghost,...

China’s Baidu Compromised in Data Leak, Affecting Users

Chinese tech giant Baidu has faced severe scrutiny after allegations emerged that a top...

New Browser-Based RDP Tool Enables Secure Remote Access to Windows Servers

Cloudflare has introduced a groundbreaking browser-based Remote Desktop Protocol (RDP) solution. This innovative tool...