Skip to content

LDAP authentication bypass with empty password

High severity GitHub Reviewed Published Nov 5, 2020 in alerta/alerta • Updated Jan 9, 2023

Package

pip alerta-server (pip)

Affected versions

>= 8.0.0, < 8.1.0
< 7.5.7

Patched versions

8.1.0
7.5.7

Description

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 alerta/alerta#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:

References

@satterly satterly published to alerta/alerta Nov 5, 2020
Reviewed Nov 6, 2020
Published to the GitHub Advisory Database Nov 6, 2020
Last updated Jan 9, 2023

Severity

High

Weaknesses

CVE ID

CVE-2020-26214

GHSA ID

GHSA-5hmm-x8q8-w5jh

Source code

No known source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.