XSS storage for an important function of Sohu video

Source: Internet
Author: User

If you want to watch other video websites of "China good voice", it seems that there is no copyright to play. Then, I went to Sohu and saw a lot of people and the traffic was huge. If there is an XSS in this position, is it awesome? It can also call any external js file ~ Detailed Description: unexpectedly, the comment box exists in xss and is basically not filtered. Attackers can call external js files at will. Due to some problems with sae, xsser. me cannot be used for the time being. Therefore, it is impossible to capture the cookie graph. Hazard: Look at the first figure below. After the code is inserted, as long as one person replies, the original webpage will generate another script to call the external js Code, therefore, the xss code becomes invalid because the xss message is not displayed. Proof of vulnerability: Ah, there are too many people to comment on, which is a little difficult. Fortunately, I have two quick answers. 1. Call an external js file. The inserted exploitation code <textarea/> "> 2. Insert Baidu homepage. Insert exploitation code <textarea/> <iframe src = http://www.baidu.com/> </iframe>


Solution:

Filter xss special characters

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.