| 제목 | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f SQL Injection |
|---|
| 설명 | 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. |
|---|
| 원천 | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/13 |
|---|
| 사용자 | Missa (UID 98182) |
|---|
| 제출 | 2026. 07. 30. PM 06:15 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 09. PM 06:12 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 401812 [Rizwan17 inventory-management-system 까지 bfe78a330d01bb26b9daec5dc9ecd5c77900e03f includes/manage.php storeCustomerOrderInvoice pro_name[] SQL 주입] |
|---|
| 포인트들 | 20 |
|---|