CVE-2025-59468

9.0 CRITICAL

📋 TL;DR

This vulnerability allows a Backup Administrator with legitimate credentials to execute arbitrary code as the postgres user by sending a malicious password parameter during authentication. It affects Veeam Backup & Replication systems where Backup Administrators could potentially escalate privileges to remote code execution.

💻 Affected Systems

Products:
  • Veeam Backup & Replication
Versions: Versions prior to the fix in KB4792
Operating Systems: Windows Server
Default Config Vulnerable: ⚠️ Yes
Notes: Requires Backup Administrator role access to exploit. The vulnerability is in the authentication mechanism when connecting to the PostgreSQL database component.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise allowing attacker to execute arbitrary commands as postgres user, potentially leading to data theft, ransomware deployment, or lateral movement across the network.

🟠

Likely Case

Privilege escalation from Backup Administrator to postgres user, enabling database manipulation, credential harvesting, and further system access.

🟢

If Mitigated

Limited impact if proper access controls and network segmentation are in place, restricting Backup Administrator accounts to only trusted personnel.

🌐 Internet-Facing: MEDIUM - While exploitation requires Backup Administrator credentials, internet-facing Veeam instances could be targeted through credential theft or brute force attacks.
🏢 Internal Only: HIGH - Backup Administrators with legitimate access could exploit this vulnerability, making insider threats a significant concern.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires Backup Administrator credentials but is straightforward once credentials are obtained. The vulnerability is in password parameter handling.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version specified in Veeam KB4792

Vendor Advisory: https://www.veeam.com/kb4792

Restart Required: Yes

Instructions:

1. Download the patch from Veeam KB4792. 2. Apply the patch to all Veeam Backup & Replication servers. 3. Restart the Veeam services. 4. Verify the patch is applied successfully.

🔧 Temporary Workarounds

Restrict Backup Administrator Access

all

Limit Backup Administrator accounts to only essential personnel and implement strict access controls.

Network Segmentation

all

Isolate Veeam Backup & Replication servers from critical systems and implement firewall rules to restrict access.

🧯 If You Can't Patch

  • Implement strict monitoring of Backup Administrator account activity and PostgreSQL authentication logs
  • Apply principle of least privilege and review all Backup Administrator accounts for necessity

🔍 How to Verify

Check if Vulnerable:

Check Veeam Backup & Replication version against the patched version in KB4792. Review if running a vulnerable version.

Check Version:

In Veeam Backup & Replication console: Help → About, or check installed programs in Windows Control Panel

Verify Fix Applied:

Verify the patch version from KB4792 is installed and check Veeam service logs for successful patch application.

📡 Detection & Monitoring

Log Indicators:

  • Unusual PostgreSQL authentication attempts from Backup Administrator accounts
  • Suspicious command execution in PostgreSQL logs
  • Multiple failed authentication attempts followed by successful login

Network Indicators:

  • Unusual network connections from Veeam servers to unexpected destinations
  • Suspicious outbound traffic from PostgreSQL ports

SIEM Query:

source="veeam_logs" OR source="postgresql_logs" AND (event="authentication" OR event="connection") AND user="postgres" AND status="success" | stats count by src_ip, user

🔗 References

📤 Share & Export