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

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

缺陷编号:wooyun-2014-051370

漏洞标题:91某分站任意文件上传getshell可导致内网渗透

相关厂商:福建网龙

漏洞作者: niliu

提交时间:2014-02-19 09:59

修复时间:2014-04-05 09:59

公开时间:2014-04-05 09:59

漏洞类型:文件上传导致任意代码执行

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

发现09年的一个大马.....

详细说明:

url:

http://hd.91.com/activity/dsn/upload.php


0.jpg


上传图片马抓包改包可得shell

12.jpg


shell地址

http://hd.91.com/activity/dsn/image/userphoto/88e4ea6b097acc9c089ce9fb90b0c132.php


1.jpg


内网IP:

2.jpg


另外发现一个09年的木马

http://hd.91.com/sysadmin06u.php


6.jpg


3.jpg


33.jpg

漏洞证明:

eth0      Link encap:Ethernet  HWaddr 00:1E:4F:1C:21:37  
inet addr:121.207.254.69 Bcast:121.207.254.127
Mask:255.255.255.192
inet6 addr: fe80::21e:4fff:fe1c:2137/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:202192732 errors:0 dropped:0 overruns:0
frame:0
TX packets:181379622 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:1000
RX bytes:23579370805 (21.9 GiB) TX bytes:174524996329
(162.5 GiB)
Interrupt:16 Memory:f8000000-f8012100
eth1 Link encap:Ethernet HWaddr 00:1E:4F:1C:21:39
inet addr:192.168.33.69 Bcast:192.168.33.255
Mask:255.255.255.0
inet6 addr: fe80::21e:4fff:fe1c:2139/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:131967248 errors:0 dropped:0 overruns:0
frame:0
TX packets:195298096 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:1000
RX bytes:19405494601 (18.0 GiB) TX bytes:212766058131
(198.1 GiB)
Interrupt:16 Memory:f4000000-f4012100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:202054323 errors:0 dropped:0 overruns:0
frame:0
TX packets:202054323 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:106177143031 (98.8 GiB) TX bytes:106177143031
(98.8 GiB)
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
distcache:x:94:94:Distcache:/:/sbin/nologin
ais:x:39:39:openais Standards Based Cluster
Framework:/:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
ldap:x:55:55:LDAP User:/var/lib/ldap:/bin/false
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
squid:x:23:23::/var/spool/squid:/sbin/nologin
fax:x:78:78:mgetty fax spool user:/var/spool/fax:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
cyrus:x:76:12:Cyrus IMAP Server:/var/lib/imap:/bin/bash
ntp:x:38:38::/etc/ntp:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/sbin/nologin
named:x:25:25:Named:/var/named:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
amanda:x:33:6:Amanda user:/var/lib/amanda:/bin/bash
postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
radiusd:x:95:95:radiusd user:/:/bin/false
exim:x:93:93::/var/spool/exim:/sbin/nologin
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
pvm:x:24:24::/usr/share/pvm3:/bin/bash
mailman:x:41:41:GNU Mailing List
Manager:/usr/lib/mailman:/sbin/nologin
quagga:x:92:92:Quagga routing suite:/var/run/quagga:/sbin/nologin
dovecot:x:97:97:dovecot:/usr/libexec/dovecot:/sbin/nologin
webalizer:x:67:67:Webalizer:/var/www/usage:/sbin/nologin
privoxy:x:73:73::/etc/privoxy:/sbin/nologin
radvd:x:75:75:radvd user:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:4294967294:4294967294:Anonymous NFS
User:/var/lib/nfs:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
ident:x:98:98::/home/ident:/sbin/nologin
pegasus:x:66:65:tog-pegasus OpenPegasus WBEM/CIM
services:/var/lib/Pegasus:/sbin/nologin
tomcat:x:91:91:Tomcat:/usr/share/tomcat5:/bin/sh
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
sabayon:x:86:86:Sabayon user:/home/sabayon:/sbin/nologin
testbody2:x:500:500::/home/httpd/html/:/sbin/nologin
download:x:501:501::/home/httpd/html/:/sbin/nologin
mini:x:502:502::/home/httpd/html/mini.91.com:/sbin/nologin
bbs91ktuser:x:503:503::/home/httpd/html/bbs.91kt.com:/sbin/nologin
hd91:x:504:504::/home/httpd/html/hd.91.com:/sbin/nologin

修复方案:

#服务端对文件上传做限制
#清除本次测试一句话木马
#彻查其他目录,把之前的马也一并清除了

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2014-02-19 10:20

厂商回复:

感谢 niliu 提交的漏洞,安排处理

最新状态:

暂无