nuclei-templates/cves/2020/CVE-2020-26214.yaml

45 lines
1.2 KiB
YAML

id: CVE-2020-26214
info:
name: Alerta Authentication Bypass
author: CasperGN
severity: critical
description: |
Alerta prior to version 8.1.0 is prone to Authentication Bypass when using LDAP as authorization provider and the LDAP server accepts Unauthenticated Bind requests.
reference:
- https://github.com/advisories/GHSA-5hmm-x8q8-w5jh
- https://tools.ietf.org/html/rfc4513#section-5.1.2
- https://pypi.org/project/alerta-server/8.1.0/
tags: cve,cve2020,alerta
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.80
cve-id: CVE-2020-26214
cwe-id: CWE-287
requests:
- method: GET
path:
- '{{BaseURL}}/api/config'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: regex
regex:
- 'name":\s*"Alerta ([0-7]\.[0-9]\.[0-9]|8\.0.[0-9])"'
condition: or
- type: regex
regex:
- 'provider":\s*"ldap"'
condition: or
extractors:
- type: regex
part: body
name: alerta-version
group: 1
regex:
- 'name":\s*"Alerta ([0-7]\.[0-9]\.[0-9]|8\.0.[0-9])"'