| 제목 | 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_room.php
Vulnerable parameter:
room_name
The vulnerable endpoint reads the user-controlled POST parameter "room_name" 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_room.php with a quoted "room_name" 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:
room_name, description, 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/6 |
|---|
| 원천 | ⚠️ https://github.com/justconter/_CVE/issues/6 |
|---|
| 사용자 | justconter (UID 88550) |
|---|
| 제출 | 2026. 07. 20. PM 07:22 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 09. 06. AM 05:58 (2 months later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 399378 [SourceCodester Class and Exam Timetabling System 1.0 modal_add_room.php mysqli_query room_name SQL 주입] |
|---|
| 포인트들 | 20 |
|---|