| Название | 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) |
|---|
| Представление | 30.07.2026 08:12 (2 месяцы назад) |
|---|
| Модерация | 24.09.2026 20:53 (2 months later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 409748 [ningzichun student-management-system до 98760f5711cf6dc8b4adca53a9e207ca49b02ebf admin/fun/getStudent.php sid эскалация привилегий] |
|---|
| Баллы | 20 |
|---|