إرسال #911128: Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Missing Authorizationالمعلومات

عنوان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)
ارسال30/07/2026 06:07 PM (1 شهر منذ)
الاعتدال09/09/2026 06:12 PM (1 month later)
الحالةتمت الموافقة
إدخال VulDB401809 [Rizwan17 inventory-management-system حتى bfe78a330d01bb26b9daec5dc9ecd5c77900e03f AJAX Backend includes/process.php DBOperation.addCategory userid توثيق ضعيف]
النقاط20

Might our Artificial Intelligence support you?

Check our Alexa App!