| Title | kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injection |
|---|
| Description | `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. |
|---|
| Source | ⚠️ https://github.com/kishor-23/food-waste-management-system/issues/13 |
|---|
| User | liaoxijun10086 (UID 101151) |
|---|
| Submission | 09/11/2026 11:45 (24 days ago) |
|---|
| Moderation | 10/04/2026 15:58 (23 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 413430 [kishor-23 food-waste-management-system deliverymyord.php delivery_person_id/order_id sql injection] |
|---|
| Points | 20 |
|---|