Skip to main content
SQL Injection

Basic SQL Injection

Free3 Points

Overview

Basic SQL Injection focuses on a vulnerable login function where user-controlled input reaches a database query without safe parameterization.

The page is intentionally simple: login input, backend query construction, and the application's trust decision all meet in one place.

Security Impact

When login queries are built unsafely, the result can be authentication bypass, unauthorized account access, sensitive data exposure, or wider compromise when database permissions are too broad.

Vulnerability Scope

The same risk shows up in login forms, admin panels, legacy PHP applications, custom query builders, and code paths where user input is concatenated into SQL statements instead of being passed through prepared statements.

Lab Focus

The lab keeps the focus on spotting an injectable login flow, reasoning about how authentication queries are evaluated, and understanding why parameterized queries are the baseline defense.

Related trainings

SQL InjectionUsing SQLMap