Code-Projects Church Donation System SQL Injection Vulnerability in Password Update File

Vulnerability

A critical SQL injection vulnerability has been identified in Code-Projects Church Donation System version 1.0. The issue resides in the file '/members/update_password_admin.php', where the 'new_password' parameter is manipulated to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, allowing attackers to access, modify, or delete database information. The flaw stems from inadequate input validation, which fails to properly sanitize user-provided data before it is used in SQL commands.

Impact

Exploitation of this vulnerability allows unauthorized database access, manipulation or deletion of data, leakage of sensitive information, and potential disruption of services.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/members/update_password_admin.php' with the 'new_password' parameter crafted to include malicious SQL payloads. This can be done using tools like sqlmap, which automates the injection process and exploitation of SQL injection vulnerabilities.

Remediation

It is recommended to implement prepared statements and parameter binding to prevent SQL injection, validate and filter user input, and limit database user permissions to the minimum required.

Added: Jul 20, 2025, 1:33 AM
Updated: Jul 20, 2025, 1:33 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
0.3
threat
6.4
urgency
2.9
incentive
5.8

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