Create hashicorp-consul-rce.yaml

patch-1
PikPikcU 2021-02-26 09:02:50 +00:00 committed by GitHub
parent 4fb3b338a0
commit 50f5c91edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: hashicorp-consul-rce
info:
name: Hashicorp Consul Services Api RCE
author: pikpikcu
severity: critical
reference: https://www.exploit-db.com/exploits/46074
requests:
- method: GET
path:
- "{{BaseURL}}/v1/agent/self"
matchers-condition: and
matchers:
- type: word
words:
- "Content-Type: application/json"
part: header
- type: word
words:
- '"EnableScriptChecks":'
- '"EnableRemoteScriptChecks":'
part: body
- type: status
status:
- 200