Gửi #911138: Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f SQL Injectionthông tin

tiêu đềRizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f SQL Injection
Mô tảThe affected component is `includes/manage.php` method `storeCustomerOrderInvoice()`, called from `includes/process.php` when `order_date` and `cust_name` are posted. After inserting an invoice, product stock is updated with a concatenated query using attacker-controlled `pro_name[]`: ```php $sql = "UPDATE products SET product_stock = '$rem_qty' WHERE product_name = '".$ar_pro_name[$i]."'"; $this->con->query($sql); ``` Because `process.php` does not require authentication, an unauthenticated attacker can supply `pro_name[]=X' OR 1=1#` and zero (or rewrite) stock for every product row.
Nguồn⚠️ https://github.com/Rizwan17/inventory-management-system/issues/13
Người dùng
 Missa (UID 98182)
Đệ trình30/07/2026 18:15 (cách đây 1 tháng)
Kiểm duyệt09/09/2026 18:12 (1 month later)
Trạng tháiđược chấp nhận
Mục VulDB401812 [Rizwan17 inventory-management-system đến bfe78a330d01bb26b9daec5dc9ecd5c77900e03f includes/manage.php storeCustomerOrderInvoice pro_name[] Tiêm SQL]
điểm20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!