CriticalCVE-2021-27878

    Veritas Backup Exec Agent Command Execution Vulnerability (CVE-2021-27878)

    Published In CISA KEV since Sources: CVE.org

    What is affected, what to do

    An issue was discovered in Veritas Backup Exec before 21.2. The communication between a client and an Agent requires successful authentication, which is typically completed over a secure TLS communication.

    The vulnerability is being actively exploited; treat it as a priority. CISA lists it as used in ransomware campaigns. Update Veritas Backup Exec Agent to version 21.2. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • Veritas Backup Exec Agent lt *..21.2
    Fixed in
    • Veritas Backup Exec Agent 21.2

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    8.8

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    8.8

    CVSS v3

    Severity High on the scale from 0 to 10.

    Source: CVE.org

    24.0 %

    EPSS score

    Elevated — model estimates 10-50% exploitation likelihood.

    Source: FIRST EPSS, percentile 97.8

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    245.58 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploited
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    8.8 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    8.8
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    24.0 %
    Elevated — model estimates 10-50% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    97.8
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    CISA assessment (SSVC)
    Exploitation: active · not automatable · Technical impact: total
    Source: CISA Vulnrichment, as of 22 December 2023

    Response and mitigation

    Why act now?

    Prioritisation rationale

    This flaw bypasses the agent's SHA authentication and then abuses NDMP commands to run arbitrary code as SYSTEM. It is network-reachable and low-complexity. The nominal low-privilege requirement is effectively neutralised by the authentication flaw, and public exploit modules lower the bar further. CISA flags known ransomware campaign use. The typical pattern is initial access through internet-exposed Backup Exec, followed by deliberate destruction of backups before encryption. Exploitation likelihood is very high. Treat any Backup Exec deployment below 21.2 as critical. If port 10000 is reachable from the internet or from flat internal networks, handle it as an emergency change completed within 24 hours.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Inventory: Enumerate every host running the Backup Exec Remote Agent (Windows: "Backup Exec Remote Agent for Windows" service, beremote.exe; Linux/Unix: RALUS agent) and every Backup Exec server. Confirm versions from the BE server console or agent inventory. All versions before 21.2 are vulnerable.
      • Patch: Upgrade Backup Exec servers and all Remote Agents to 21.2 or later. Agents must be updated after the server upgrade, either by push install or manually; an upgraded server does not fix outdated agents. Check the Veritas vendor advisory for hotfix specifics.
      • Lock down TCP 10000 (NDMP) now: Allow inbound 10000/tcp on agent hosts only from Backup Exec media server IPs. Kill any exposure to the internet, user VLANs or VPN client pools immediately.
      • Compromise assessment: Hunt for child processes of beremote.exe on all agent hosts (see Detection rules), going back at least to the agent install date. On any hit, isolate the host and escalate per your IR plan, keeping the NIS2 24-hour early-warning deadline in mind.
      • Protect backup integrity: Ransomware use is confirmed, so verify that offline and immutable copies are intact. Air-gap or logically detach at least one backup set from the Backup Exec network until patching is complete.
      • Rotate credentials: If compromise is suspected, reset Backup Exec service accounts, stored BE logon accounts and local admin passwords on affected hosts.
    2. Runbook step 2

      Mitigation layers

      • Network segmentation: Move backup infrastructure into a dedicated management/backup VLAN. At host level, allow only the media servers: New-NetFirewallRule -DisplayName "BE Agent NDMP restrict" -Direction Inbound -Protocol TCP -LocalPort 10000 -RemoteAddress <MediaServerIP> -Action Allow, and block 10000/tcp from everything else.
      • IPS/NDR: Alert on NDMP from sources outside the media server allowlist, for example alert tcp !$BE_MEDIA_SERVERS any -> $BE_AGENTS 10000 (msg:"Unexpected NDMP to Backup Exec Agent"; flow:to_server,established; sid:...;). Enable the vendor IPS signatures for the publicly available exploit modules.
      • Endpoint hardening: Use EDR policy or ASR-style controls to block, or at minimum alert on, cmd.exe, powershell.exe, rundll32.exe and mshta.exe spawned by beremote.exe. The agent runs as SYSTEM, so any such child process means immediate full host control.
      • Attack-surface reduction: Uninstall the agent from hosts that are no longer backed up. On legacy systems that cannot reach 21.2, stop and disable the agent service until they are migrated.
      • IAM/least privilege: Do not run Backup Exec service accounts as Domain Admin. Scope their rights to the minimum required and deny interactive and RDP logon via GPO.
    3. Runbook step 3

      Detection rules

      • EDR / Sysmon EID 1 / Security EID 4688: Look for process creation where ParentImage ends in \beremote.exe and Image is a shell or LOLBin. KQL: DeviceProcessEvents | where InitiatingProcessFileName =~ "beremote.exe" | where FileName in~ ("cmd.exe","powershell.exe","rundll32.exe","certutil.exe").
      • Network telemetry (Zeek conn.log / Suricata): Flag sessions to id.resp_p == 10000 from sources not on the media server allowlist. Internet, VPN-pool and workstation sources are especially suspicious.
      • Post-exploitation persistence: Correlate EID 7045 (service install), EID 4720/4732 (account created or added to Administrators) and Sysmon EID 11 (file drops in C:\Windows\Temp or C:\ProgramData) occurring shortly after NDMP sessions to agent hosts.
      • Linux/RALUS: Use auditd to catch execve calls whose parent is beremote (-a always,exit -F arch=b64 -S execve -k be_agent_exec). Alert on /bin/sh or /bin/bash spawned under the agent.
      • Ransomware precursors: Treat vssadmin delete shadows, wbadmin delete catalog or bcdedit /set recoveryenabled no on backup hosts as critical alerts that trigger auto-isolation.

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    An issue was discovered in Veritas Backup Exec before 21.2. The communication between a client and an Agent requires successful authentication, which is typically completed over a secure TLS communication. However, due to a vulnerability in the SHA Authentication scheme, an attacker is able to gain unauthorized access and complete the authentication process. Subsequently, the client can execute data management protocol commands on the authenticated connection. The attacker could use one of these commands to execute an arbitrary command on the system using system privileges.

    Source: cvelistv5, NVD (NIST), CISA KEV Catalog, CVE.org (MITRE)

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    veritasbackup_exec
    • < 21.2
    • 21.2

    Vendors and products

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited
    Packet StormVeritas Backup Exec Agent Remote Code Execution (opens in a new tab)packetstormsecurity.comPoC (publicly reported)reported, not verified—

    References & sources

    • veritas.comcontent/support/en_US/security/VTS21-001x_refsource_MISC, Vendor advisory
    • packetstormsecurity.comfiles/168506/Veritas-Backup-Exec-Agent-Remote-Code-Execution.ht…x_refsource_MISC, Exploit, Third-party advisory, Vulnerability database
    • cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2021-27878government-resource, US government resource
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2021-27878
    <a href="https://intel.neosec.eu/en/cve/CVE-2021-27878"><img src="https://intel.neosec.eu/badge/cve/CVE-2021-27878.svg?lang=en" alt="CVE-2021-27878 – NEOSEC Intel" height="20"></a>