37 lines
964 B
YAML
37 lines
964 B
YAML
id: CVE-2021-41826
|
|
|
|
info:
|
|
name: PlaceOS 1.2109.1 - Open Redirection
|
|
author: geeknik
|
|
severity: medium
|
|
description: PlaceOS Authentication Service before 1.29.10.0 allows app/controllers/auth/sessions_controller.rb open redirect
|
|
reference:
|
|
- https://github.com/PlaceOS/auth/issues/36
|
|
- https://www.exploit-db.com/exploits/50359
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-41826
|
|
tags: cve,cve2021,placeos,redirect
|
|
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-2021-41826
|
|
cwe-id: CWE-601
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/auth/logout?continue=//example.com"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
|
|
- type: status
|
|
status:
|
|
- 302
|
|
- 301
|
|
condition: or
|
|
|
|
- type: regex
|
|
part: header
|
|
regex:
|
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)example\.com.*$'
|