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

Authentication bypass in Veritas Backup Exec Agent via legacy SHA authentication

IdentifiersCVE-2021-27877CWE-287

CVE-2021-27877 affects Veritas Backup Exec before version 21.2. The product supported multiple authentication schemes, including a legacy SHA-based authentication mechanism. Although this scheme was no longer used in current product operation, it had not been disabled. A remote attacker could exploit the still-enabled legacy authentication path to gain unauthorized access to a Backup Exec Agent and then execute privileged commands on that agent.

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 an unauthenticated remote attacker to bypass intended authentication controls, obtain unauthorized access to a Veritas Backup Exec Agent, and execute privileged commands. This can enable compromise of the agent host, abuse of backup infrastructure, and potentially follow-on actions affecting confidentiality, integrity, and availability of protected systems and data.

Mitigation

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

Until patching is completed, reduce exposure of Backup Exec Agents to untrusted networks, restrict network access to agent services to only authorized Backup Exec infrastructure and administrative hosts, and monitor for unexpected authentication attempts or privileged command execution against agents. Segmentation and host-based access controls can reduce the likelihood of remote exploitation.

Remediation

Patch, then assume compromise.

Upgrade Veritas Backup Exec to version 21.2 or later, where the obsolete SHA authentication scheme is no longer exposed for exploitation. If vendor guidance is available in the environment, apply the corresponding Veritas security update or hotfix addressing CVE-2021-27877.
PUBLIC EXPLOITS

Exploits

1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 1 / 1 TOTALView more in app
CVE-2021-27876MaturityPoCVerified exploit

Repository is a small standalone Python proof-of-concept/operational exploit consisting of one main script (be_rce.py), a README, and a license. The script targets Veritas Backup Exec Agent over the network on TCP/10000 using NDMP and implements a full exploit chain for CVE-2021-27876, CVE-2021-27877, and CVE-2021-27878. The exploit is not merely a detector: it performs active exploitation. Its core capabilities are: connecting to the NDMP service, performing the custom TLS-related handshake by generating a local CA and signing the agent CSR, abusing the SHA authentication weakness to authenticate as Administrator without a password, invoking NDMP_EXECUTE_COMMAND to run arbitrary OS commands as NT AUTHORITY\SYSTEM, reading command output back from a temporary file via NDMP file operations, and deleting the temporary file afterward. Code structure in be_rce.py includes: XDR serialization/deserialization helpers for NDMP message formatting; an NDMPSock class for framed NDMP send/receive and TLS socket wrapping; certificate helper routines to generate a CA and sign the server CSR; and an exploit entry point that chains connection, handshake, auth bypass, command execution, file open/read/close, and cleanup. The script accepts target and command from the command line, with a hardcoded default target IP if omitted. Notable observables include the NDMP service port 10000, the Windows temp output file C:\Windows\Temp\_be_out.txt, and use of C:\Windows\System32\cmd.exe for execution. The README documents affected versions, usage examples, and remediation guidance. Overall, this is a real standalone network RCE exploit with a basic but functional hardcoded payload flow, making it best classified as OPERATIONAL rather than a framework-integrated or detection-only artifact.

wingerbijayDisclosed Jun 18, 2026pythonmarkdownnetwork
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
Veritas TechnologiesBackup Execapplication

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

ACTIVITY FEED

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

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 evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware1

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 activity2

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