| tiêu đề | kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injection |
|---|
| Mô tả | The order-assignment block in the admin dashboard `admin/admin.php` trusts the hidden form fields `order_id` and `delivery_person_id` and interpolates them raw into `SELECT * FROM food_donations WHERE Fid = $order_id AND ...` (`admin/admin.php:192`) and `UPDATE food_donations SET assigned_to = $delivery_person_id WHERE Fid = $order_id` (`admin/admin.php:202`). The session check at `admin/admin.php:7-9` redirects without `exit()`, so anonymous POST requests reach the queries. Payloads such as `delivery_person_id=7, name='HACKED'` demonstrated arbitrary data tampering: the `UPDATE` changed both `assigned_to` and the donor name of the target row with no session at all. The SELECT path also yields a boolean oracle for blind extraction. |
|---|
| Nguồn | ⚠️ https://github.com/kishor-23/food-waste-management-system/issues/8 |
|---|
| Người dùng | xbjds (UID 101126) |
|---|
| Đệ trình | 09/09/2026 15:59 (cách đây 25 ngày) |
|---|
| Kiểm duyệt | 04/10/2026 10:15 (25 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 413400 [kishor-23 food-waste-management-system Order Assignment Block admin/admin.php order_id/delivery_person_id Tiêm SQL] |
|---|
| điểm | 20 |
|---|