Lab: SQL injection attack, listing the database contents on non-Oracle databases
Summary: PortSwigger's lab contains a SQL injection vulnerability in the product category filter, and the query results are returned in the application's response, allowing a UNION attack to pull data from other tables. The database holds a table of usernames and passwords, and solving the lab requires determining that table's name and columns, retrieving all users' credentials, and logging in as the administrator.
Key Takeaway: A single injectable filter parameter exposes every user's username and password in the database, including the administrator's - the same pattern that turns one unvalidated input into a full credential dump.
Read the original at PortSwigger Research ↗
- Topics
- Vulnerabilities & Patching
- Related
- Attackers Exploit UnrealIRCd Flaw That Enables Server-Level Command Injection Cyber Risks · Nov 14, 2026U.S. CISA adds Check Point and UnrealIRCd flaws to its Known Exploited Vulnerabilities catalog Cyber Risks · Nov 14, 2026PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE Cyber Risks · Nov 13, 2026