Campcodes Complaint Management System SQL Injection Vulnerability in Version 1.0

Vulnerability

A critical SQL injection vulnerability has been identified in Campcodes Complaint Management System version 1.0. The issue resides in the file '/users/complaint-details.php', where the 'cid' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to manipulate database queries. This could result in unauthorized data access, data leakage, unauthorized data modification or deletion, and in some cases, could allow attackers to gain control over the application or its underlying server.

Reproduction

To reproduce this vulnerability, log into the application to obtain a valid PHP session ID. Then, send a request to the '/users/complaint-details.php' file, including the 'cid' parameter. Inject a payload that exploits the SQL injection vulnerability, such as a time-based blind SQL injection payload that uses the 'SLEEP' function to demonstrate the injection. The application will pause for the duration specified in the payload, indicating that the injection was successful.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection vulnerabilities. Additionally, input validation and filtering should be implemented to ensure that user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help mitigate such vulnerabilities.

Added: Jul 7, 2025, 9:17 AM
Updated: Jul 7, 2025, 9:17 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
4.6
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.