| 标题 | SourceCodester (ampoldev) Online Examination & LMS (CICT Portal) by ampoldev 2026-05-25 Improper Privilege Management |
|---|
| 描述 | The public registration form at register.php renders an HTML <select> dropdown with role
values (student, instructor). The server-side handler (auth_process.php) reads the role
value directly from the POST body and inserts it into the users table without validation.
An unauthenticated attacker can intercept the POST request and change the role parameter
to any value, including "super_admin", gaining immediate administrative access to the
entire system.
No server-side allowlist is enforced. The vulnerability requires zero existing privileges
and is exploitable by any internet user who can reach the registration endpoint. |
|---|
| 来源 | ⚠️ https://pastebin.com/Z4i5MGxk |
|---|
| 用户 | ameenkbrd (UID 98192) |
|---|
| 提交 | 2026-06-04 08時56分 (1 月前) |
|---|
| 管理 | 2026-07-04 09時55分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 376307 [SourceCodester Onlne Examination & Learning Management System 1.0 Registration Endpoint register.php role 权限提升] |
|---|
| 积分 | 17 |
|---|