Submit #910054: ningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Authorization Bypassinfo

Titleningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Authorization Bypass
DescriptionThe 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.
Source⚠️ https://github.com/ningzichun/student-management-system/issues/9
User
 jessica.xiao (UID 100215)
Submission07/30/2026 08:12 (2 months ago)
Moderation09/24/2026 20:53 (2 months later)
StatusAccepted
VulDB entry409748 [ningzichun student-management-system up to 98760f5711cf6dc8b4adca53a9e207ca49b02ebf admin/fun/getStudent.php sid authorization]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!