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

32 lines
692 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:
max-request: 1
2023-01-19 09:12:32 +00:00
verified: true
2023-01-19 09:47:55 +00:00
shodan-query: http.html:"multipart/form-data" html:"file"
tags: exposure,upload,form,misc
2022-10-04 14:57:16 +00:00
http:
2022-10-04 14:57:16 +00:00
- 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