Skip to main content

ChurchCRM CVE-2025-68109

HIGH
OS Command Injection (CWE-78)
2025-12-17 security-advisories@github.com
7.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain ChurchCRM admin access
  2. Delivery
    Upload web shell via Database Restore
  3. Exploit
    Upload .htaccess to enable direct access
  4. Execution
    Request web shell URL
  5. Impact
    Execute arbitrary code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated administrator-level account (PR:H) with access to the ChurchCRM Database Restore functionality in versions prior to 6.5.3, which fails to validate uploaded file content or extension. The attacker must be able to upload both a web shell and a .htaccess file to enable direct web access to it, implying the web server honors per-directory .htaccess overrides (e.g., Apache with AllowOverride enabled) and permits execution of the uploaded script. The primary limiting factor is the high privilege requirement - a non-admin cannot reach the restore feature - so risk is confined to scenarios involving malicious admins or a prior privilege-escalation/account-compromise. No user interaction by a victim is required (UI:N). Upgrading to 6.5.3 remediates the flaw.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H = 7.2 HIGH) describes a network-exploitable but high-privilege flaw: the Database Restore feature is an administrative function, so PR:H correctly reflects that an attacker must already hold admin-level access to the ChurchCRM instance. Technical impact is total (C:H/I:H/A:H) because the uploaded web shell yields arbitrary remote code execution on the host. A public exploit exists (POC=YES, referenced in the GitHub Security Advisory GHSA-pqm7-g8px-9r77), which raises practical risk, but there is NO CISA KEV entry and no EPSS score was supplied, so there is no evidence of active, widespread exploitation - this is best characterized as a publicly documented post-authentication RCE rather than a mass-exploited internet-wide threat. The PR:H gate is the decisive mitigating signal: realistic abuse requires either a compromised/malicious administrator or a chained privilege escalation to reach the restore function. Note a labeling tension: the assigned CWE-78 (OS Command Injection) and the 'Command Injection' tag do not match the described mechanism, which is unrestricted file upload (CWE-434) of a web shell plus a .htaccess override - the RCE is achieved via dropped script execution, not command injection; verify against the advisory.

Exploit ScenarioDerived

An attacker who has obtained ChurchCRM administrator credentials (or has escalated to an admin session) navigates to the Database Restore feature and uploads a PHP web shell, since the function validates neither file content nor extension. They then upload a crafted .htaccess file to make the shell directly reachable and request its URL, obtaining arbitrary remote code execution on the server. Public exploit details are available via the GitHub advisory, lowering the effort to reproduce.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
No patch listed yet 1.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 01, 2026

Remote code execution in ChurchCRM versions prior to 6.5.3 allows an authenticated administrator to upload a web shell through the Database Restore function, then upload a .htaccess file to make the shell directly accessible and executable. The flaw is tracked as CVE-2025-68109 with CVSS 3.1 base score 7.2 (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H); the high PR:H metric reflects that the vulnerable restore feature is administrative. Publicly available exploit code exists, but there is no confirmed active exploitation (CISA KEV) in the provided data, and upgrading to 6.5.3 remediates the issue.

RemediationAI

Vendor-released patch: upgrade to ChurchCRM 6.5.3 or later; the fix is documented in GitHub advisory GHSA-pqm7-g8px-9r77 (https://github.com/ChurchCRM/CRM/security/advisories/GHSA-pqm7-g8px-9r77). If immediate upgrade is not possible, restrict Database Restore access to trusted administrator accounts only, since exploitation requires an authenticated admin-level session; consider temporarily disabling or removing the restore feature if it is not operationally needed. Harden the web server by disabling .htaccess overrides in upload directories or otherwise preventing uploaded scripts from being directly requested and executed; these compensating controls can break legitimate restore workflows and may require tuning to avoid blocking valid .htaccess use elsewhere. No vendor patch version other than 6.5.3 should be cited from the available data.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ChurchCRM is an open-source church management system. Its Database Restore functionality accepts uploaded files without validating their content or extension, which is rooted in the CWE-78 command-injection class because the attacker ultimately achieves OS command execution through a web shell. In practice, the attacker uploads a script and a .htaccess file; exploitation depends on the web server honoring per-directory .htaccess overrides (for example, Apache with AllowOverride enabled) and allowing execution of the uploaded script. The provided CPE cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:* covers ChurchCRM releases before 6.5.3, and the GitHub advisory GHSA-pqm7-g8px-9r77 is the upstream reference.

Know when Churchcrm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Admin-only Database Restore feature justifies PR:H; network-reachable upload with low complexity and no victim interaction yields total RCE impact (C/I/A:H).

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionNVD

ChurchCRM is an open-source church management system. In versions prior to 6.5.3, the Database Restore functionality does not validate the content or file extension of uploaded files. As a result, an attacker can upload a web shell file and subsequently upload a .htaccess file to enable direct access to it. Once accessed, the uploaded web shell allows remote code execution (RCE) on the server. Version 6.5.3 fixes the issue.

Executive ViewAI

Why It Matters

ChurchCRM deployments used for member and donor management are exposed to remote code execution through an authenticated administrator workflow, which could allow a malicious or compromised admin account to take full control of the application and its data. Public exploit code exists, but there is no confirmed active exploitation at this time. Leadership should prioritize remediation because a successful compromise could disrupt church operations, expose sensitive constituent information, and damage stakeholder trust.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to ChurchCRM 6.5.3). If immediate patching is not possible, restrict Database Restore to trusted administrators, disable .htaccess uploads, enforce MFA, and monitor web-accessible directories for unauthorized executable files.

Threat Intelligence Overview

EPSS Score
1.5%
Top 26% exploitable
Prevalence
Low
niche open-source church management software, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 1.5%
Patch available No
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Active
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

73
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +36
PoC: +20
Weaponized: +15
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)NVD

cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:*
CVE-2024-25897 CRITICAL POC
9.8 Feb 21

ChurchCRM 5.5.0 FRCatalog.php is vulnerable to Blind SQL Injection (Time-based) via the CurrentFundraiser GET parameter.

CVE-2024-25894 CRITICAL POC
9.8 Feb 21

ChurchCRM 5.5.0 /EventEditor.php is vulnerable to Blind SQL Injection (Time-based) via the EventCount POST parameter. Ra

CVE-2025-1023 CRITICAL POC
9.3 Feb 18

A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit

CVE-2025-1135 CRITICAL POC
9.3 Feb 19

A vulnerability exists in ChurchCRM 5.13.0. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitab

CVE-2025-1134 CRITICAL POC
9.3 Feb 19

A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit

CVE-2025-1133 CRITICAL POC
9.3 Feb 19

A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit

CVE-2025-1132 CRITICAL POC
9.3 Feb 19

A time-based blind SQL Injection vulnerability exists in the ChurchCRM 5.13.0 and prior EditEventAttendees.php within th

CVE-2026-39339 CRITICAL POC
9.1 Apr 07

Authentication bypass in ChurchCRM API middleware enables unauthenticated remote attackers to access all protected endpo

CVE-2024-25893 CRITICAL POC
9.1 Feb 21

ChurchCRM 5.5.0 FRCertificates.php is vulnerable to Blind SQL Injection (Time-based) via the CurrentFundraiser GET param

CVE-2026-24854 HIGH POC
8.8 Jan 30

Authenticated SQL injection in ChurchCRM's PaddleNumEditor.php endpoint prior to version 6.7.2 allows any logged-in user

CVE-2024-39304 HIGH POC
8.8 Jul 26

ChurchCRM is an open-source church management system. Rated high severity (CVSS 8.8), this vulnerability is remotely exp

CVE-2023-29842 HIGH POC
8.8 May 04

ChurchCRM 4.5.4 endpoint /EditEventTypes.php is vulnerable to Blind SQL Injection (Time-based) via the EN_tyid POST para

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy