CVE-2025-1023

Public Exploit
SQL Injection in ChurchCRM newCountName Parameter via EditEventTypes.php

Description

A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploiting a time-based blind SQL Injection vulnerability in the EditEventTypes functionality. The newCountName parameter is directly concatenated into an SQL query without proper sanitization, allowing an attacker to manipulate database queries and execute arbitrary commands, potentially leading to data exfiltration, modification, or deletion.

Remediation

Solution:

  • To prevent SQL injection, use prepared statements with parameterised queries. Additionally, implement input validation to reject dangerous characters, apply the principle of least privilege to database users to minimise potential damage, and assign appropriate data types in PHP, such as converting newCountName to an integer if it represents a numeric value.

Category

9.3
CVSS
Severity: Critical
CVSS 4.0 •
CVSS 3.1 •
EPSS 0.09%
Third-Party Advisory github.com
Affected: ChurchCRM ChurchCRM
Published at:
Updated at:

References

Link Tags
https://github.com/ChurchCRM/CRM/issues/7246 issue tracking third party advisory exploit

Frequently Asked Questions

What is the severity of CVE-2025-1023?
CVE-2025-1023 has been scored as a critical severity vulnerability.
How to fix CVE-2025-1023?
To fix CVE-2025-1023: To prevent SQL injection, use prepared statements with parameterised queries. Additionally, implement input validation to reject dangerous characters, apply the principle of least privilege to database users to minimise potential damage, and assign appropriate data types in PHP, such as converting newCountName to an integer if it represents a numeric value.
Is CVE-2025-1023 being actively exploited in the wild?
It is possible that CVE-2025-1023 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-1023?
CVE-2025-1023 affects ChurchCRM ChurchCRM.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.