提交 #927252: SourceCodester College Notes Gallery Management System using PHP with Source Code 1.0 Missing Authorization信息

标题SourceCodester College Notes Gallery Management System using PHP with Source Code 1.0 Missing Authorization
描述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.
来源⚠️ https://github.com/Andyov0/cve/issues/4
用户
 Andyqaq (UID 99158)
提交2026-08-13 12時38分 (1 月前)
管理2026-09-14 07時50分 (1 month later)
状态已接受
VulDB条目403413 [SourceCodester College Notes Gallery Management System 1.0 Registration Flow signup.php role 权限提升]
积分20

Interested in the pricing of exploits?

See the underground prices here!