nuclei-templates/http/miscellaneous/exposed-file-upload-form.yaml

32 lines
905 B
YAML

id: exposed-file-upload-form
info:
name: Exposed File Upload Form
author: geeknik
severity: info
metadata:
verified: true
max-request: 1
shodan-query: http.html:"multipart/form-data" html:"file"
tags: miscellaneous,exposure,upload,form,misc,generic
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: regex
regex:
- <form.*?method=("|')?post("|')?.*?>
- <form.*?(?i)(?-i)enctype=("|')?multipart\/form-data("|')?.*?>
- <input.*?type=("|')?file("|')?.*?>
condition: or
- type: regex
regex:
- "type=[\"'](file)[\"']"
- 'id="file"'
condition: or
# digest: 490a0046304402206e7efb13f76fa18665f5ecd860e844ce34e9b8b807437aefa6aa591e53a25fa2022048ca326395148e880ff617e8a94bce723ee32cd0531124508a71e6f8623416c7:922c64590222798bb761d5b6d8e72950