| Title | vijaythapa333 django-student-management-system 1.0 IDOR |
|---|
| Description | An object-level authorization bypass (IDOR/BOLA) vulnerability exists in multiple teacher-facing endpoints. The server retrieves subjects, students, and attendance records based solely on client-supplied identifiers without verifying that the requested objects belong to the authenticated teacher. As a result, any authenticated teacher can read another teacher’s class roster, write grades for another teacher’s subject, and create, query, or modify attendance records for another teacher’s class.
The vulnerable endpoints include:
- `/get_students/` — read student roster by `subject` and `session_year`
- `/staff_add_result_save/` — write grades by `student_list` and `subject`
- `/save_attendance_data/` — create attendance by `student_ids`, `subject_id`, `attendance_date`, and `session_year_id`
- `/get_attendance_dates/` — query attendance by `subject` and `session_year_id`
- `/update_attendance_data/` — modify attendance by `student_ids` and `attendance_date`
The frontend only renders subjects owned by the current teacher, but the backend does not enforce the same ownership check. |
|---|
| Source | ⚠️ https://github.com/vijaythapa333/django-student-management-system/issues/26 |
|---|
| User | goodnut (UID 102404) |
|---|
| Submission | 10/24/2026 06:27 (1 month ago) |
|---|
| Moderation | 11/23/2026 11:23 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 442281 [vijaythapa333 django-student-management-system up to 0d96e62cc4e996e3e77bec1b8e3da3980edf8889 StaffViews.py authorization] |
|---|
| Points | 20 |
|---|