제출 #1084370: jobic10 student-management-using-django 1.0 IDOR정보

제목jobic10 student-management-using-django 1.0 IDOR
설명An insecure direct object reference (IDOR) vulnerability exists across the attendance management endpoints. The attendance module implements no object-level authorization. Endpoints accept `subject`, `session`, `date`, and `attendance_date_id` values directly from the client and use them to query or write `Subject`, `Student`, `Attendance`, and `AttendanceReport` records without verifying that the target subject belongs to the authenticated teacher. All relevant endpoints are also marked `@csrf_exempt`, so requests are accepted without a CSRF token. The vulnerable flow includes: - `staff_views.py:53-71` — `get_students` returns all students in the course of any supplied `subject` ID without verifying that the subject belongs to the current teacher - `staff_views.py:75-103` — `save_attendance` creates `Attendance` and `AttendanceReport` records using the client-supplied `subject` without an ownership check - `staff_views.py:119-133` — `get_student_attendance` returns attendance details for any `Attendance` ID - `staff_views.py:136-153` — `update_attendance` also lacks ownership validation by design (the route is currently shadowed; see below) - `main_app/urls.py:94-104` — the four endpoints expose no method restrictions - `@csrf_exempt` is applied on lines 53, 75, 119, and 136 As a result, any authenticated teacher can enumerate students in another teacher’s course, create attendance records for another teacher’s subject, and read attendance details for any `Attendance` ID.
원천⚠️ https://github.com/jobic10/student-management-using-django/issues/20
사용자 fannnn (UID 102413)
제출2026. 11. 10. PM 12:04 (21 날 ago)
모더레이션2026. 11. 30. PM 10:51 (20 days later)
상태수락
VulDB 항목446840 [jobic10 student-management-using-django 까지 066dcaeffc52fe52e9279d93e2a00c15909544ae Attendance Management main_app/staff_views.py subject 권한 상승]
포인트들20

Might our Artificial Intelligence support you?

Check our Alexa App!