| 标题 | 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 08時12分 (2 月前) |
|---|
| 管理 | 2026-09-24 20時53分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 409748 [ningzichun student-management-system 直到 98760f5711cf6dc8b4adca53a9e207ca49b02ebf admin/fun/getStudent.php sid 权限提升] |
|---|
| 积分 | 20 |
|---|