Security Resilience

CVE-2025-68109

RCE in Churchcrm ≤ 6.5.3

Published
17 December 2025
Modified
01 October 2026
Patch / advisory
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.016 77th percentile
Risk Priority 79 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-68109 is a critical-severity OS Command Injection (CWE-78) vulnerability in Churchcrm. Its CVSS base score is 9.1 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 23% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-68109 affects ChurchCRM, an open-source church management system, in versions prior to 6.5.3. The vulnerability resides in the Database Restore functionality, which fails to validate the content or file extension of uploaded files. This flaw enables attackers to upload malicious files, such as a web shell, and a supporting .htaccess file to bypass restrictions and gain direct access, ultimately leading to remote code execution (RCE) on the server. The issue is rated with a CVSS v3.1 base score of 9.1 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H) and is associated with CWEs including CWE-78 (OS Command Injection), CWE-434 (Unrestricted Upload), CWE-494 (Download of Code Without Integrity Check), CWE-552 (Files or Directories Accessible to External Parties), and CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes).

Exploitation requires high privileges (PR:H), such as administrative access within the ChurchCRM application, accessible over the network with low complexity and no user interaction. A privileged attacker can leverage the Database Restore feature to upload a web shell file, followed by a .htaccess file to enable its execution via direct web access. Successful exploitation grants RCE, allowing full compromise of the server with high confidentiality, integrity, and availability impacts, particularly due to the changed scope (S:C).

The GitHub Security Advisory (GHSA-pqm7-g8px-9r77) confirms that ChurchCRM version 6.5.3 addresses the vulnerability by implementing proper validation of uploaded files in the Database Restore functionality. Security practitioners should upgrade to version 6.5.3 or later and review access controls for privileged users.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1216.001 PubPrn Stealth
Adversaries may use PubPrn to proxy execution of malicious remote files.
T1218.005 Mshta Stealth
Adversaries may abuse mshta.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-55697Shared CWE-494, CWE-78
CVE-2026-45058Shared CWE-494, CWE-915
CVE-2024-43656Shared CWE-434, CWE-78
CVE-2024-43657Shared CWE-434, CWE-78
CVE-2025-5243Shared CWE-434, CWE-78
CVE-2024-22426Shared CWE-434, CWE-78
CVE-2026-28673Shared CWE-434, CWE-78
CVE-2026-2701Shared CWE-434, CWE-78
CVE-2025-67164Shared CWE-434, CWE-78
CVE-2026-59721Shared CWE-78, CWE-915

Affected Assets

churchcrm
churchcrm
≤ 6.5.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 14 hardening rules · 5 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V5.1.1
  • V8.4.2
  • V1.2.5
  • V1.2.8

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 directly enforces authorization checks on access to files and directories, stopping unauthorized external exposure.

Requires digital signature verification before component installation, directly stopping execution of code downloaded without integrity checks.

AC-6 limits granted privileges, reducing the chance that files or directories become reachable by external parties.

Developer testing and evaluation can discover missing or incorrect command sanitization during development.

Input validation directly neutralizes or rejects special characters that would otherwise alter OS command structure.

Malicious-code protection at entry points blocks dangerous file types from being accepted and executed.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

ID.RA-09 full match
blocks

Directly requires assessing authenticity/integrity of software before acquisition and use, preventing unverified downloads.

PR.AA-05 mostly match
blocks

Enforcing least-privilege permissions and authorization policies directly prevents unauthorized file/directory exposure.

PR.DS-02 mostly match
blocks

Requires cryptographic integrity protections (signatures/hashes) for data-in-transit, covering downloaded code.

PR.IR-01 mostly match
blocks

Logical segmentation and access protections stop external parties from reaching files that should remain internal.

PR.PS-05 mostly match
blocks

Restricting execution of unauthorized software directly blocks dangerous uploaded files from running.

PR.PS-06 mostly match
blocks

PR.PS-06's SDLC practices directly require secure coding and input handling that blocks command-injection defects, yet the single broad outcome leaves many specific neutralization vectors and verification gaps unaddressed.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

removes

CWE-552 is the absence of access control on files/directories (web roots without restrictions, cloud storage open to public, archives exposing sensitive files); A.8.3 mandates access restriction mechanisms (configuration controls, per-user/per-identity permissions, isolation of sensitive data), so applying it where it was not applied before configures those controls and the unauthorized accessibility stops being present — nothing of the weakness is left over.

finds

Security testing and code review target insecure use of operating-system command interfaces, catching command-injection flaws introduced during development.

removes

A.8.9's configuration monitoring and deviation correction removes the configuration-based instances of CWE-552 (cloud storage misconfigurations like 'Allow Blob Public Access' = true, IAM policies granting allUsers access, web server directory permissions), which constitute the bulk of modern instances; the remainder is the code/architecture-level instances (files placed under web root by design) that configuration management does not reach.

prevents

Graded partial by the owner: this user access lifecycle clause does not address cases where access groups and roles are not well defined, nor cases where user access provisioning is not normally applied, such as file permissions on a web server.

finds

A.5.21 governs supplier relationships and supply chain security requirements, not the technical detection of file upload vulnerabilities in deployed code.

finds

A.5.22 monitors supplier compliance and reviews their reports and audit trails, but it does not perform static analysis, dynamic testing, or penetration testing on the supplier's code to discover OS command injection flaws.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (1 rule, 2 more partial)
  • V-248575 OL 8 must prevent the installation of software, patches, service packs, device drivers, or operating system components of local packages without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-494
  • V-248579 OL 8 must restrict access to the kernel message buffer. blocks CWE-552
  • V-248597 There must be no "shosts.equiv" files on the OL 8 operating system. blocks CWE-552
Oracle Linux 9 (1 rule)
  • V-271524 OL 9 must check the GPG signature of software packages originating from external software repositories before installation. blocks CWE-494
RHEL 7 (1 rule, 1 more partial)
  • V-204447 The Red Hat Enterprise Linux operating system must prevent the installation of software, patches, service packs, device drivers, or operating system components from a repository without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-494
  • V-204448 The Red Hat Enterprise Linux operating system must prevent the installation of software, patches, service packs, device drivers, or operating system components of local packages without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-494
RHEL 8 (1 rule)
  • V-230264 RHEL 8 must prevent the installation of software, patches, service packs, device drivers, or operating system components from a repository without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-494
RHEL 9 (1 rule)
  • V-257820 RHEL 9 must check the GPG signature of software packages originating from external software repositories before installation. blocks CWE-494

References