Veeam Backup and Replication CVE-2023-27532 Deep Dive
The Veeam Backup and Replication service exposed a WCF endpoint on TCP 9401 that let an unauthenticated caller invoke credential database methods. An attacker with network access to that port could retrieve cleartext usernames and passwords stored in the Veeam database.
Published on horizon3.ai
Veeam has recently released an advisory for CVE-2023-27532 for Veeam Backup and Replication which allows an unauthenticated user with access to the Veeam backup service (TCP 9401 by default) to request cleartext credentials. Others, including Huntress, Y4er, and CODE WHITE, have provided insight into this…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the WCF service endpoint exposed credential-lookup methods without any authentication check, so any client that spoke the protocol could invoke them.
Impact
An unauthenticated attacker with network access to the service port could obtain cleartext credentials stored in the Veeam database, which may allow further access to backed-up systems.
What the attacker needed
Network access to TCP 9401; no account needed
The fix
The vendor released an advisory and patches, and the author urges applying them promptly.
How it was found
- Find which application is listening on port 9401
- Reverse engineer the backup service binary and its configuration to learn the binding settings
- Build a WCF client in .NET Core that matches the service binding and identity
- Invoke the method that returns all stored credentials as a serialised blob
- Extract the credential identifiers from the blob and look up each credential individually
- Deserialise each result to read the usernames and passwords
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Veeam Backup is software that backs up servers and stores the login details it needs to reach them. Its background service listened on a network port and would hand back those stored logins to anyone who asked, without checking who they were. Anyone who could reach that port on the network could read the passwords.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.