Mautic Vulnerable to User Enumeration via Response Timing
Package
Affected versions
>= 4.4.0, < 4.4.17
>= 5.0.0-alpha, < 5.2.8
>= 6.0.0-alpha, < 6.0.5
Patched versions
4.4.17
5.2.8
6.0.5
Description
Published by the National Vulnerability Database
Sep 3, 2025
Published to the GitHub Advisory Database
Sep 3, 2025
Reviewed
Sep 3, 2025
Last updated
Sep 3, 2025
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:
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