提交 #1000555: SourceCodester Online Grading System b11f906 SQL Injection信息

标题SourceCodester Online Grading System b11f906 SQL Injection
描述 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.
来源⚠️ https://tracexlabs.com/releases/online-grading-sqli-admin.html
用户
 SanthoshKumar (UID 101638)
提交2026-09-25 16時16分 (17 日前)
管理2026-10-12 23時03分 (17 days later)
状态重复
VulDB条目216161 [SourceCodester Online Grading System 1.0 uname SQL注入]
积分0

Want to stay up to date on a daily basis?

Enable the mail alert feature now!