CVE-2025-3331 Details
Description
A vulnerability, which was classified as critical, has been found in codeprojects Online Restaurant Management System 1.0. This issue affects some unknown processing of the file /payment_save.php. The manipulation of the argument mode 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 Codeprojects Online Restaurant Management System version 1.0. The issue arises in the file '/payment_save.php', where the 'mode' parameter is manipulated, leading to unauthorized SQL query modifications. This vulnerability can be exploited remotely, without any authentication, allowing attackers to inject malicious SQL and potentially access or manipulate database information.
To address this vulnerability, it is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to 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 Apr 7, 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/p1026/CVE/issues/45 | CISA-ADP | ExploitIssue TrackingThird Party Advisory |
| https://github.com/p1026/CVE/issues/45 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.303545 | [email protected] | Permissions RequiredThird Party AdvisoryVDB Entry |
| https://vuldb.com/?id.303545 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.551905 | [email protected] | Third Party AdvisoryVDB Entry |
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 |
|---|---|
| code-projects online restaurant management system | 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 |
| Apr 7, 2025 | Initial Analysis | [email protected] |
| Apr 7, 2025 | CVE Modified | CISA-ADP |
| Apr 7, 2025 | New CVE Received | [email protected] |