Vulnerability · Published Nov 6, 2020 · Assigned by GitHub_M
CVE-2020-26214LDAP authentication bypass in Alerta
Critical 9.1
In plain English
A critical-severity improper authentication in alerta from alerta. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 65.9% (higher than 99.3% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | alerta-server | 8.1.0 | GHSA-5hmm-x8q8-w5jh |
| PyPI | alerta-server | 7.5.7 | GHSA-5hmm-x8q8-w5jh |
| PyPI | alerta-server | 7.5.7, 8.1.0 | PYSEC-2020-159 |
Affected products (as reported)
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/alerta/alerta/security/advisories/GHSA-5hmm-x8q8-w5jh x_refsource_CONFIRM
- https://github.com/alerta/alerta/issues/1277 x_refsource_MISC
- https://github.com/alerta/alerta/pull/1345 x_refsource_MISC
- https://github.com/alerta/alerta/commit/2bfa31779a4c9df2fa68fa4d0c5c909698c5ef65 x_refsource_MISC
- https://pypi.org/project/alerta-server/8.1.0/ x_refsource_MISC
- https://tools.ietf.org/html/rfc4513#section-5.1.2 x_refsource_MISC