Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | While the CVSS 7.3 score reflects moderate severity, multiple risk signals elevate this to HIGH real-world priority: (1) Attack Vector is Network with no authentication required (AV:N/PR:N), meaning any internet-connected user can exploit this; (2) Attack Complexity is Low (AC:L), requiring no special conditions; (3) Public disclosure and available exploit code substantially increase exploitation probability; (4) The vulnerability affects a web-accessible administrative function (category management), typically containing sensitive business data; (5) SQL injection impacts all three security pillars - Confidentiality, Integrity, and Availability are all impacted (C:L/I:L/A:L). The CVSS vector AV:N/AC:L/PR:N indicates this is trivially exploitable at scale. The primary mitigating factor is the limited scope of version 1.0, though this appears to be an older or niche product suggesting potentially unpatched deployments in the wild. |
| Exploit ScenarioDerived | An attacker discovers an internet-facing Inventory Management System installation. They craft a malicious HTTP request to /php_action/removeCategories.php?categoriesId=1 OR 1=1 -- or similar SQL injection payload. Since PR:N and AC:L, no authentication or complex setup is required. The injected SQL executes within the database context, allowing the attacker to: extract sensitive data (product lists, pricing, customer information via UNION-based injection), modify category records or other linked data (UPDATE injection), or delete entire categories/records (DELETE injection). If database credentials have elevated privileges, attackers could potentially read files from the server (using INTO OUTFILE) or achieve remote code execution depending on database configuration. The public disclosure and available POC code mean script-kiddies can execute this attack without deep technical knowledge, likely resulting in mass scanning and exploitation across vulnerable installations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-6612 is a critical SQL injection vulnerability in code-projects Inventory Management System 1.0 affecting the /php_action/removeCategories.php endpoint. An unauthenticated remote attacker can manipulate the 'categoriesId' parameter to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with exploit code available and demonstrates active exploitation potential with a CVSS 7.3 score indicating moderate-to-high severity.
RemediationAI
Immediate actions: (1) Implement input validation on the categoriesId parameter - whitelist only valid numeric identifiers and reject any input containing SQL metacharacters; (2) Use parameterized prepared statements (prepared queries with bound parameters) for all database interactions in removeCategories.php; (3) Apply principle of least privilege to database user accounts - ensure the PHP application's database credentials have minimal required permissions; (4) Implement Web Application Firewall (WAF) rules to detect and block common SQL injection patterns in category-related parameters; (5) Upgrade to patched version if available from code-projects vendor (check project repository/advisory page); (6) As interim mitigation, disable or restrict access to /php_action/removeCategories.php at the web server level using .htaccess or nginx configuration if the functionality is not immediately required. Long-term: refactor the entire application to use an ORM framework (Laravel Eloquent, Doctrine) that enforces parameterized queries by default.
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
This vulnerability exists in a PHP-based Inventory Management System where user-supplied input (categoriesId parameter) is improperly validated and directly incorporated into SQL queries without parameterized prepared statements or proper escaping. The root cause is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), representing a classic SQL injection flaw. The vulnerable endpoint /php_action/removeCategories.php processes category deletion operations, and the lack of input sanitization allows attackers to break out of intended SQL syntax and inject malicious SQL commands. The absence of stored procedures or parameterized queries indicates the code likely uses string concatenation for query building.
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in code-projects Inventory Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /php_action/removeCategories.php. The manipulation of the argument categoriesId leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A publicly disclosed SQL injection vulnerability affecting Inventory Management System 1.0 allows remote attackers to manipulate database queries through the category removal function, potentially enabling unauthorized data access, modification, or deletion. Organizations running this system face immediate risk of data breach and operational disruption, with no vendor patch currently available.
Implement WAF rules to filter SQL injection payloads in categoriesId parameter; restrict network access to /php_action/removeCategories.php via firewall rules; disable category removal functionality if operationally feasible; apply strict input validation and parameterized queries at application level; monitor and log all requests to vulnerable endpoint; segment inventory system database with minimal privilege accounts; conduct immediate forensic review of access logs for signs of exploitation.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
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-2025-19109
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB