Code-Projects Crime Reporting System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in Code-Projects Crime Reporting System version 1.0. The issue resides in the file '/complainer_page.php', where the 'location' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, 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, data modification or deletion, and potentially allow attackers to gain control over the application or its underlying system.

Reproduction

The vulnerability can be reproduced by sending a POST request to 'complainer_page.php' with a crafted 'location' parameter that includes malicious SQL payloads. The injection can be verified by observing the application's response or by using tools like sqlmap to extract database information.

Remediation

To address this vulnerability, it is recommended to implement prepared statements and parameter binding to prevent SQL injection. Additionally, user input should be validated and filtered to ensure it meets expected formats. Minimizing database user permissions and conducting regular security audits can also help enhance the application's security.

Added: Jul 8, 2025, 8:30 AM
Updated: Jul 8, 2025, 8:30 AM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
3.8
exploitability
9.1
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
10.0

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