58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
|
id: CVE-2020-26214
|
||
|
|
||
|
info:
|
||
|
name: Alerta < 8.1.0 - Authentication Bypass
|
||
|
author: CasperGN,daffainfo
|
||
|
severity: critical
|
||
|
description: Alerta prior to version 8.1.0 is prone to authentication bypass when using LDAP as an 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/
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-26214
|
||
|
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.8
|
||
|
cve-id: CVE-2020-26214
|
||
|
cwe-id: CWE-287
|
||
|
tags: cve,cve2020,alerta,auth-bypass
|
||
|
|
||
|
http:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- '{{BaseURL}}/api/config'
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- '"alarm_model"'
|
||
|
- '"actions"'
|
||
|
- '"severity"'
|
||
|
condition: and
|
||
|
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- compare_versions(version, '< 8.1.0')
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|
||
|
|
||
|
extractors:
|
||
|
- type: regex
|
||
|
name: version
|
||
|
internal: true
|
||
|
group: 1
|
||
|
regex:
|
||
|
- '"name": "Alerta ([0-9.]+)"'
|
||
|
|
||
|
- type: regex
|
||
|
group: 1
|
||
|
regex:
|
||
|
- '"name": "Alerta ([0-9.]+)"'
|
||
|
|
||
|
# Enhanced by mp on 2022/04/22
|