| 标题 | kishor-23 food-waste-management-system food-waste-management-system Session Fixiation |
|---|
| 描述 | None of the login flows call `session_regenerate_id()`: user login is handled by `login.php:2-24`/`signin.php:2-30`, admin login by `admin/signin.php:2-30`, and delivery login by `delivery/deliverylogin.php:2-31`. PHP 7.4's default `session.use_strict_mode` is off, so the server accepts an attacker-chosen PHPSESSID delivered through the victim's browser. After the victim authenticates with that pre-seeded ID, the ID is unchanged (verified: the PHPSESSID value before and after login was identical) and the attacker's copy of the ID now identifies a fully authenticated session. Effects: complete impersonation of the victim's donor/admin/delivery account. |
|---|
| 来源 | ⚠️ https://github.com/kishor-23/food-waste-management-system/issues/16 |
|---|
| 用户 | liaoxijun10086 (UID 101151) |
|---|
| 提交 | 2026-09-11 11時50分 (24 日前) |
|---|
| 管理 | 2026-10-04 15時58分 (23 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 413433 [kishor-23 food-waste-management-system Login Flow login.php PHPSESSID 弱身份验证] |
|---|
| 积分 | 20 |
|---|