fix-template

patch-1
Dhiyaneshwaran 2023-06-15 15:31:11 +05:30 committed by GitHub
parent 0ba6e7ac6c
commit 47b568a695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 11 deletions

View File

@ -1,14 +1,15 @@
id: CVE-2022-0869
info:
name: nitely/spirit prior to 0.12.3.- Open Redirect
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.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-0869
- https://huntr.dev/bounties/ed335a88-f68c-4e4d-ac85-f29a51b03342/
- 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
@ -17,19 +18,19 @@ info:
cpe: cpe:2.3:a:spirit-project:spirit:*:*:*:*:*:*:*:*
metadata:
max-request: 4
tags: cve,cve2022,redirect,nitely/spirit
tags: cve,cve2022,redirect,nitely,spirit
http:
- method: GET
path:
- "{{BaseURL}}/user/login/?next=http%3A%2F%2Fwww.evil.com"
- "{{BaseURL}}/user/logout?next=http%3A%2F%2Fwww.evil.com"
- "{{BaseURL}}/user/register?next=http%3A%2F%2Fwww.evil.com"
- "{{BaseURL}}/user/resend-activation?next=http%3A%2F%2Fwww.evil.com"
- "{{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\-_\.@]*)evil\.com\/?(\/|[^.].*)?$'
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$'