Compromising a Backup System by iSCSI Interface During a Routine Penetration Test
An iSCSI target on the internal network allowed unauthenticated login, so the tester could attach and mount the backup disk and read Veeam backup files. An attacker with network access could read or, if write access existed, encrypt or delete the backups.
Published on directdefense.com
This is the story of a routine internal network penetration test that led to the identification of a critical security issue.
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
Impact
This misconfiguration led to a full compromise of backup data; if write access were available, an attacker could encrypt or delete the backups.
What the attacker needed
Network access to the iSCSI target; no authentication on the iSCSI target
The fix
Authentication should be enabled on every device, and sensitive information should not be published even in the internal environment.
How it was found
- Scan the target IPs and find nothing interesting, then check the automatically assigned DNS servers to find another network.
- Scan that adjacent network and find the iSCSI server.
- Use the Send Targets method to discover the iSCSI targets.
- Attach the device by logging in without authentication.
- Mount the attached disk and list it as a regular disk.
- Access the Veeam backup files and extract the VBK files.
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.
iSCSI is a way to connect a storage disk over the network so it looks like a local disk. Here the storage did not ask for a username or password, so anyone who could reach it on the network could connect and read the backup files stored on it.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.