| Title | SourceCodester Online Examination & Learning Management System 1.0 Missing Authorization |
|---|
| Description | The ajax_enroll.php endpoint processes enrollment and unenrollment requests from any authenticated user without verifying the user's role or their relationship to the target student_id. The endpoint reads $_POST['student_id'], $_POST['schedule_id'], and $_POST['action'] directly from the request body and performs the corresponding database operation with no authorization logic.
No CSRF token is implemented, enabling cross-site request forgery. |
|---|
| Source | ⚠️ https://github.com/nuiifornet/A033/blob/main/OE-LMS-IDOR-ajax_enroll.md |
|---|
| User | Fklov (UID 98102) |
|---|
| Submission | 06/06/2026 20:59 (28 days ago) |
|---|
| Moderation | 07/05/2026 06:08 (28 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 376368 [SourceCodester Onlne Examination & Learning Management System 1.0 Enrollment Management /ajax_enroll.php student_id/schedule_id/action improper authorization] |
|---|
| Points | 20 |
|---|