Rapid7

module

ChurchCRM Database Restore RCE 6.2.0

Disclosed
Dec 17, 2025
Created
Apr 16, 2026

Description

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.

Author

LucasCsmt

Platform

Linux,PHP

Architectures

x86, x64, php

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/multi/http/churchcrm_db_restore_rce
msf exploit(churchcrm_db_restore_rce) > show targets
...targets...
msf exploit(churchcrm_db_restore_rce) > set TARGET < target-id >
msf exploit(churchcrm_db_restore_rce) > show options
...show and set options...
msf exploit(churchcrm_db_restore_rce) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.