Code-Projects Online Complaint Site SQL Injection Vulnerability in Register Complaint PHP File

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Online Complaint Site version 1.0. The issue arises in the file '/cms/users/register-complaint.php', where insufficient validation of the 'cid' parameter allows attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, leading to unauthorized database access, data manipulation, and potential leakage of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to interfere with the application's database queries. This could result in unauthorized data access, data modification or deletion, and in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a POST request to '/cms/users/register-complaint.php' with crafted SQL payloads in the 'cid' parameter. The injection can be verified by observing the application's response or by using tools like SQLMap to automate the exploitation process.

Remediation

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

Added: Oct 9, 2025, 1:19 AM
Updated: Oct 9, 2025, 1:19 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.6
remediation
0.0
relevance
0.6
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.