| 标题 | kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injection |
|---|
| 描述 | `delivery/deliverymyord.php` executes `UPDATE food_donations SET delivery_by = $delivery_person_id WHERE Fid = $order_id` (`delivery/deliverymyord.php:118`) using raw hidden POST fields, with no sanitization, no CSRF protection, and an authentication redirect that lacks `exit()` (`delivery/deliverymyord.php:8-10`). Anonymous POST requests therefore reach the query: an injected `delivery_person_id=5, name='MYORDHACK'` overwrote the delivery assignment and the donor name of any chosen row, and the injectable `WHERE` clause allows modifying all rows (e.g. `WHERE Fid=26 OR 1=1`) or probing data values via the query's success/error states. |
|---|
| 来源 | ⚠️ https://github.com/kishor-23/food-waste-management-system/issues/13 |
|---|
| 用户 | liaoxijun10086 (UID 101151) |
|---|
| 提交 | 2026-09-11 11時45分 (24 日前) |
|---|
| 管理 | 2026-10-04 15時58分 (23 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 413430 [kishor-23 food-waste-management-system deliverymyord.php delivery_person_id/order_id SQL注入] |
|---|
| 积分 | 20 |
|---|