Gửi #911127: 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 `update_record()`, invoked from `includes/process.php` via unauthenticated handlers `update_category`, `update_brand`, and `update_product`. User-controlled table keys and values are concatenated into a raw UPDATE statement and executed with `mysqli_query()`: ```php foreach ($where as $key => $value) { $condition .= $key . "='" . $value . "' AND "; } foreach ($fields as $key => $value) { $sql .= $key . "='".$value."', "; } $sql = "UPDATE ".$table." SET ".$sql." WHERE ".$condition; mysqli_query($this->con,$sql); ``` An unauthenticated attacker can inject SQL through POST fields such as `update_category` / `cid` to rewrite WHERE clauses, modify arbitrary rows, or escalate to broader database compromise.
Nguồn⚠️ https://github.com/Rizwan17/inventory-management-system/issues/9
Người dùng
 RongJinHui (UID 100227)
Đệ trình30/07/2026 18:06 (cách đây 2 các tháng)
Kiểm duyệt09/09/2026 18:12 (1 month later)
Trạng tháiđược chấp nhận
Mục VulDB401808 [Rizwan17 inventory-management-system đến bfe78a330d01bb26b9daec5dc9ecd5c77900e03f includes/manage.php update_record update_category/cid/update_brand/update_product Tiêm SQL]
điểm20

Interested in the pricing of exploits?

See the underground prices here!