Exploit database

Vulnerability

CVE-2025-68109

ChurchCRM vulnerable to RCE with database restore functionality

Vulnerability details

Score
9.1
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Description

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.

CVE Program

Exploit source choices

1 source
ChurchCRM Database Restore RCE 6.2.0
MSF-multi--http--churchcrm_db_restore_rceMetasploitLinux,PHP / remotePreferred

This module exploits a Remote Code Execution (RCE) vulnerability in ChurchCRM versions prior to 6.2.0. The vulnerability resides in the Database Restore functionality, which allows an authenticated user with administrative privileges to upload a malicious backup file. By bypassing upload restrictions via a crafted .htaccess file, the module enables PHP code execution in the target directory, ultimately providing the attacker with a Meterpreter shell.

2025-12-17churchcrm_db_restore_rce.rb