Skip to main content

Inventory Management System EUVDEUVD-2025-18864

| CVE-2025-6502 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-23 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

The CVSS v3.1 score of 7.3 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L indicates: network-accessible attack surface, low complexity (no special techniques required), no authentication needed, and moderate confidentiality/integrity/availability impact. The publicly disclosed nature and availability of exploit code significantly elevate real-world risk despite the 'High' rather than 'Critical' CVSS rating. The combination of: (1) unauthenticated remote exploitation, (2) public POC availability, (3) common technology stack (PHP), and (4) direct SQL injection in password change functionality suggests high EPSS probability and active exploitation likelihood. This meets criteria for immediate remediation—it is not a theoretical high-CVSS-low-risk issue but rather a practically exploitable vulnerability affecting authentication systems. Priority should be CRITICAL in operational environments.

Exploit ScenarioDerived

An unauthenticated attacker discovers the vulnerable changePassword.php endpoint and crafts a malicious HTTP request with SQL injection payload in the user_id parameter. Example: POST /php_action/changePassword.php with user_id=1' OR '1'='1 or user_id=1; DROP TABLE users;--. The vulnerable code constructs a query like: SELECT * FROM users WHERE user_id = [user_input] without parameterization. The injected SQL executes within the application's database context, allowing the attacker to: (1) extract sensitive user credentials and personal data, (2) modify password hashes for privilege escalation, (3) delete records, or (4) potentially execute operating system commands if database permissions allow. Given the public disclosure and available POC, exploitation is likely occurring or will occur imminently in unpatched instances, particularly targeting inventory systems managing sensitive business data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 15, 2026

CVE-2025-6502 is a critical SQL injection vulnerability in code-projects Inventory Management System 1.0, specifically in the /php_action/changePassword.php file where the user_id parameter is inadequately sanitized. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with exploit details available, increasing immediate risk of active exploitation.

RemediationAI

patch: Upgrade to patched version when available from code-projects. Monitor official vendor channels for security updates. immediate_mitigation: Implement Web Application Firewall (WAF) rules to detect and block SQL injection attempts targeting /php_action/changePassword.php, particularly patterns in user_id parameter (union, select, or, drop, etc.). code_level_fix: Refactor changePassword.php to use prepared statements with parameterized queries. Replace string concatenation in SQL queries with bind parameters (mysqli prepared statements or PDO). input_validation: Implement strict input validation: user_id should be validated as numeric (integer only) before any database operation. Use type casting: (int)$_POST['user_id'] or similar strict validation. access_control: If possible, implement rate limiting and IP-based restrictions on /php_action/changePassword.php endpoint to reduce attack surface until patched. monitoring: Enable SQL error logging and monitor for suspicious SQL syntax errors in application logs that may indicate exploitation attempts.

Affected VersionsENISA

Inventory Management System 1.0

Affected Packages

euvd inventory_management_system no fix

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 stems from improper input validation in a PHP-based web application (CPE: cpe:2.3:a:code-projects:inventory_management_system:1.0:*:*:*:*:*:*:*). The root cause is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), indicating that user-supplied input in the user_id parameter is passed directly to SQL queries without proper parameterization or escaping. The affected file changePassword.php likely constructs SQL statements dynamically using string concatenation rather than prepared statements with parameterized queries, a fundamental PHP security anti-pattern. This is a server-side vulnerability requiring no client-side interaction, making it particularly dangerous in web application contexts.

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Jun 27, 2025 - 16:56 vuln.today
Public exploit code
CVE Published
Jun 23, 2025 - 04:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability has been found in code-projects Inventory Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /php_action/changePassword.php. The manipulation of the argument user_id leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A publicly disclosed SQL injection vulnerability in the Inventory Management System 1.0 allows remote attackers to manipulate database queries through the password change function, potentially exposing or modifying sensitive employee and inventory data. With active exploit code available and no patch currently available, immediate containment measures are required to prevent unauthorized access to critical business systems.

Business Impact: High
Compensating Controls

Implement WAF rules to block SQL injection patterns in the user_id parameter; restrict network access to /php_action/changePassword.php to known internal IP ranges only; disable password change functionality and use alternative authentication management; enforce strict input validation requiring numeric-only values for user_id; enable comprehensive logging and real-time alerting on failed authentication attempts; consider isolating the application on a segregated network segment with enhanced monitoring.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-4749 CRITICAL POC
9.8 Sep 04

A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated cr

CVE-2023-4558 CRITICAL POC
9.8 Aug 27

A vulnerability classified as critical was found in SourceCodester Inventory Management System 1.0. Rated critical sever

CVE-2023-4436 CRITICAL POC
9.8 Aug 20

A vulnerability, which was classified as critical, has been found in SourceCodester Inventory Management System 1.0.php.

CVE-2023-4201 CRITICAL POC
9.8 Aug 07

A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical.php. Rated critic

CVE-2023-4200 CRITICAL POC
9.8 Aug 07

A vulnerability has been found in SourceCodester Inventory Management System 1.0 and classified as critical. Rated criti

CVE-2023-46449 HIGH POC
8.8 Oct 26

Sourcecodester Free and Open Source inventory management system v1.0 is vulnerable to Incorrect Access Control. Rated hi

CVE-2023-4449 HIGH POC
8.8 Aug 21

A vulnerability was found in SourceCodester Free and Open Source Inventory Management System 1.0. Rated high severity (C

CVE-2023-4199 HIGH POC
7.5 Aug 07

A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated hi

CVE-2023-4557 CRITICAL
9.8 Aug 27

A vulnerability classified as critical has been found in SourceCodester Inventory Management System 1.0. Rated critical

CVE-2023-4438 CRITICAL
9.8 Aug 20

A vulnerability has been found in SourceCodester Inventory Management System 1.0 and classified as critical. Rated criti

CVE-2023-4437 CRITICAL
9.8 Aug 20

A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated cr

CVE-2023-4184 CRITICAL
9.8 Aug 06

A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical.php. Rated critic

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy