Unauthenticated Iscsi Targets From Basics To Exploitation
An iSCSI target was exposed without authentication, allowing any host to discover and log in to it. An attacker could then access the attached block storage, potentially reading, modifying, or destroying data.
Storage systems are prime targets in modern infrastructure. One common technology used for block storage over IP networks is iSCSI (Internet Small Computer Systems Interface).
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 iSCSI target was configured without CHAP authentication or initiator restrictions, allowing any host to log in.
Impact
An attacker could read, modify, or destroy data on the exposed storage, and could use it for further attacks such as ransomware or lateral movement.
What the attacker needed
Network access to TCP port 3260; iSCSI target without authentication; Linux host with iscsiadm
The fix
The text recommends enforcing authentication (such as CHAP), restricting initiators by IQN or IP, and segmenting storage networks.
How it was found
- Start the iSCSI daemon on the attacker's machine.
- Discover available iSCSI targets on the network.
- Log in to the target without providing credentials.
- Verify that a new block device has been attached.
- Mount the block device to access its file system.
- Log out and stop the iSCSI daemon to clean up.
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 to a storage device over a network as if it were a local disk. If the storage server does not require a password, anyone who can reach it can connect and see the disk. This post shows how an attacker could use a standard Linux tool to connect and then read or change files on that disk.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.