| Titel | SourceCodester Online Reviewer System b11f906 SQL Injection |
|---|
| Beschreibung | SourceCodester Online Reviewer System (commit 2614024) allows unauthenticated admin takeover via SQL injection in the login. login/index.php builds its query by string interpolation inside PDO::prepare(): SELECT * FROM users where username = '$username' and password = 'password′,with_REQUEST['username']/$_REQUEST['password'] interpolated unescaped and no bound parameters (prepare() on an already-built string does not sanitize). An unauthenticated POST with username ' OR '1'='1' -- - loads the seed admin row (usertype_id=1) into the session; a UNION SELECT variant forces usertype_id=1 with an attacker-chosen name, rendered on the dashboard as proof of full session-row control. The attacker operates as admin over users, exams, assessments, and questions; passwords are plaintext. CVSS 3.1 score 9.8 Critical, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Discovered by Santhosh Kumar, TraceX Labs. Vendor contact attempted via SourceCodester contact form (blocked by spam filter); public disclosure published at https://tracexlabs.com/releases/online-reviewer-sqli-admin.html. |
|---|
| Quelle | ⚠️ https://tracexlabs.com/releases/online-reviewer-sqli-admin.html |
|---|
| Benutzer | SanthoshKumar (UID 101638) |
|---|
| Einreichung | 25.09.2026 16:16 (vor 17 Tagen) |
|---|
| Moderieren | 12.10.2026 23:04 (17 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 417231 [SourceCodester Online Reviewer System 1.0 login/index.php PDO::prepare username/password SQL Injection] |
|---|
| Punkte | 20 |
|---|