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:
|
2023-04-28 08:11:21 +00:00
|
|
|
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"
|
2023-06-30 22:51:06 +00:00
|
|
|
tags: exposure,upload,form,misc
|
2022-10-04 14:57:16 +00:00
|
|
|
|
2023-04-27 04:28:59 +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
|
2022-10-05 12:26:09 +00:00
|
|
|
|
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
|