| 标题 | kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c Missing Authentication |
|---|
| 描述 | `admin/signup.php` is a fully public page that registers rows in the `admin` table (`insert into admin(name,email,password,location,address) values(...)` at `admin/signup.php:28`) without any authentication or authorization check. An anonymous visitor can POST `sign=1` with arbitrary values, receive a valid administrator account, sign in at `admin/signin.php`, and receive a session that passes the admin pages' `$_SESSION['name']` check. In testing, a self-registered account immediately received the full admin dashboard (`admin/admin.php`), the donation management console, feedback data, and the assignment workflow - complete administrative takeover of the platform (and, via CVE-04/CVE-17, control of the database). |
|---|
| 来源 | ⚠️ https://github.com/kishor-23/food-waste-management-system/issues/10 |
|---|
| 用户 | xbjds (UID 101126) |
|---|
| 提交 | 2026-09-09 16時04分 (26 日前) |
|---|
| 管理 | 2026-10-04 10時15分 (25 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 413402 [kishor-23 food-waste-management-system Admin Signup admin/signup.php sign 弱身份验证] |
|---|
| 积分 | 20 |
|---|