注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

醉雨他乡游的博客

—— 记录生活中的点点滴滴, 开心与伤心, 回忆与憧憬, 成功与失败, 酸甜苦辣

 
 
 

日志

 
 

Mozilla mozilla.org Two Sub-Domains ( Cross Reference) XSS Vulnerability ( All URLs Under the Two Domains)  

2014-11-01 12:04:04|  分类: XSS |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
Domains:
(The two domains above are almost the same)
 
 
 



Websites information:
lxr.mozilla.org, mxr.mozilla.org are cross references designed to display the Mozilla source code. The sources displayed are those that are currently checked in to the mainline of the mozilla.org CVS server, Mercurial Server, and Subversion Server; these pages are updated many times a day, so they should be pretty close to the latest?and?greatest. (from Mozilla)
 
 
 



Vulnerability description:
All pages under the following two URLs are vulnerable.
 
 
This means all URLs under the above two domains can be used for XSS attacks targeting Mozilla's users.
 
Since there are large number of pages under them. Meanwhile, the contents of the two domains vary. This makes the vulnerability very dangerous. Attackers can use different URLs to design XSS attacks to Mozilla's variety class of users.
 
The vulnerability have been reported to bugzilla.mozilla.org. Mozilla are dealing with this issue.
 
 



POCs:
http://lxr.mozilla.org/mozilla-central/source/<body onload=prompt("justqdjing")>
 
 


http://mxr.mozilla.org/mozilla-central/source/<body onload=prompt("justqdjing")>
 
 
 



POC Video:
 
 
 
 



Vulnerability Analysis:
Take the following link as an example,
 
We can see that for the page reflected, it contains the following codes.
<a href="/mozilla-central/source/chrome/%253Cattacktest%253E">
<attacktest></attacktest>
</a>
 
If we insert "<body onload=prompt("justqdjing")>" into the URL, the code can be executed.
 
 
 
 



The vulnerability can be attacked without user login. My tests were performed on Firefox (26.0) in Ubuntu (12.04) and IE (9.0.15) in Windows 7.
 
 


Cross-site scripting (XSS) is a type of computer security vulnerability typically found in Web applications. XSS enables attackers to inject client-side script into Web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same origin policy. (From Wikepedia)
 
 
 



Posted By:
Wang Jing, mathematics student from Nanyang Technological University, Singapore.
 
 
 
 



More Details:
  评论这张
 
阅读(17)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017