CVE-2024-39304 ChurchCRM SQL Injection Vulnerability

High 8.8 Published Updated

Authenticated attackers can inject SQL statements via the EID parameter in ChurchCRM, allowing unauthorized database access and modification.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-39304?

CVE-2024-39304 is a high-severity SQL injection vulnerability in Churchcrm Churchcrm, published on 26 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

ChurchCRM is an open-source church management system. Versions of the application prior to 5.9.2 are vulnerable to an authenticated SQL injection due to an improper sanitization of user input. Authentication is required, but no elevated privileges are necessary. This allows attackers to inject SQL statements directly into the database query due to inadequate sanitization of the EID parameter in in a GET request to `/GetText.php`. Version 5.9.2 patches the issue.

Weakness: CWE-89

Which versions are affected by CVE-2024-39304?

It affects 1 product.

Products include Churchcrm Churchcrm.

How do I fix CVE-2024-39304?

No fix has been published for CVE-2024-39304 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-39304 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39304 exists.

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

All Churchcrm Churchcrm vulnerabilities

Sources

Also known as CVE-2024-39306, GHSA-2rh6-gr3h-83j9.

Is CVE-2024-39304 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free