提交 #1000556: SourceCodester Online Reviewer System b11f906 SQL Injection信息

标题SourceCodester Online Reviewer System b11f906 SQL Injection
描述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.
来源⚠️ https://tracexlabs.com/releases/online-reviewer-sqli-admin.html
用户
 SanthoshKumar (UID 101638)
提交2026-09-25 16時16分 (18 日前)
管理2026-10-12 23時04分 (17 days later)
状态已接受
VulDB条目417231 [SourceCodester Online Reviewer System 1.0 login/index.php PDO::prepare username/password SQL注入]
积分20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!