29 lines
795 B
YAML
29 lines
795 B
YAML
id: exposed-jquery-file-upload
|
|
|
|
info:
|
|
name: jQuery File Upload - Detect
|
|
author: dhiyaneshDk
|
|
severity: medium
|
|
description: jQuery code in https://github.com/blueimp/jQuery-File-Upload/blob/master/server/php/UploadHandler.php does not require validation to upload files to the server and does not exclude file types. This can lead to a remote code execution vulnerability.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/45584
|
|
tags: exposure,jquery,edb
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/jquery-file-upload/server/php/"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- '^{\"files\":'
|
|
part: body
|
|
- type: word
|
|
words:
|
|
- "text/plain"
|
|
part: header
|
|
|
|
# Enhanced by md on 2023/03/10
|