CVE-2023-40256

9.8 CRITICAL

📋 TL;DR

CVE-2023-40256 allows untrusted clients to interact with RabbitMQ service in Veritas NetBackup Snapshot Manager due to improper certificate validation. This could compromise backup/restore job control messages and cause service disruption. Only affects NetBackup Snapshot Manager versions before 10.2.0.1.

💻 Affected Systems

Products:
  • Veritas NetBackup Snapshot Manager
Versions: All versions before 10.2.0.1
Operating Systems: All supported platforms
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects NetBackup Snapshot Manager feature, not RabbitMQ on NetBackup primary servers.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers intercept or manipulate backup/restore job control messages, causing service unavailability and potential data integrity issues for backup operations.

🟠

Likely Case

Unauthorized access to RabbitMQ service allowing message interception or injection affecting backup job scheduling and monitoring.

🟢

If Mitigated

Limited to backup job control plane with no access to actual backup data, minimal impact with proper network segmentation.

🌐 Internet-Facing: HIGH if RabbitMQ service is exposed to internet without proper authentication controls.
🏢 Internal Only: MEDIUM as it requires network access to the vulnerable service but could be exploited by internal threat actors.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires network access to RabbitMQ service but no authentication due to certificate validation bypass.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 10.2.0.1

Vendor Advisory: https://www.veritas.com/content/support/en_US/security/VTS23-011

Restart Required: Yes

Instructions:

1. Download NetBackup Snapshot Manager 10.2.0.1 from Veritas support portal. 2. Backup current configuration. 3. Apply the update following Veritas installation guide. 4. Restart services to apply changes.

🔧 Temporary Workarounds

Network Segmentation

all

Restrict network access to RabbitMQ service (default port 5672) to trusted clients only.

firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="TRUSTED_IP" port protocol="tcp" port="5672" accept'
netsh advfirewall firewall add rule name="Block RabbitMQ" dir=in action=block protocol=TCP localport=5672 remoteip=any

RabbitMQ Certificate Enforcement

linux

Configure RabbitMQ to require and properly validate client certificates.

rabbitmqctl set_parameter ssl_options '{"cacertfile":"/path/to/ca_certificate.pem","certfile":"/path/to/server_certificate.pem","keyfile":"/path/to/server_key.pem","verify":"verify_peer","fail_if_no_peer_cert":true}'

🧯 If You Can't Patch

  • Implement strict network access controls to isolate RabbitMQ service from untrusted networks.
  • Monitor RabbitMQ service logs for unauthorized connection attempts and implement alerting.

🔍 How to Verify

Check if Vulnerable:

Check NetBackup Snapshot Manager version: if version is below 10.2.0.1, system is vulnerable.

Check Version:

On NetBackup Snapshot Manager host: vnetd -version or check installed packages for netbackup-snapshot-manager version.

Verify Fix Applied:

Verify version is 10.2.0.1 or higher and test RabbitMQ connectivity with invalid certificates (should be rejected).

📡 Detection & Monitoring

Log Indicators:

  • RabbitMQ logs showing connections without valid certificates
  • Failed authentication attempts from unexpected IP addresses

Network Indicators:

  • Unauthorized connections to port 5672 (RabbitMQ default)
  • Unencrypted or improperly authenticated AMQP traffic

SIEM Query:

source="rabbitmq.log" AND ("connection attempt" OR "failed auth") AND NOT source_ip IN [TRUSTED_NETWORKS]

🔗 References

📤 Share & Export