| 标题 | Mstfakts College-Management-System 82ab01d057d96c8893c419cd9cb6870120faaea3 Improper Authentication |
|---|
| 描述 | The affected registration and login logic is in `Front-end/login.php:50-84` and `Front-end/server.php:6-35,84-122`. Public registration accepts an arbitrary email address and account type, checks only for an existing row in `visitor`, and immediately creates a password-controlled visitor account. The application then authenticates the account by email and uses `$_SESSION['email']` to resolve records in the separate `student` and `lecturer` identity tables. The supplied database seed at `Back-End (SQL-tables)/mebis.sql:194-198` contains pre-provisioned student identities, including `[email protected]`, that are absent from `visitor` at lines 342-345. An attacker can therefore register that email, choose a password, log in, and cause `Front-end/profile.php:47-101` and `Front-end/student.php:72-176` to load the pre-provisioned student's personal, academic, and enrollment data. The same session can invoke `Front-end/server.php:132-194` to alter that student's club membership.
|
|---|
| 来源 | ⚠️ https://github.com/Mstfakts/College-Management-System/issues/6 |
|---|
| 用户 | Yangqiangfeng (UID 98164) |
|---|
| 提交 | 2026-07-20 11時04分 (2 月前) |
|---|
| 管理 | 2026-09-05 20時59分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 399350 [Mstfakts College-Management-System Front-end/login.php email 弱身份验证] |
|---|
| 积分 | 20 |
|---|