34 lines
941 B
YAML
34 lines
941 B
YAML
id: exposed-jquery-file-upload
|
|
|
|
info:
|
|
name: jQuery - Arbitrary File Upload
|
|
author: dhiyaneshDk
|
|
severity: critical
|
|
description: BlueImp jQuery-File-Upload does not require validation to upload files to the server and does not exclude file types, which can lead to a remote code execution vulnerability.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/45584
|
|
- https://github.com/blueimp/jQuery-File-Upload/blob/master/server/php/UploadHandler.php
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cwe-id: CWE-434
|
|
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 cs on 2023/03/10
|