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

34 lines
911 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: 4b0a00483046022100891b13e29fad6eda95943c63bff559318c724a48418de5dc9d97e256aac7911e022100d63b001e83de280d1b047d0f1f140bc7b4fa3a4c443740c9110f81134158a7f2:922c64590222798bb761d5b6d8e72950