当前位置:网站首页>JMX Console 未授权访问漏洞
JMX Console 未授权访问漏洞
2022-07-24 08:16:00 【曲折上升】
漏洞详情
Jboss的webUI界面 http://ip:port/jmx-console 未授权访问(或默认密码admin/admin ),可导致JBoss的部署管理的信息泄露,攻击者也可以直接上传木马获取 webshell。
影响范围
所有低版本
Docker搭建靶场环境
docker search testjboss
docker pull testjboss/jobss
docker run -p 8080:8080 -d testjboss/jboss
漏洞复现
访问靶场地址。如图搭建成功。

访问http://ip:8080/jmx-console/如果能直接进入或者通过默认账号密码登录则代表存在漏洞。

远程部署war包。
找到 jboss.deployment 选项flavor=URL,type=DeploymentScanner 点进去。
进入页面后找到 void addURL()

此时部署我们远程的war木马。(需要jdk环境)


在浏览器访问地址,获得war包路径。


然后点击 Invoke 部署

随后来到 URLList 中查看 Value 值是否已经部署好,并且为我们的远程war木马地址。


- 找到 jboss.web.deployment 查看是否存在我们部署的war木马。

- 此时可以看到已经部署成功。

- 访问地址:http://ip/cmd/shell.jsp(eg:aaa.war ;cmd=aaa)
防护建议
1、对jmx-console和web-console界面访问增加强认证。
2、关闭jmx-console和web-console,提高安全性。
边栏推荐
- The vision group of Hegong University Sky team trained Day1 - machine learning, and learned to use the Yolo model
- 栈/堆/队列刷题(下)
- Hegong sky team vision training day4 - traditional vision, contour recognition
- Database system - Basic Concepts
- Wechat applet file types and functions
- [wechat applet development (II)] custom navigation bar
- Kotlin coroutine (II): scope and cancellation
- QT | string generation QR code function
- P1739表达式括号匹配题解
- Why is knowledge base important? This is the best answer I've ever heard
猜你喜欢

*Yolo5 learning * data experiment based on yolo5 face combined with attention model CBAM

MySQL日期格式化

图新地球:Revit建模的rvt格式BIM模型如何带着纹理精准匹配地图

避坑,职场远离PUA,PUA常见的套路与话术你得了解一下!

Svg from entry to regret, why not learn it earlier (graphic version)
![[redis] how much do you know about bloom filter and cuckoo filter?](/img/f0/8bcbe82bd6d412e68d85450f5894e3.png)
[redis] how much do you know about bloom filter and cuckoo filter?

Decision tree - ID3, C4.5, cart

Generative model and discriminant model

【MySQL】08:聚合函数

赛宁TechTalk丨攻防演练:攻击组合拳 “稳准狠”渗透
随机推荐
生成模型与判别模型
What is the NFT concept.. Fully understand NFT market, technology and cases
Learning to track at 100 FPS with deep progression networks
[redis] how much do you know about bloom filter and cuckoo filter?
Detailed notes on pytoch building neural network
Installation and use of CONDA
[wechat applet development] (II) wechat native bottom tabbar configuration
DGL库中一些函数或者方法的介绍
Natural language processing hanlp
Summary of study notes (I)
MySQL日期格式化
Uva572 oil deposits problem solution
[target detection] IOU (intersection and combination ratio)
About the big hole of wechat applet promise
Android kotlin uses a coroutine instead of a callback function (suspendcoroutine usage)
[wechat applet development] (III) homepage banner component uses swiper
Default risk early warning preliminary competition scheme of bond issuing enterprises [AI competition]
Cososcreator upgrade gradle version
*Yolo5 learning * data experiment based on yolo5 face combined with attention model CBAM
[wechat applet development] (I) development environment and applet official account application