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-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-01-19 09:47:55 +00:00
|
|
|
shodan-query: http.html:"multipart/form-data" html:"file"
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: miscellaneous,exposure,upload,form,misc,generic
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100891b13e29fad6eda95943c63bff559318c724a48418de5dc9d97e256aac7911e022100d63b001e83de280d1b047d0f1f140bc7b4fa3a4c443740c9110f81134158a7f2:922c64590222798bb761d5b6d8e72950
|