Gửi #927252: SourceCodester College Notes Gallery Management System using PHP with Source Code 1.0 Missing Authorizationthông tin

tiêu đềSourceCodester College Notes Gallery Management System using PHP with Source Code 1.0 Missing Authorization
Mô tảDuring the security review of "College Notes Gallery Management System V1.0", I found that the signup.php registration flow performs no server-side validation of the role field. Although the signup form only exposes Teacher and Student as visible choices, the backend reads $_POST['role'] directly and inserts it into the database. This allows an attacker to modify the request body and register an account with role=admin. After registration, the attacker can log in with the newly created account and access the administrator dashboard. This is a direct authorization bypass and privilege escalation issue.
Nguồn⚠️ https://github.com/Andyov0/cve/issues/4
Người dùng
 Andyqaq (UID 99158)
Đệ trình13/08/2026 12:38 (cách đây 1 tháng)
Kiểm duyệt14/09/2026 07:50 (1 month later)
Trạng tháiđược chấp nhận
Mục VulDB403413 [SourceCodester College Notes Gallery Management System 1.0 Registration Flow signup.php role nâng cao đặc quyền]
điểm20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!