Submit #1000555: SourceCodester Online Grading System b11f906 SQL Injectioninfo

TitelSourceCodester Online Grading System b11f906 SQL Injection
Beschreibung SourceCodester Online Grading System (commit b11f906) allows unauthenticated admin login bypass via SQL injection. admin/login.php passes uname/pass to User::AuthenticateUser() in includes/member.php:32-50, which builds SELECT * FROM useraccounts WHERE ACCOUNT_USERNAME='<uname>' and ACCOUNT_PASSWORD='<sha1>' LIMIT 1 with raw string concatenation, no escaping or prepared statement. When row_count == 1 it sets the full admin session. A plain tautology fails because exactly one row must match, but the payload ' OR ACCOUNT_ID=1 -- - in the username field returns the seed administrator row, granting an admin session with zero credentials; the attacker lands in the dashboard as ACCOUNT_ID=1 (Administrator) with access to students, subjects, grades, faculty, and users. 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-grading-sqli-admin.html.
Quelle⚠️ https://tracexlabs.com/releases/online-grading-sqli-admin.html
Benutzer
 SanthoshKumar (UID 101638)
Einreichung25.09.2026 16:16 (vor 18 Tagen)
Moderieren12.10.2026 23:03 (17 days later)
StatusDuplikat
VulDB Eintrag216161 [SourceCodester Online Grading System 1.0 uname SQL Injection]
Punkte0

Might our Artificial Intelligence support you?

Check our Alexa App!