| Título | ningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Authorization Bypass |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/ningzichun/student-management-system/issues/9 |
|---|
| Utilizador | jessica.xiao (UID 100215) |
|---|
| Submissão | 30/07/2026 08h12 (há 2 meses) |
|---|
| Moderação | 24/09/2026 20h53 (2 months later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 409748 [ningzichun student-management-system até 98760f5711cf6dc8b4adca53a9e207ca49b02ebf admin/fun/getStudent.php sid Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|