Server-Side Topic

SQL injection

SQL injection is a critical security vulnerability that allows an attacker to interfere with the queries that an application makes to its database. Master data exfiltration, authentication subversion, UNION attacks, blind conditional errors, and out-of-band exfiltration across four distinct skill tiers.

LABEASY
Not solved

SQL injection vulnerability in WHERE clause allowing retrieval of hidden data

This lab contains a SQL injection vulnerability in the product category filter. Exploit the query to bypass the release filter and retrieve unreleased catalog items.

LABEASY
Not solved

SQL injection vulnerability allowing login bypass

This lab contains a SQL injection vulnerability in the login mechanism. Craft an injection payload that circumvents credential evaluation to log in as the administrator user.

LABMEDIUM
Not solved

SQL injection attack, querying the database type and version on Oracle

This lab contains a SQL injection vulnerability in the product category filter. Perform a UNION attack against the Oracle database to retrieve and display the database version banner.

LABMEDIUM
Not solved

SQL injection attack, querying the database type and version on MySQL and Microsoft

This lab contains a SQL injection vulnerability in the product category filter. Perform a UNION attack to retrieve the database version string from MySQL and Microsoft SQL servers.

LABMEDIUM
Not solved

SQL injection UNION attack, determining the number of columns returned by the query

Determine the number of columns returned by the original query using ORDER BY or UNION SELECT NULL probes to prepare for structured data exfiltration.

LABMEDIUM
Not solved

SQL injection UNION attack, finding a column containing text

Probe individual columns within a multi-column result set using string literals to identify columns compatible with text-based data extraction.

LABMEDIUM
Not solved

SQL injection UNION attack, retrieving data from other tables

Execute a UNION attack against the product query to extract usernames and passwords from the database users table, then log in as the administrator.

LABMEDIUM
Not solved

SQL injection UNION attack, retrieving multiple values in a single column

Concatenate multiple database fields into a single column using database-specific string concatenation operators to retrieve credentials through a single text column.

LABHARD
Not solved

SQL injection attack, listing the database contents on non-Oracle databases

Query the information_schema metadata tables on PostgreSQL/MySQL to enumerate table names and column definitions, then extract administrator credentials.

LABHARD
Not solved

SQL injection attack, listing the database contents on Oracle

Query Oracle system views all_tables and all_tab_columns while satisfying Oracle syntax requirements (FROM dual) to locate and dump user credentials.

LABHARD
Not solved

Visible error-based SQL injection

Trigger descriptive database type-conversion errors that leak sensitive query results directly into application HTTP error responses.

LABHARD
Not solved

Blind SQL injection with conditional responses

Exploit a blind injection vulnerability in a session cookie where Boolean responses alter UI content to extract the administrator password character by character.

LABHARD
Not solved

Blind SQL injection with conditional errors

Construct queries that conditionally trigger internal database errors (divide-by-zero or Oracle TO_CHAR faults) to infer confidential password characters.

LABHARD
Not solved

Blind SQL injection with time delays

Identify and verify blind injection vulnerabilities by invoking synchronous sleep/delay functions (e.g., pg_sleep) that pause server responses for 10 seconds.

LABHARD
Not solved

Blind SQL injection with time delays and information retrieval

Exfiltrate confidential password characters by executing conditional sleep statements that only delay response execution when guesses evaluate to true.

LABEXCELLENT
Not solved

Blind SQL injection with out-of-band interaction

Exploit asynchronous background database queries by forcing the database server to perform out-of-band DNS/HTTP requests to an external listener system.

LABEXCELLENT
Not solved

Blind SQL injection with out-of-band data exfiltration

Exfiltrate sensitive database records asynchronously by concatenating password values into subdomains queried during out-of-band DNS resolutions.

LABEXCELLENT
Not solved

SQL injection with filter bypass via XML encoding

Bypass Web Application Firewall (WAF) signature inspection by encoding SQL keywords into XML numeric entities decoded by back-end parsers prior to query execution.