32 lines
700 B
YAML
32 lines
700 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: 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
|