提交 #648580: SourceCodester Online Student File Management System 1.0 SQL Injection信息

标题SourceCodester Online Student File Management System 1.0 SQL Injection
描述During the security review of the "Online Student File Management System", I discovered a critical SQL injection vulnerability within the file inclusion chain: /admin/index.php → /admin/login.php → /admin/login_query.php. Specifically, when users access /admin/index.php, it includes /admin/login.php to display the login form, and /admin/login.php subsequently includes /admin/login_query.php to handle the login logic. In line 9 of /admin/login_query.php, the username parameter is directly inserted into the SQL query: "SELECT * FROM user WHERE username = '$username' && password = '$password'" without any input validation or parameterized query implementation. This insecure coding practice allows attackers to inject malicious SQL code through the username parameter, potentially gaining unauthorized database access, modifying or deleting data, and accessing sensitive information. Immediate remedial measures are required to ensure system security and protect data integrity.
来源⚠️ https://github.com/qcycop0101-hash/CVE/issues/11
用户
 quchunyi2 (UID 89807)
提交2025-09-05 14時45分 (1 年前)
管理2025-09-15 16時01分 (10 days later)
状态已接受
VulDB条目323917 [SourceCodester Online Student File Management System 1.0 /admin/index.php username SQL注入]
积分20

Interested in the pricing of exploits?

See the underground prices here!