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

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

缺陷编号:wooyun-2015-0128377

漏洞标题:通联支付多台服务器存在任意文件上传漏洞(已getshell)

相关厂商:allinpay.com

漏洞作者: 路人甲

提交时间:2015-07-22 15:26

修复时间:2015-09-06 13:34

公开时间:2015-09-06 13:34

漏洞类型:命令执行

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-22: 细节已通知厂商并且等待厂商处理中
2015-07-23: 厂商已经确认,细节仅向厂商公开
2015-08-02: 细节向核心白帽子及相关领域专家公开
2015-08-12: 细节向普通白帽子公开
2015-08-22: 细节向实习白帽子公开
2015-09-06: 细节向公众公开

简要描述:

通联支付多台服务器存在任意文件上传漏洞(已getshell)

详细说明:

1.http://weixin.allinpay.com/

1.png


上传成功

2.png


执行成功,系统好老啊,应该能轻松提上root的吧。

Linux tlwx_web02 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux


2.http://ocs.allinpay.com:8082/

3.png


这台直接就是root了

3.png

漏洞证明:

##memcache params
initConnNum=5
minConnNum=5
maxConnNum=50
maintSleepTime=5
serverList=188.0.51.172:11211;188.0.51.173:11211
##initservlet switch
isInit=false
##openid verification
openidVerification=true
##winxin number
wechatNo=allinpay-weixin
##deskey path
deskeyPath=/tlwx/conf/deskey.des
##business url
tlwxAppUrl=http://188.0.50.137:8080/tlwx-app/index.do?id=
tlwxMerchantToBindUrl=http://weixin.allinpay.com/tlwx/merchant/toBind.do
tlwxBillToQueryUrl=http://weixin.allinpay.com/tlwx/bill/toQuery.do
tlwxImagesFwsqUrl=http://weixin.allinpay.com/tlwx/images/fwsq.jpg
tlwxServiceToApplyTypeUrl=http://weixin.allinpay.com/tlwx/service/toApplyType.do
tlwxImagesYwsqUrl=http://weixin.allinpay.com/tlwx/images/ywsq.jpg
tlwxImagesWelcomeUrl=http://weixin.allinpay.com/tlwx/images/welcome.jpg
tlwxBusinessToIntroductionUrl=http://weixin.allinpay.com/tlwx/business/toApplyType.do
tlwxImagesCjhdUrl=http://weixin.allinpay.com/tlwx/images/banner2.gif
tlwxDrawIndexUrl=http://weixin.allinpay.com/tlwx/draw/index.do
##oauth page
tlwxOauthGetOauthUrl=http://weixin.allinpay.com/tlwx/oauth/getOauth.do?tourl=
rootUri=/tlwx
##menu page
reHomePage=http://weixin.allinpay.com/tlwx/view/website/home.html
reContactPage=http://weixin.allinpay.com/tlwx/view/website/contact_us.html
reBindPage=http://weixin.allinpay.com/tlwx/merchant/toBind.do
reAboutTonglianPage=http://weixin.allinpay.com/tlwx/view/website/about_tonglian.html
reComplaintPage=http://weixin.allinpay.com/tlwx/service/toApply.do?type=6
##weixin interface
accessTokenUrl=https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET
menuCreateUrl=https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN
getUsersUrl=https://api.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&next_openid=NEXT_OPENID
oauth2GetCodeUrl=https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect
oauth2GetOpenIdUrl=https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code
getUserInfoUrl=https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN
tlwxPrizesActivityUrl=http://mp.weixin.qq.com/s?__biz=MzA3ODA3MTUzNQ==&mid=201721368&idx=1&sn=560e427119f5c90a529994966b5927e7#rd
##sign token
signToken=tlwx_wanghua38675547
appId=wx101d21fc68055583
appSecret=5ef092a0ba8f90451c9440b945be5e72
##cookie parameters
#60*60*24*30=2592000;60*60*24*365=31536000
maxAge=2592000
domain=.allinpay.com
##appServiceCheckList
appServiceCheckList=188.0.51.172:8080;188.0.51.173:8080
checkUrlTlwxApp=http://APPSERVICE/tlwx-app/ServiceCheckServlet
##luck draw
drawType=100
drawBeginTime=20141201000000
drawEndTime=20150131235959


修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2015-07-23 13:32

厂商回复:

谢谢,我们已着手进行系统修复工作.

最新状态:

暂无