ChurchCRM
cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*
- <= 7.1.2
A SQL injection vulnerability has been identified in ChurchCRM, an open-source church management system, in versions prior to 7.2.0. The issue arises in the FinancialService::getMemberByScanString() method, where unsanitized data is concatenated into raw SQL queries. This vulnerability allows for authenticated SQL injection through the API endpoint '/api/families/byCheckNumber/{scanString}'.
Exploitation of this vulnerability allows for authenticated SQL injection, enabling attackers to manipulate SQL queries and potentially access or modify database information.
To reproduce this vulnerability, send a request to the '/api/families/byCheckNumber/{scanString}' endpoint with a crafted scan string that includes SQL injection payloads. The injection will occur through the '$routeAndAccount' parameter, which is not properly sanitized before being added to the SQL query.
Users can upgrade to ChurchCRM version 7.2.0 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.