Description
ChurchCRM <= 6.8.0 allows unauthenticated remote code execution via 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.
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_rcemsf undefined(churchcrm_install_unauth_rce) > show actions ...actions...msf undefined(churchcrm_install_unauth_rce) > set ACTION < action-name >msf undefined(churchcrm_install_unauth_rce) > show options ...show and set options...msf undefined(churchcrm_install_unauth_rce) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub