| 标题 | kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injection |
|---|
| 描述 | The public admin registration page `admin/signup.php` builds the duplicate-email check `select * from admin where email='$email'` (`admin/signup.php:18`) from raw unauthenticated input, and then inserts `$username`, `$email` and `$location` raw into the `admin` table (`admin/signup.php:28`). The two branches ("Account already exists" versus the failed insert alert) form a boolean oracle that lets an anonymous attacker query any database value bit by bit. Because the injected table is `admin` and the connection uses the MySQL `root` superuser (CVE-17), the flaw also couples directly with CVE-09: the public page lets an attacker mint a privileged administrator account with attacker-controlled columns. |
|---|
| 来源 | ⚠️ https://github.com/kishor-23/food-waste-management-system/issues/15 |
|---|
| 用户 | liaoxijun10086 (UID 101151) |
|---|
| 提交 | 2026-09-11 11時46分 (25 日前) |
|---|
| 管理 | 2026-10-04 15時58分 (23 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 413431 [kishor-23 food-waste-management-system Admin Registration admin/signup.php email/username/location SQL注入] |
|---|
| 积分 | 20 |
|---|