nuclei-templates/http/cves/2022/CVE-2022-0869.yaml

45 lines
1.6 KiB
YAML

id: CVE-2022-0869
info:
name: nitely/spirit 0.12.3 - Open Redirect
author: ctflearner
severity: medium
description: |
Multiple Open Redirect in GitHub repository nitely/spirit prior to 0.12.3.
remediation: |
Upgrade to a patched version of nitely/spirit to mitigate the open redirect vulnerability (CVE-2022-0869).
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-0869
- https://huntr.dev/bounties/ed335a88-f68c-4e4d-ac85-f29a51b03342
- https://github.com/nitely/spirit/commit/8f32f89654d6c30d56e0dd167059d32146fb32ef
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-2022-0869
cwe-id: CWE-601
epss-score: 0.00115
epss-percentile: 0.44953
cpe: cpe:2.3:a:spirit-project:spirit:*:*:*:*:*:*:*:*
metadata:
max-request: 4
vendor: spirit-project
product: spirit
tags: huntr,cve,cve2022,redirect,nitely,spirit
http:
- method: GET
path:
- "{{BaseURL}}/user/login/?next=https%3A%2F%2Finteract.sh"
- "{{BaseURL}}/user/logout?next=https%3A%2F%2Finteract.sh"
- "{{BaseURL}}/user/register?next=https%3A%2F%2Finteract.sh"
- "{{BaseURL}}/user/resend-activation?next=https%3A%2F%2Finteract.sh"
stop-at-first-match: true
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$'
# digest: 490a00463044022037f6b67466aab5bc8925dc48dac849777f299cffafa4d5f3d7aadcba7b2feca90220163521593feb8e6e071a222e59451b1b257a01679e240e8995d724e04f52f6ac:922c64590222798bb761d5b6d8e72950