| 제목 | ningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Authorization Bypass |
|---|
| 설명 | The affected directory is `admin/fun/`. Its directly requestable database handlers load `../../config/database.php` but do not start a session or validate `$_SESSION["admin"]`, while the administrator check exists only in `admin/index.php:2-7`. For example, `admin/fun/getStudent.php:35-71` executes an unfiltered student query and emits student identifiers and identity-card numbers, and `admin/fun/resetPassword.php:3-25` accepts `sid`, derives `md5(substr($sid,-6))`, and resets or creates the student account. Other unguarded handlers such as `addScore.php:7-11` modify grades. An unauthenticated remote attacker can read student PII, reset a selected student password to a predictable value and log in as that student, or alter and delete administrative data. |
|---|
| 원천 | ⚠️ https://github.com/ningzichun/student-management-system/issues/9 |
|---|
| 사용자 | jessica.xiao (UID 100215) |
|---|
| 제출 | 2026. 07. 30. AM 08:12 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 09. 24. PM 08:53 (2 months later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 409748 [ningzichun student-management-system 까지 98760f5711cf6dc8b4adca53a9e207ca49b02ebf admin/fun/getStudent.php sid 권한 상승] |
|---|
| 포인트들 | 20 |
|---|