CVE-2025-6311 Details
Description
A vulnerability, which was classified as critical, was found in Campcodes Sales and Inventory System 1.0. This affects an unknown part of the file /pages/account_add.php. The manipulation of the argument id/amount leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
A critical SQL injection vulnerability has been identified in Campcodes Sales and Inventory System version 1.0, specifically within the '/pages/account_add.php' file. This vulnerability arises from inadequate validation of user input in the 'id' and 'amount' parameters, allowing attackers to inject malicious SQL code that is executed without proper sanitization. The flaw can be exploited remotely, without the need for authentication, potentially leading to unauthorized access to the database, data manipulation, and disruption of service.
To address this vulnerability, it is recommended to implement prepared statements and parameter binding to separate SQL code from user input, ensuring that injected data is not executed as part of the SQL command. Additionally, input validation and filtering should be applied to confirm that user data meets expected formats before processing. Minimizing database user permissions and conducting regular security audits can further enhance the application's security posture.
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 Jun 20, 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/dragonghost2025/cve/issues/1 | [email protected] | ExploitIssue Tracking |
| https://vuldb.com/?ctiid.313311 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.313311 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.595922 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.595926 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.campcodes.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 |
|---|---|
| campcodes sales and inventory 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 29, 2026 | Data Remediation | [email protected] |
| Jul 11, 2025 | Initial Analysis | [email protected] |
| Jun 20, 2025 | New CVE Received | [email protected] |