CVE-2025-4935 Details
Description
A vulnerability was found in SourceCodester Stock Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /php_action/changePassword.php. The manipulation of the argument user_id leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
A critical SQL injection vulnerability has been identified in SourceCodester Stock Management System version 1.0. The issue arises in the file '/php_action/changePassword.php', where the 'user_id' parameter is processed without proper validation, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data manipulation, and leakage of sensitive information.
To address this vulnerability, it is recommended to implement prepared statements and parameter binding to prevent SQL injection. Additionally, user input should be validated and filtered to ensure it meets expected formats. Minimizing database user permissions and conducting regular security audits can also help enhance the application's security.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hubCVE2025/CVE/issues/2 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.309497 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.309497 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.579798 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.sourcecodester.com/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| oretnom23 stock management system | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 28, 2025 | Initial Analysis | [email protected] |
| May 19, 2025 | New CVE Received | [email protected] |