Skip to content

UEditor - Arbitrary File Upload

ID: ueditor-file-upload

Severity: high

Author: princechaddha

Tags: ueditor,fileupload,intrusive

UEditor contains an arbitrary file upload vulnerability. An attacker can upload arbitrary files to the server, which in turn can be used to make the application execute file content as code, As a result, an attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

id: ueditor-file-upload
info:
name: UEditor - Arbitrary File Upload
author: princechaddha
severity: high
description: UEditor contains an arbitrary file upload vulnerability. An attacker can upload arbitrary files to the server, which in turn can be used to make the application execute file content as code, As a result, an attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
reference:
- https://zhuanlan.zhihu.com/p/85265552
- https://www.freebuf.com/vuls/181814.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cwe-id: CWE-434
metadata:
max-request: 1
tags: ueditor,fileupload,intrusive
http:
- method: GET
path:
- "{{BaseURL}}/ueditor/net/controller.ashx?action=catchimage&encode=utf-8"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "没有指定抓取源"
part: body
# digest: 490a004630440220726a78bfaf10c0f03799e19ed66967feb9bd11114e9e97076782f667a1e9fcb602203f7d7cba08c4925a25cc62fb4de9bff40d88a855a4bdd7a7ba5e700bb2f566c4:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/other/ueditor-file-upload.yaml"

View on Github