Submit #911128: Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Missing Authorizationinfo

TitleRizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Missing Authorization
DescriptionThe 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.
Source⚠️ https://github.com/Rizwan17/inventory-management-system/issues/10
User
 RongJinHui (UID 100227)
Submission07/30/2026 18:07 (1 month ago)
Moderation09/09/2026 18:12 (1 month later)
StatusAccepted
VulDB entry401809 [Rizwan17 inventory-management-system up to bfe78a330d01bb26b9daec5dc9ecd5c77900e03f AJAX Backend includes/process.php DBOperation.addCategory userid missing authentication]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!