nuclei-templates/http/cves/2020/CVE-2020-13121.yaml

42 lines
1.5 KiB
YAML
Raw Normal View History

2022-02-08 01:59:02 +00:00
id: CVE-2020-13121
info:
name: Submitty <= 20.04.01 - Open Redirect
2022-02-08 01:59:02 +00:00
author: 0x_Akoko
severity: medium
description: Submitty through 20.04.01 contains an open redirect vulnerability via authentication/login?old= during an invalid login attempt. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
2022-02-08 01:59:02 +00:00
reference:
- https://github.com/Submitty/Submitty/issues/5265
- https://nvd.nist.gov/vuln/detail/CVE-2020-13121
2022-02-08 01:59:02 +00:00
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
2022-02-08 01:59:02 +00:00
cve-id: CVE-2020-13121
cwe-id: CWE-601
epss-score: 0.00235
2023-07-15 16:29:17 +00:00
cpe: cpe:2.3:a:rcos:submitty:*:*:*:*:*:*:*:*
2023-08-31 11:46:18 +00:00
epss-percentile: 0.60968
metadata:
max-request: 1
2023-07-15 16:29:17 +00:00
vendor: rcos
product: submitty
tags: cve,cve2020,redirect,submitty,oos
2022-02-08 01:59:02 +00:00
http:
2022-11-09 06:35:02 +00:00
- raw:
- |
POST /authentication/check_login?old=http%253A%252F%252Fexample.com%252Fhome HTTP/1.1
Host: {{Hostname}}
Origin: {{RootURL}}
Content-Type: application/x-www-form-urlencoded
Referer: {{RootURL}}/authentication/login
2022-02-08 01:59:02 +00:00
2022-11-09 06:35:02 +00:00
user_id={{username}}&password={{password}}&stay_logged_in=on&login=Login
cookie-reuse: true
2022-02-08 01:59:02 +00:00
matchers:
- type: regex
part: header
2022-11-18 13:31:02 +00:00
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1