Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege credentials
-
DeliveryAuthenticate to Inventory System
-
ExploitCraft POST to /api/users_handler.php
-
ExecutionTamper ROLE parameter to admin value
-
PersistCreate unauthorized admin account
-
ImpactAccess full admin functionality
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a valid low-privilege authenticated session (CVSS PR:L) on the target Inventory System instance - unauthenticated remote exploitation is not indicated by the available data. The vulnerable endpoint /Product_Inventory/api/users_handler.php must be network-accessible (AV:N), which is the default deployment posture for a web-based inventory system. The attack is limited to: possession of any valid credential (self-registered or otherwise), direct network access to the API endpoint, and the application running PHP with the users_handler.php file present. No special non-default configuration is required beyond a standard installation. The key limiting factor is the authentication prerequisite - attackers without any valid account cannot directly exploit this without first obtaining credentials through a separate vector such as default credentials, phishing, or a companion unauthenticated vulnerability. |
| Impact | The CVSS base score of 6.3 (Medium) reflects a network-accessible attack (AV:N) with low complexity (AC:L), but critically requires low-level authentication (PR:L) - an attacker must hold a valid account before exploiting this flaw. The CIA triad impact is uniformly low (C:L/I:L/A:L), suggesting the immediate blast radius per exploitation is contained. However, the integrity impact combined with unauthorized privilege escalation in an account creation context can be a stepping stone to full administrative compromise if a newly created high-privilege account is then used for further attacks. The temporal vector includes E:P (proof-of-concept public) and RL:X (no remediation level defined), indicating no patch is available and exploit code is accessible. RC:R (reasonable confidence) reflects VulDB as sole reporter without vendor confirmation. No EPSS score was provided, so probabilistic exploitation likelihood cannot be quantified. No KEV listing confirms active exploitation. The real-world risk is moderate: the low-privilege prerequisite limits opportunistic internet-wide scanning, but any authenticated user - including self-registered accounts if public registration is enabled - could exploit this to escalate role assignments. |
| Exploit ScenarioDerived | An attacker who has registered or obtained a low-privilege account on a publicly accessible Inventory System instance crafts a POST request to /Product_Inventory/api/users_handler.php, supplying an elevated ROLE value (e.g., administrator) in the request body. Because the server does not validate whether the requesting user's session is authorized to assign that role, the new account is created with administrative privileges. A publicly released proof-of-concept (E:P) demonstrates this technique, meaning the attacker does not need to independently discover or develop the exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Improper authorization in SourceCodester Inventory System 1.0 allows authenticated remote attackers to manipulate the ROLE parameter in the account creation API endpoint, bypassing role-based access controls to create or modify accounts with elevated privileges beyond what is authorized. The affected component is /Product_Inventory/api/users_handler.php, a PHP endpoint that fails to enforce server-side authorization on the ROLE argument during account creation. A publicly available proof-of-concept exploit exists (CVSS temporal E:P), lowering the barrier for opportunistic abuse. No patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis; the remediation level in the CVSS temporal vector is marked RL:X (not defined). Until a patch is released by SourceCodester, the following compensating controls are recommended: restrict access to /Product_Inventory/api/users_handler.php via web server configuration (e.g., Apache .htaccess or nginx location block) to administrative IP ranges only, accepting the trade-off that legitimate remote admin account creation will be blocked. If the endpoint must remain accessible, implement server-side validation that ignores or rejects the client-supplied ROLE parameter and instead derives the maximum permissible role from the authenticated session's existing privilege level. Disable self-registration if enabled, as it widens the pool of attackers who can obtain the prerequisite low-privilege credential. Monitor /Product_Inventory/api/users_handler.php access logs for unexpected ROLE values or account creation spikes. VulDB advisory: https://vuldb.com/vuln/369139.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected application is a PHP-based inventory management system developed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:*). The vulnerability resides in the Account Creation Handler at /Product_Inventory/api/users_handler.php. CWE-285 (Improper Authorization) indicates the server accepts and trusts a client-supplied ROLE value without verifying whether the requesting user is authorized to assign that role. This is a classic mass-assignment or parameter tampering pattern common in PHP applications that pass API input directly into database logic without whitelist validation or privilege-level checks on the submitted role. The wildcard version in the CPE string suggests the issue may span beyond the confirmed 1.0 release if the codebase has not been forked and patched upstream.
Know when Inventory System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in SourceCodester Inventory System 1.0. Affected by this vulnerability is an unknown functionality of the file /Product_Inventory/api/users_handler.php of the component Account Creation Handler. The manipulation of the argument ROLE results in improper authorization. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Inventory System
View allReflected XSS in SourceCodester Inventory System 1.0 allows remote attackers to inject arbitrary JavaScript via the unva
Cross Site Scripting (XSS) vulnerability in InventorySystem thru commit e08fbbe17902146313501ed0b5feba81d58f455c (on Apr
Reflected cross-site scripting (XSS) in SourceCodester Inventory System 1.0 allows remote attackers to inject arbitrary
Stored cross-site scripting in SourceCodester Inventory System 1.0 allows remote unauthenticated attackers to inject per
Stored cross-site scripting in SourceCodester Inventory System 1.0 is a genuine-but-low-priority issue: an authenticated
Cross-site scripting in SourceCodester Inventory System 1.0 allows an authenticated low-privileged user to inject script
Stored cross-site scripting in SourceCodester Inventory System 1.0 allows an authenticated user to inject script through
Reflected cross-site scripting in SourceCodester Inventory System 1.0 allows remote authenticated attackers to inject ar
EUVD-2026-35069
GHSA-g3xx-jm74-8r8g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB