Campcodes Sales and Inventory System SQL Injection Vulnerability in Payment Add Page

Vulnerability

A critical SQL injection vulnerability has been identified in Campcodes Sales and Inventory System version 1.0. The issue resides in the file '/pages/payment_add.php', where the 'cid' parameter is manipulated to inject malicious SQL code. This vulnerability can be exploited remotely, without any authentication, allowing attackers to interfere with SQL queries and potentially access or modify database information.

Impact

Exploitation of this vulnerability allows unauthorized access to the database, manipulation of data, leakage of sensitive information, and could disrupt services, posing a significant risk to system security and business operations.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/pages/payment_add.php' with a crafted 'cid' parameter that includes SQL injection payloads. This request can be made using tools like Burp Suite or through a simple script that automates the process.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.

Added: Jul 1, 2025, 12:27 AM
Updated: Jul 1, 2025, 12:27 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
6.0
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.