CVE-2025-24806 Details
Description
Authelia is an open-source authentication and authorization server providing two-factor authentication and single sign-on (SSO) for applications via a web portal. If users are allowed to sign in via both username and email the regulation system treats these as separate login events. This leads to the regulation limitations being effectively doubled assuming an attacker using brute-force to find a user password. It's important to note that due to the effective operation of regulation where no user-facing sign of their regulation ban being visible either via timing or via API responses, it's effectively impossible to determine if a failure occurs due to a bad username password combination, or a effective ban blocking the attempt which heavily mitigates any form of brute-force. This occurs because the records and counting process for this system uses the method utilized for sign in rather than the effective username attribute. This has a minimal impact on account security, this impact is increased naturally in scenarios when there is no two-factor authentication required and weak passwords are used. This makes it a bit easier to brute-force a password. A patch for this issue has been applied to versions 4.38.19, and 4.39.0. Users are advised to upgrade. Users unable to upgrade should 1. Not heavily modify the default settings in a way that ends up with shorter or less frequent regulation bans. The default settings effectively mitigate any potential for this issue to be exploited. and 2. Disable the ability for users to login via an email address.
A vulnerability in Authelia's authentication regulation system allows for increased effectiveness of password brute-forcing attacks. This issue arises when users can log in with both usernames and emails, as the system treats these as separate events. Consequently, an attacker could potentially double the number of login attempts. The regulation process, which is designed to prevent such brute-force attacks, fails to provide any user-facing indication of a ban, making it difficult to discern whether a login attempt was blocked due to a ban or a wrong password. This vulnerability is particularly concerning in environments without mandatory two-factor authentication and where weak passwords are used.
Users should upgrade to Authelia versions 4.38.19 or 4.39.0. For those unable to upgrade, it is recommended to disable email logins and avoid modifying default regulation settings that could reduce ban durations.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 19, 2025CISA-ADP
Assessed Feb 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/authelia/authelia/commit/d4a54189aa6563912f9427b96dcb01eacafa785c | [email protected] | Source CodeVendor |
| https://github.com/authelia/authelia/security/advisories/GHSA-m5mf-3963-4x26 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-307 | Improper Restriction of Excessive Authentication Attempts | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Authelia | < 4.38.19 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 19, 2025 | New CVE Received | [email protected] |
Volerion