9.1critical
LDAP authentication bypass in Alerta
- Severity
- 9.1critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 63.9% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5hmm-x8q8-w5jhPYSEC-2020-159
Description
In Alerta before version 8.1.0, users may be able to bypass LDAP authentication if they provide an empty password when Alerta server is configure to use LDAP as the authorization provider. Only deployments where LDAP servers are configured to allow unauthenticated authentication mechanism for anonymous authorization are affected. A fix has been implemented in version 8.1.0 that returns HTTP 401 Unauthorized response for any authentication attempts where the password field is empty. As a workaround LDAP administrators can disallow unauthenticated bind requests by clients.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| alerta alerta | < 8.1.0 | CVE List |
| alerta-server (PyPI) | from 8.0.0 before 8.1.0, before 7.5.7, before 2bfa31779a4c9df2fa68fa4d0c5c909698c5ef65 | GitHub Advisory Database, PyPA Advisory Database |
| alerta_project alerta | before 7.5.7, from 8.0.0 before 8.1.0 | NVD |
All scores
| GitHub_M | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
In Alerta before version 8.1.0, users may be able to bypass LDAP authentication if they provide an empty password when Alerta server is configure to use LDAP as the authorization provider. Only deployments where LDAP servers are configured to allow unauthenticated authentication mechanism for anonymous authorization are affected. A fix has been implemented in version 8.1.0 that returns HTTP 401 Unauthorized response for any authentication attempts where the password field is empty. As a workaround LDAP administrators can disallow unauthenticated bind requests by clients.
GitHub Advisory Database
Impact
Users may be able to bypass LDAP authentication if they provide an empty password when Alerta server is configure to use LDAP as the authorization provider.
Only deployments where LDAP servers are configured to allow unauthenticated binds (eg. default on Active Directory) are affected.
Patches
A fix has been implemented that returns HTTP 401 Unauthorized response for any authentication attempts where the password field is empty. See https://github.com/alerta/alerta/pull/1345
Workarounds
LDAP administrators can disallow unauthenticated bind requests by clients.
References
https://tools.ietf.org/html/rfc4513#section-5.1.2 https://pypi.org/project/alerta-server/8.1.0/
For more information
If you have any questions or comments about this advisory:
- Add a comment to the issue #1277
- Email us at admin@alerta.dev
NVD (es)
En Alerta versiones anteriores a 8.1.0, los usuarios pueden ser capaces de omitir la autenticación LDAP si proporcionan una contraseña vacía cuando el servidor de Alerta está configurado para usar LDAP como proveedor de autorización. Solo están afectadas las implementaciones en las que los servidores LDAP están configurados para permitir un mecanismo de autenticación no autenticado para la autorización anónima. Una corrección ha sido implementada en la versión 8.1.0, que devuelve una respuesta HTTP 401 no autorizada para cualquier intento de autenticación donde el campo de contraseña está vacío. Como solución alternativa, los administradores de LDAP pueden rechazar las peticiones de vinculación no autenticadas de los clientes
References
| https://github.com/alerta/alerta/security/advisories/GHSA-5hmm-x8q8-w5jh | advisory, third-party-advisory, web | |
| https://github.com/alerta/alerta/issues/1277 | report, third-party-advisory, web | |
| https://github.com/alerta/alerta/pull/1345 | third-party-advisory, web | |
| https://github.com/alerta/alerta/commit/2bfa31779a4c9df2fa68fa4d0c5c909698c5ef65 | fix, patch, third-party-advisory, web | |
| https://pypi.org/project/alerta-server/8.1.0/ | package, third-party-advisory | |
| https://tools.ietf.org/html/rfc4513#section-5.1.2 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-26214 | advisory | |
| https://github.com/alerta/alerta | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/alerta-server/PYSEC-2020-159.yaml | web | |
| https://pypi.org/project/alerta-server/8.1.0 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26214 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5hmm-x8q8-w5jh changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2020-26214 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-159 changed 2023-11-08 | CC-BY-4.0 |