Code-Projects Church Donation System SQL Injection Vulnerability in Members Add Functionality
Vulnerability
A critical SQL injection vulnerability has been identified in Code-Projects Church Donation System version 1.0. The issue resides in the '/members/add_members.php' file, where the 'mobile' parameter is manipulated to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially allowing attackers to access, modify, or delete database information. The exploitation of this vulnerability has been publicly disclosed and is available as a proof-of-concept.
Impact
Exploitation of this vulnerability allows for unauthorized database access via the 'mobile' parameter, enabling attackers to inject malicious SQL, access, modify or delete database information, and potentially disrupt application services.
Reproduction
The vulnerability can be reproduced by sending a POST request to '/members/add_members.php' with the 'mobile' parameter crafted to include SQL injection 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 input validation and sanitization for the 'mobile' parameter to prevent SQL injection. Additionally, using prepared statements for database queries can mitigate the risk by separating SQL code from user input. Finally, reviewing and limiting database user permissions can help reduce the impact of potential exploits.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
