Description
ChurchCRM is an open-source church management system. In versions prior to 7.2.0, the public API login endpoint (/api/public/user/login) returns distinguishable HTTP response codes based on whether a username exists: 404 for non-existent users and 401 for valid users with incorrect passwords. An unauthenticated attacker can exploit this difference to enumerate valid usernames, with no rate limiting or account lockout to impede the process. This issue has been fixed in version 7.2.0.
Problem types
CWE-307: Improper Restriction of Excessive Authentication Attempts
CWE-204: Observable Response Discrepancy
Product status
References
github.com/...RM/CRM/security/advisories/GHSA-x2qh-xmhq-4jpx
github.com/ChurchCRM/CRM/pull/8607
github.com/...ommit/214694eb83778e1f5e52b3dfa2a99d0e965c1850