Mautic Vulnerable to User Enumeration via Response Timing
Impact
The attacker can validate if a user exists by checking the time login returns. This timing difference can be used to enumerate valid usernames, after which an attacker could attempt brute force attacks.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.4.0 before 4.4.17Ecosystem versions | 4.4.17 |
| From 5.0.0-alpha before 5.2.8Ecosystem versions | 5.2.8 |
| From 6.0.0-alpha before 6.0.5Ecosystem versions | 6.0.5 |
Version evidence: OSV · GHSA-3ggv-qwcp-j6xg
View original version evidence (43 explicit versions)
Original source description
Impact
The attacker can validate if a user exists by checking the time login returns. This timing difference can be used to enumerate valid usernames, after which an attacker could attempt brute force attacks.
Patches
This vulnerability has been patched, implementing a timing-safe form login authenticator that ensures consistent response times regardless of whether a user exists or not.
Technical Details
The vulnerability was caused by different response times when:
- A valid username was provided (password hashing occurred)
- An invalid username was provided (no password hashing occurred)
The fix introduces a TimingSafeFormLoginAuthenticator that performs a dummy password hash verification even for non-existent users, ensuring consistent timing.
Workarounds
No workarounds are available. Users should upgrade to the patched version.
References
References
- Security advisory github.com/mautic/mautic/security/advisories/GHSA-3ggv-qwcp-j6xg
- Security advisory nvd.nist.gov/vuln/detail/CVE-2025-9824
- Patch github.com/mautic/mautic/commit/6bc4f5f1aabb13df12714ad0ea9fc281cbb867c6
- Patch github.com/mautic/mautic/commit/b4264c717ce31fbafafcefc04b02ecb9fb911e62
- Source reference github.com/mautic/mautic