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




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





(The two domains above are almost the same)





Websites information:, 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 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 Mozilla are dealing with this issue.



















POCs:<body onload=prompt(“justqdjing")><body onload=prompt(“justqdjing")><body onload=prompt(“tetraph")><body onload=prompt(“tetraph")><body onload=prompt(“tetraph")><body onload=prompt(“justqdjing")><body onload=prompt(“justqdjing")><body onload=prompt(“justqdjing")><body onload=prompt(“tetraph")><body onload=prompt(“tetraph")>






POC Video:





Vulnerability Analysis:
Take the following link as an example,<attacktest>



We can see that for the page reflected, it contains the following codes.

<a href="/mozilla-central/source/chrome/%253Cattacktest%253E">





If we insert “<body onload=prompt(“justqdjing")>" into the URL, the code can be executed.





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






What is XSS?
“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. Cross-site scripting carried out on websites accounted for roughly 84% of all security vulnerabilities documented by Symantec as of 2007. Their effect may range from a petty nuisance to a significant security risk, depending on the sensitivity of the data handled by the vulnerable site and the nature of any security mitigation implemented by the site’s owner."  (From Wikepedia)







Discovered and Reported by:
Wang Jing, Division of Mathematical Sciences (MAS), School of Physical and Mathematical Sciences (SPMS), Nanyang Technological University (NTU), Singapore. (@justqdjing)







More Details:

Leave a comment

你的電子郵件位址並不會被公開。 必要欄位標記為 *

你可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>