{
  "id": "CVE-2025-1023",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-1023",
  "published_at": "2025-02-18T09:45:26.188Z",
  "title": "SQL Injection in ChurchCRM newCountName Parameter via EditEventTypes.php",
  "vendor": "ChurchCRM",
  "product": "ChurchCRM",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-11-03T00:41:06Z",
    "first_seen_at": null,
    "days_after_publication": 257.6,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-1023.yaml"
  },
  "poc_repo_count": 0,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploiting a time-based blind SQL Injection vulnerability in the EditEventTypes functionality. The newCountName parameter is directly concatenated into an SQL query without proper sanitization, allowing an attacker to manipulate database queries and execute arbitrary commands, potentially leading to data exfiltration, modification, or deletion.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.3,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ChurchCRM",
        "product": "ChurchCRM",
        "ranges": [
          "ChurchCRM 5.13.0 and prior"
        ],
        "fixed_in": null
      }
    ],
    "solutions": [
      "To prevent SQL injection, use prepared statements with parameterised queries. Additionally, implement input validation to reject dangerous characters, apply the principle of least privilege to database users to minimise potential damage, and assign appropriate data types in PHP, such as converting newCountName to an integer if it represents a numeric value."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-1023.yaml",
      "source": "nuclei",
      "title": "nuclei template: ChurchCRM - SQL Injection",
      "published_at": "2025-11-03T00:41:06Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
