nuclei-templates/cves/2020/CVE-2020-23015.yaml

28 lines
839 B
YAML

id: CVE-2020-23015
info:
name: OPNsense 20.1.5. Open Redirect
author: 0x_Akoko
severity: medium
description: An open redirect issue was discovered in OPNsense through 20.1.5. The redirect parameter "url" in login page was not filtered and can redirect user to any website.
reference:
- https://github.com/opnsense/core/issues/4061
- https://www.cvedetails.com/cve/CVE-2020-23015
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-2020-23015
cwe-id: CWE-601
tags: cve,cve2020,redirect,opnsense
requests:
- method: GET
path:
- '{{BaseURL}}/?url=http://example.com'
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_]*\.)?example\.com(?:\s*?)$'