| 제목 | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Missing Authorization |
|---|
| 설명 | The affected component is `includes/process.php`, the central AJAX backend for registration, login, category/brand/product CRUD, record listing, deletion, updates, and order creation. The file includes `constants.php` (which starts a session) but never checks `$_SESSION["userid"]` before performing privileged operations:
```php
if (isset($_POST["category_name"]) AND isset($_POST["parent_cat"])) {
$obj = new DBOperation();
$result = $obj->addCategory($_POST["parent_cat"],$_POST["category_name"]);
echo $result;
exit();
}
```
An unauthenticated remote attacker can create, read, update, and delete inventory data and place orders solely by posting the expected form fields. |
|---|
| 원천 | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/10 |
|---|
| 사용자 | RongJinHui (UID 100227) |
|---|
| 제출 | 2026. 07. 30. PM 06:07 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 09. PM 06:12 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 401809 [Rizwan17 inventory-management-system 까지 bfe78a330d01bb26b9daec5dc9ecd5c77900e03f AJAX Backend includes/process.php DBOperation.addCategory userid 약한 인증] |
|---|
| 포인트들 | 20 |
|---|