nuclei-templates/http/cves/2021/CVE-2021-29622.yaml

40 lines
2.0 KiB
YAML
Raw Normal View History

2021-05-20 13:13:18 +00:00
id: CVE-2021-29622
info:
name: Prometheus - Open Redirect
2021-05-20 13:13:18 +00:00
author: geeknik
severity: medium
description: Prometheus 2.23.0 through 2.26.0 and 2.27.0 contains an open redirect vulnerability. To ensure a seamless transition to 2.27.0, the default UI was changed to the new UI with a URL prefixed by /new redirect to /. Due to a bug in the code, an attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
2023-09-27 15:51:13 +00:00
impact: |
An attacker can exploit this vulnerability to redirect users to malicious websites, leading to potential phishing attacks or the disclosure of sensitive information.
2023-09-06 12:09:01 +00:00
remediation: The issue was patched in the 2.26.1 and 2.27.1 releases. In 2.28.0, the /new endpoint will be removed completely. The workaround is to disable access to /new via a reverse proxy in front of Prometheus.
reference:
- https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7
- https://github.com/prometheus/prometheus/releases/tag/v2.26.1
- https://github.com/prometheus/prometheus/releases/tag/v2.27.1
- https://nvd.nist.gov/vuln/detail/CVE-2021-29622
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2021-29622
cwe-id: CWE-601
epss-score: 0.00269
epss-percentile: 0.64358
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: prometheus
product: prometheus
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,prometheus,redirect
2021-05-20 13:13:18 +00:00
http:
2021-05-20 13:13:18 +00:00
- method: GET
path:
- "{{BaseURL}}/new/newhttp://interact.sh"
2021-05-20 13:13:18 +00:00
matchers:
- type: regex
2023-07-11 19:49:27 +00:00
part: header
2021-05-20 13:13:18 +00:00
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'
# digest: 4b0a00483046022100835e27d67c02978fd0bee911d344ea0062c9e27f3aa7ebaa04152f8a13c5fb1502210086d26f492cb3cba2db01d24993db842112f1f8c56d94e7472d45703b2f8be045:922c64590222798bb761d5b6d8e72950