提交 #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)
提交2026-07-30 18時07分 (1 月前)
管理2026-09-09 18時12分 (1 month later)
状态已接受
VulDB条目401809 [Rizwan17 inventory-management-system 直到 bfe78a330d01bb26b9daec5dc9ecd5c77900e03f AJAX Backend includes/process.php DBOperation.addCategory userid 弱身份验证]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!