Veeam Plaintext Credential Exposure PoC: From Local Access to Pri
Veeam Backup & Replication stores managed infrastructure credentials in a recoverable form, and the recovery material (a DPAPI salt) is accessible on the same host. A local administrator could read the encrypted credentials from the internal database, obtain the salt from the registry, decrypt them in plaintext, and use them to log into connected Windows, Linux and ESXi systems.
Published on so-sonajaa.medium.com
The findings described in this article were validated in a controlled lab environment for security research and responsible disclosure. Any associated PoC material was used strictly for authorized testing and is not distributed through this publication.
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 encryption key material (a DPAPI salt) is stored on the same host as the encrypted credential database, so local administrator access to the host is enough to decrypt the stored credentials.
Impact
Once the Veeam server is locally compromised, recovered plaintext credentials may give access to connected Windows, Linux and ESXi systems, turning the backup server into a pivot point for wider infrastructure compromise.
What the attacker needed
Local administrator on the Veeam server
How it was found
- As a local administrator, open PowerShell on the Veeam server and query the internal PostgreSQL credentials table to list usernames and encrypted passwords.
- Read the DPAPI encryption salt and related values from the Veeam registry key.
- Run the proof-of-concept script with the salt and encrypted blob to decrypt all stored credentials in plaintext.
- Use the recovered plaintext credentials to log in to the connected Linux, Windows and ESXi systems.
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.
A backup server keeps the usernames and passwords it needs to reach other machines. Here those passwords were stored in a scrambled form, but the key needed to unscramble them sat on the same server. So anyone who already had administrator rights on that server could turn the scrambled passwords back into readable text and then log in to the other machines.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.