2021-05-20 13:13:18 +00:00
id : CVE-2021-29622
info :
name : Prometheus v2.23.0 to v2.26.0, and v2.27.0 Open Redirect
author : geeknik
severity : medium
2022-05-17 09:18:12 +00:00
description : In 2.23.0, Prometheus changed its default UI to the New ui. To ensure a seamless transition, the URL's prefixed by /new redirect to /. Due to a bug in the code, it is possible for an attacker to craft an URL that can redirect to any other URL, in the /new endpoint.
2022-04-22 10:38:41 +00:00
reference :
- https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7
2022-05-17 09:18:12 +00:00
- https://github.com/prometheus/prometheus/releases/tag/v2.26.1
- https://github.com/prometheus/prometheus/releases/tag/v2.27.1
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-29622
cwe-id : CWE-601
2022-04-22 10:38:41 +00:00
tags : cve,cve2021,prometheus,redirect
2021-05-20 13:13:18 +00:00
requests :
- method : GET
path :
2022-06-06 10:40:15 +00:00
- "{{BaseURL}}/new/newhttp://interact.sh"
2021-05-20 13:13:18 +00:00
matchers :
- type : regex
regex :
2022-06-06 10:40:15 +00:00
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'
2021-05-20 13:14:28 +00:00
part : header