Code-Projects Client Details System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in Code-Projects Client Details System version 1.0. The issue resides in the file '/clientdetails/admin/index.php', where the 'username' parameter is improperly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely without authentication, potentially leading to unauthorized database access, data manipulation, and disruption of services.

Impact

Exploitation of this vulnerability allows for unauthorized database access via the 'username' parameter, with the potential to modify or delete data and access sensitive information. Such actions could disrupt services and cause significant harm to business operations.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/clientdetails/admin/index.php' with a crafted 'username' parameter that includes malicious SQL payloads. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

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 that user input meets expected formats, blocking malicious data. Finally, database user permissions should be minimized, ensuring that accounts used for database connections have only the necessary privileges.

Added: Jun 21, 2025, 11:38 PM
Updated: Jun 21, 2025, 11:38 PM

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.