nuclei-templates/http/cves/2021/CVE-2021-20031.yaml

48 lines
1.8 KiB
YAML

id: CVE-2021-20031
info:
name: SonicWall SonicOS 7.0 - Open Redirect
author: gy741
severity: medium
description: SonicWall SonicOS 7.0 contains an open redirect vulnerability. The values of the Host headers are implicitly set as trusted. An attacker can spoof a particular host header, allowing the attacker to render arbitrary links, obtain sensitive information, modify data, execute unauthorized operations. and/or possibly redirect a user to a malicious site.
remediation: |
Apply the latest security patch or update provided by SonicWall to mitigate the vulnerability.
reference:
- https://www.exploit-db.com/exploits/50414
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0019
- http://packetstormsecurity.com/files/164502/Sonicwall-SonicOS-7.0-Host-Header-Injection.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-20031
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-2021-20031
cwe-id: CWE-601
epss-score: 0.01202
epss-percentile: 0.83648
cpe: cpe:2.3:o:sonicwall:sonicos:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: sonicwall
product: sonicos
google-query: inurl:"auth.html" intitle:"SonicWall"
tags: sonicwall,redirect,edb,packetstorm,cve,cve2021
http:
- raw:
- |
GET / HTTP/1.1
Host: {{randstr}}.tld
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'https://{{randstr}}.tld/auth.html'
- 'Please be patient as you are being re-directed'
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100cb2b25d3e662f17a3ebde3d838aa5082a2d3356e4c40e8e4e201bb0f85c8f601022100ec91753227e8d53ced3a95e05d9fba57041a306dbc1fec1999c223aa9db4dd21:922c64590222798bb761d5b6d8e72950