Patchfirst
CVE-2025-1023 Public exploit Critical · 9.3 EPSS 2.5%

SQL Injection in ChurchCRM newCountName Parameter via EditEventTypes.php

Fix:see the vendor's fix instructions Instructions ↓

ChurchCRM · ChurchCRM

Summary

A time-based blind SQL injection flaw exists in the EditEventTypes functionality of ChurchCRM, version 5.13.0 and prior, where the newCountName parameter is concatenated directly into an SQL query without sanitization. An attacker with high-privilege authenticated access over the network, and no user interaction required, can run arbitrary SQL queries to read, modify, or delete database data.

Official description · CVE.org

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.

Breakdown
68.5 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 11 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+11 mo

Affected versions and fixes

as published in the CVE record

ChurchCRM ChurchCRM

Affected: ChurchCRM 5.13.0 and prior

Fix

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.

Attack pattern (CAPEC)

CAPEC-66 SQL Injection

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close