Cybernetics

Case finding

UNION-based SQL injection on DVWA sqli module id parameter (Low)

DVWA / SQL - Low

Research ledger

Proof record

Prerequisites

Authenticated session on authorized local DVWA lab; security level low

Reproduction

  1. Login as admin. 2. Set security to low. 3. id=1' to observe error. 4. ORDER BY 1..3 for column count. 5. id=0 UNION SELECT user,password FROM users# to extract data.

PoC summary

id=0 UNION SELECT user,password FROM users# returned 5 lab users with MD5 hashes from the users table.

Evidence summary

Baseline id=1 -> admin/admin. Single quote -> raw MySQL error (low.php:11). UNION query -> full users table exfil. admin hash MD5('password').

Negative checks

None tested at Low since module is trivially vulnerable; parameterized/escaping controls are the expected invalidating condition at higher levels.

Impact

Not recorded yet.

Evidence artifacts

No evidence linked.