GitHub Advisoryadvisory · PyPI
GHSA-5hmm-x8q8-w5jh LDAP authentication bypass with empty password
CRITICAL
Official page ↗
- Aliases
- CVE-2020-26214
- Ecosystem
- PyPI
- Packages
- alerta-server
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-287
- Reviewed
- 2020-11-06
Affected packages
• PyPI alerta-server: >= 8.0.0, < 8.1.0 → fixed in 8.1.0
• PyPI alerta-server: < 7.5.7 → fixed in 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 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 [email protected]
Related
Alias · CVE (1)
- CVE-2020-26214 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… vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://github.com/alerta/alerta/security/advisories/GHSA-5hmm-x8q8-w5jh web
- https://nvd.nist.gov/vuln/detail/CVE-2020-26214 advisory
- https://github.com/alerta/alerta/issues/1277 web
- https://github.com/alerta/alerta/pull/1345 web
- https://github.com/alerta/alerta/commit/2bfa31779a4c9df2fa68fa4d0c5c909698c5ef65 web
- 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
- https://tools.ietf.org/html/rfc4513#section-5.1.2 web