| 标题 | SourceCodester Class and Exam Timetabling System V1.0 SQL injection |
|---|
| 描述 | A SQL injection vulnerability was discovered in SourceCodester Class and Exam Timetabling System V1.0.
Affected endpoint:
/admin/modal_add_course2.php
Vulnerable parameter:
course
The vulnerable endpoint reads the user-controlled POST parameter "course" and uses it in a mysqli_query() call without prepared statements or sufficient input validation. An attacker can inject malicious SQL payloads through this parameter and manipulate the backend database query.
Authentication:
According to the public report, no login or authorization is required to exploit this vulnerability.
Validation:
A POST request to /admin/modal_add_course2.php with a quoted "course" payload returned HTTP 200 and SQL error output without sending an authenticated session cookie. sqlmap validation confirmed time-based blind SQL injection using a MySQL SLEEP payload.
POST parameters:
course, year_section, department, go
Impact:
Successful exploitation may allow unauthorized database access, sensitive data disclosure, data tampering, and service disruption.
Suggested fix:
Use prepared statements and parameter binding, validate and filter all user-controlled input, and restrict database account privileges.
Reference:
https://github.com/justconter/_CVE/issues/3 |
|---|
| 来源 | ⚠️ https://github.com/justconter/_CVE/issues/3 |
|---|
| 用户 | justconter (UID 88550) |
|---|
| 提交 | 2026-07-20 19時21分 (2 月前) |
|---|
| 管理 | 2026-09-06 05時58分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 399375 [SourceCodester Class and Exam Timetabling System 1.0 modal_add_course2.php mysqli_query course SQL注入] |
|---|
| 积分 | 20 |
|---|