CVE-2025-4312 Details
Description
A vulnerability, which was classified as critical, has been found in SourceCodester Advanced Web Store 1.0. This issue affects some unknown processing of the file /productdetail.php. The manipulation of the argument prodid 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 Advanced Web Store version 1.0. The issue arises in the file productdetail.php, where the prodid parameter is processed without proper validation, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, leading to unauthorized database access, data manipulation, and potential service disruption.
To address this vulnerability, it is recommended to use prepared statements and parameter binding to separate SQL code from user input, ensuring that injected data is not executed as part of a SQL command. Additionally, input validation and filtering should be implemented to enforce expected data formats. Minimizing database user permissions and conducting regular security audits can further 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 6, 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/Samsamue1/CVE/issues/1 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/Samsamue1/CVE/issues/1 | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.307415 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.307415 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.564301 | [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 |
|---|---|
| donbermoy advanced web store | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 14, 2025 | Initial Analysis | [email protected] |
| May 6, 2025 | CVE Modified | CISA-ADP |
| May 6, 2025 | New CVE Received | [email protected] |