mirror of https://github.com/qwqdanchun/fscan.git
11 lines
406 B
YAML
11 lines
406 B
YAML
name: poc-yaml-consul-service-rce
|
|
rules:
|
|
- method: GET
|
|
path: /v1/agent/self
|
|
expression: |
|
|
response.status == 200 && response.content_type.contains("json") && response.body.bcontains(b"\"EnableScriptChecks\": true") || response.body.bcontains(b"\"EnableRemoteScriptChecks\": true")
|
|
detail:
|
|
author: imlonghao(https://imlonghao.com/)
|
|
links:
|
|
- https://www.exploit-db.com/exploits/46074
|