Create hashicorp-consul-rce.yaml
parent
4fb3b338a0
commit
50f5c91edf
|
@ -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
|
Loading…
Reference in New Issue