Skip to main content

CVE-2025-6891: SQL Injection in code-projects Inventory Management System

Medium
VulnerabilityCVE-2025-6891cvecve-2025-6891
Published: Mon Jun 30 2025 (06/30/2025, 06:32:05 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: Inventory Management System

Description

A vulnerability classified as critical has been found in code-projects Inventory Management System 1.0. Affected is an unknown function of the file /php_action/createUser.php. The manipulation of the argument Username leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

AI-Powered Analysis

AILast updated: 06/30/2025, 06:54:32 UTC

Technical Analysis

CVE-2025-6891 is a critical SQL Injection vulnerability identified in version 1.0 of the code-projects Inventory Management System, specifically within the /php_action/createUser.php file. The vulnerability arises from improper sanitization or validation of the 'Username' parameter, which allows an attacker to inject malicious SQL code remotely without any authentication or user interaction. This flaw enables an attacker to manipulate backend database queries, potentially leading to unauthorized data access, data modification, or even complete compromise of the database. The vulnerability is remotely exploitable over the network, with low attack complexity and no privileges or user interaction required, making it highly accessible to attackers. Although no public exploits are currently known to be actively used in the wild, the exploit details have been disclosed publicly, increasing the risk of exploitation. The CVSS 4.0 base score is 6.9, indicating a medium severity level, reflecting the significant but not catastrophic impact on confidentiality, integrity, and availability. The vulnerability affects a widely used inventory management system that may be deployed in various organizational environments, especially those relying on PHP-based web applications for inventory and user management. The lack of available patches or vendor advisories at this time further exacerbates the risk, necessitating immediate attention from affected organizations to implement mitigations or workarounds.

Potential Impact

For European organizations, this vulnerability poses a substantial risk to the confidentiality and integrity of sensitive inventory and user data managed by the affected system. Successful exploitation could lead to unauthorized disclosure of business-critical information, manipulation of inventory records, or unauthorized creation or modification of user accounts, potentially enabling further lateral movement within the network. Organizations in sectors such as manufacturing, retail, logistics, and supply chain management that rely on the code-projects Inventory Management System may face operational disruptions and reputational damage. Additionally, compromised data could lead to regulatory non-compliance issues under GDPR, resulting in legal and financial penalties. The remote and unauthenticated nature of the exploit increases the likelihood of attacks, especially in environments with internet-facing deployments or insufficient network segmentation. The absence of known active exploits currently provides a limited window for proactive defense, but the public disclosure of exploit details heightens the urgency for mitigation.

Mitigation Recommendations

Given the absence of official patches, European organizations should immediately implement the following specific mitigations: 1) Apply strict input validation and sanitization on the 'Username' parameter at the web application firewall (WAF) or reverse proxy level to block SQL injection payloads. 2) Employ parameterized queries or prepared statements in the application code if source code access is available, to eliminate injection vectors. 3) Restrict external access to the /php_action/createUser.php endpoint by implementing network segmentation and access control lists (ACLs), limiting it to trusted internal networks only. 4) Monitor web server and database logs for anomalous queries or repeated failed attempts targeting the vulnerable parameter. 5) Conduct a thorough audit of user accounts and inventory data for signs of unauthorized changes. 6) Prepare for rapid patch deployment once vendor updates become available. 7) Consider deploying runtime application self-protection (RASP) solutions to detect and block injection attempts dynamically. These targeted steps go beyond generic advice and focus on immediate risk reduction until a formal patch is released.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-06-28T15:03:29.668Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6862311b6f40f0eb728954ef

Added to database: 6/30/2025, 6:39:23 AM

Last enriched: 6/30/2025, 6:54:32 AM

Last updated: 7/4/2025, 3:31:54 AM

Views: 11

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats