提交 #970275: kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injection信息

标题kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injection
描述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.
来源⚠️ https://github.com/kishor-23/food-waste-management-system/issues/9
用户
 xbjds (UID 101126)
提交2026-09-09 16時00分 (25 日前)
管理2026-10-04 10時15分 (25 days later)
状态已接受
VulDB条目413401 [kishor-23 food-waste-management-system Take Order delivery/delivery.php order_id/delivery_person_id SQL注入]
积分20

Do you know our Splunk app?

Download it now for free!