module

ChurchCRM Unauthenticated RCE via Setup Page

Disclosed
Dec 17, 2025
Created
Feb 16, 2026

Description

ChurchCRM the setup page. The DB_PASSWORD field in the installation form is written
directly into Include/Config.php without sanitization, allowing PHP code
injection. The injected config file is then included on every request,
triggering the payload. Note that the fix claimed in 5.21.0 only added
a strlen check on the password field, leaving the injection intact.

Authors

Arthur Valverde (uartu0)
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_install_unauth_rce
msf exploit(churchcrm_install_unauth_rce) > show targets
...targets...
msf exploit(churchcrm_install_unauth_rce) > set TARGET < target-id >
msf exploit(churchcrm_install_unauth_rce) > show options
...show and set options...
msf exploit(churchcrm_install_unauth_rce) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.