CVE-2022-31325 in Churchcrm
There is a SQL Injection vulnerability in ChurchCRM 4.4.5 via the 'PersonID' field in /churchcrm/WhyCameEditor.php.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Churchcrm | Churchcrm | 4.4.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
There is a SQL Injection vulnerability in ChurchCRM 4.4.5 via the 'PersonID' field in /churchcrm/WhyCameEditor.php.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-31325 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-162382-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-06-08 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-89: SQL Injection
Attacker inserts SQL commands into application queries through user-controlled input, allowing unauthorized database access.
Related attack patterns (CAPEC)
CAPEC-7 Blind SQL Injection via CWE-89
CAPEC-108 Command Line Execution through SQL Injection via CWE-89
CAPEC-109 Object Relational Mapping Injection via CWE-89
CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-89
CAPEC-470 Expanding Control over the Operating System from the Database via CWE-89
Show all 6
CAPEC-66 SQL Injection via CWE-89
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A SQL Injection vulnerability exists in ChurchCRM 4.4.5, allowing an attacker to manipulate the 'PersonID' field in /churchcrm/WhyCameEditor.php, potentially leading to unauthorized data access, modification, or denial of service. This vulnerability has a CVSS score of 7.2, indicating a high severity level. While there is no public proof of concept, an exploit is known to exist, and the EPSS score suggests a low likelihood of exploitation in the wild. However, given the potential impact, immediate attention is required to mitigate this risk, especially in environments where ChurchCRM is used for critical operations or sensitive data management.
The vulnerability is exploitable via the 'PersonID' field in the /churchcrm/WhyCameEditor.php endpoint. An attacker can inject malicious SQL code to manipulate the database, leading to unauthorized data access, modification, or deletion. The attack can be performed over the network without user interaction, and the attacker needs to have a valid session to exploit the vulnerability.
Compensating controls AI-drafted, review before use
Implement input validation and sanitization for the 'PersonID' field in /churchcrm/WhyCameEditor.php. Use prepared statements or parameterized queries to prevent SQL injection. Additionally, enforce strict access controls and session management to limit the impact of any successful exploitation.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2022-31325?
A SQL Injection vulnerability exists in ChurchCRM 4.4.5, allowing an attacker to manipulate the 'PersonID' field in /churchcrm/WhyCameEditor.php, potentially leading to unauthorized data access, modification, or denial of service. This vulnerability has a CVSS score of 7.2, indicating a high severity level. While there is no public proof of concept, an exploit is known to exist, and the EPSS score suggests a low likelihood of exploitation in the wild. However, given the potential impact, immedia
What is the CVSS score for CVE-2022-31325?
CVE-2022-31325 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.7%.
Is CVE-2022-31325 actively exploited?
Public exploit available for CVE-2022-31325. Exploitation risk elevated.
How do I remediate CVE-2022-31325?
Priority: HIGH.
What systems are affected by CVE-2022-31325?
CVE-2022-31325 affects Churchcrm Churchcrm.
What NERC-CIP standard applies to CVE-2022-31325?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2, which requires the implementation of security controls to protect against unauthorized access to critical cyber assets. The SQL injection vulnerability could allow an attacker to gain unauthorized access to the database, compromising the integrity and availability of the system.
What IEC 62443 requirement maps to CVE-2022-31325?
IEC 62443 SR 7.6: This CVE maps to SR 7.6, which requires the implementation of input validation and sanitization to prevent injection attacks. The SQL injection vulnerability in ChurchCRM 4.4.5 could be exploited to manipulate the database, leading to unauthorized data access and modification.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Churchcrm","product":"Churchcrm","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.