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

31 lines
672 B
YAML
Raw Normal View History

2022-10-04 14:57:16 +00:00
id: exposed-file-upload-form
info:
name: Exposed File Upload Form
author: geeknik
2023-01-26 15:36:55 +00:00
severity: info
2023-01-19 09:12:32 +00:00
metadata:
verified: true
2023-01-19 09:47:55 +00:00
shodan-query: http.html:"multipart/form-data" html:"file"
2022-10-04 14:57:16 +00:00
tags: exposure,upload,form
requests:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: regex
regex:
- <form.*?method=("|')?post("|')?.*?>
2023-01-19 09:47:55 +00:00
- <form.*?(?i)(?-i)enctype=("|')?multipart\/form-data("|')?.*?>
2022-10-04 14:57:16 +00:00
- <input.*?type=("|')?file("|')?.*?>
2023-01-19 09:12:32 +00:00
condition: or
2023-01-19 09:47:55 +00:00
- type: regex
regex:
- "type=[\"'](file)[\"']"
2023-01-19 09:12:32 +00:00
- 'id="file"'
condition: or