Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP POST to /api/users_handler.php
-
DeliverySupply elevated role value in registration payload
-
ExploitServer creates account with admin-level privileges
-
ExecutionAuthenticate with newly created admin account
-
ImpactAccess restricted inventory data and administrative functions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
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 | The User Registration Endpoint at /api/users_handler.php must be network-reachable without prior authentication, consistent with PR:N in the CVSS 4.0 vector. No special server configuration, enabled feature flag, or non-default setting is required beyond the PHP application being deployed and the endpoint being accessible - default deployments of SourceCodester Inventory Management System 1.0 appear to expose this endpoint without access controls. Exploitation is meaningfully limited by the niche, educational-script nature of this product: it is unlikely to be found in enterprise environments. The attacker must be able to send HTTP POST requests to the target host on whatever port the web server is bound to. |
| Impact | The CVSS 4.0 base score of 5.5 with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects a low-complexity, unauthenticated, network-reachable attack requiring no user interaction - a favorable attack profile for an adversary. Impact is assessed as low across confidentiality, integrity, and availability (VC:L/VI:L/VA:L), though the privilege escalation foothold could enable broader secondary access depending on what administrative roles expose in the application. The exploit maturity modifier E:P confirms a public proof-of-concept exists, meaningfully increasing opportunistic risk. No CISA KEV listing is present and no EPSS score was provided, so widespread active exploitation is not confirmed - the absence of KEV and EPSS data is a gap that should be noted rather than treated as absence of exploitation. The product's niche deployment footprint as an educational PHP script significantly limits the realistic population of vulnerable targets. Real-world risk is low-to-moderate for the rare production deployments of this software. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP POST request to /api/users_handler.php with the role parameter set to an elevated value such as 'admin' or an integer representing administrative privilege. The server processes the registration without validating or overriding the role assignment, creating an account with full administrative access. The attacker then authenticates with these credentials to access restricted inventory data, modify records, or pivot further within the application - a public proof-of-concept lowers the expertise required to execute this sequence. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
Privilege escalation via role parameter manipulation in SourceCodester Inventory Management System 1.0 allows unauthenticated remote attackers to self-assign elevated roles during user registration. The vulnerability resides in /api/users_handler.php, where the application fails to enforce server-side restrictions on the role argument at the User Registration Endpoint, enabling account creation with admin-level privileges. A public proof-of-concept exploit is available, lowering the skill bar for abuse against any exposed instance; no CISA KEV listing exists, so confirmed active exploitation in the wild has not been established.
RemediationAI
No vendor-released patch has been identified at time of analysis - SourceCodester does not publish a formal security advisory or tracked release for this issue. As an immediate compensating control, restrict public access to /api/users_handler.php via web server ACLs (e.g., Apache .htaccess deny directives or nginx location blocks) or upstream firewall rules, particularly if external self-registration is not a required feature. Developers should implement server-side role validation by whitelisting only permitted values (e.g., enforcing a hardcoded default role of 'user' regardless of input) and ensuring role assignment is performed exclusively by already-authenticated administrators - never from registration-time user-supplied input. Disabling the self-registration endpoint entirely is the most effective mitigation if the feature is nonessential. The VulDB entry at https://vuldb.com/vuln/374576 and its CTI feed at https://vuldb.com/vuln/374576/cti provide additional technical detail for defenders.
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 product is SourceCodester Inventory Management System 1.0 (CPE: cpe:2.3:a:sourcecodester:inventory_management_system:*:*:*:*:*:*:*:*), a PHP-based web application distributed as a free educational script via sourcecodester.com. CWE-284 (Improper Access Control) is the root cause: the /api/users_handler.php endpoint accepts a user-controlled role parameter during registration without server-side validation, authorization enforcement, or role whitelisting. This is a classic parameter-tampering or mass-assignment pattern common in PHP applications where API inputs are passed directly to data models without sanitization. The CVSS 4.0 vector (PR:N) confirms the registration endpoint is publicly accessible without prior authentication, making the attack entirely unauthenticated.
Know when Inventory Management 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:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Unauthenticated network-accessible registration endpoint; role tampering yields limited privilege gain with no direct availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A weakness has been identified in SourceCodester Inventory Management System 1.0. This vulnerability affects unknown code of the file /api/users_handler.php of the component User Registration Endpoint. This manipulation of the argument role causes improper access controls. Remote exploitation of the attack is possible. The exploit has been made available to the public and could 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 Management System
View allA vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated cr
A vulnerability classified as critical was found in SourceCodester Inventory Management System 1.0. Rated critical sever
A vulnerability, which was classified as critical, has been found in SourceCodester Inventory Management System 1.0.php.
A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical.php. Rated critic
A vulnerability has been found in SourceCodester Inventory Management System 1.0 and classified as critical. Rated criti
Sourcecodester Free and Open Source inventory management system v1.0 is vulnerable to Incorrect Access Control. Rated hi
A vulnerability was found in SourceCodester Free and Open Source Inventory Management System 1.0. Rated high severity (C
A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated hi
A vulnerability classified as critical has been found in SourceCodester Inventory Management System 1.0. Rated critical
A vulnerability has been found in SourceCodester Inventory Management System 1.0 and classified as critical. Rated criti
A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated cr
A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical.php. Rated critic
EUVD-2026-40088
GHSA-w68f-j8vg-r852
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB