Skip to main content
← All vulnerabilities
CVE-2025-62521

ChurchCRM has unauthenticated RCE in its Install Wizard

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.21.0
1 Metasploit module
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • ChurchCRM CRM

    fixed in 5.21.0

References 2

GitHub · ChurchCRM/CRM

GitHub · rapid7/metasploit-framework