Gửi #970275: kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injectionthông tin

tiêu đềkishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injection
Mô tảThe "Take order" handler in `delivery/delivery.php` interpolates the hidden POST fields `order_id` and `delivery_person_id` directly into `SELECT * FROM food_donations WHERE Fid = $order_id AND delivery_by IS NOT NULL` (`delivery/delivery.php:139`) and `UPDATE food_donations SET delivery_by = $delivery_person_id WHERE Fid = $order_id` (`delivery/delivery.php:148`). The session check at `delivery/delivery.php:7-9` redirects to the login page without `exit()`, so anonymous POST requests still execute the queries. An injected `delivery_person_id=5, name='RIDERHACK'` modified the `delivery_by` and `name` columns of a donation row without any login, and injections in `order_id` additionally provide a boolean oracle for blind data extraction.
Nguồn⚠️ https://github.com/kishor-23/food-waste-management-system/issues/9
Người dùng
 xbjds (UID 101126)
Đệ trình09/09/2026 16:00 (cách đây 25 ngày)
Kiểm duyệt04/10/2026 10:15 (25 days later)
Trạng tháiđược chấp nhận
Mục VulDB413401 [kishor-23 food-waste-management-system Take Order delivery/delivery.php order_id/delivery_person_id Tiêm SQL]
điểm20

Do you need the next level of professionalism?

Upgrade your account now!