Anti-reflection and persistent cross-site

Source: Internet
Author: User

The anti-reflection cross-site method of the funny game network. If you do not filter the url parameters, the function is used to form a webpage. If the parameter contains malicious cross-site code, the browser will execute the code to cause cross-site attacks. There are two cross-site attacks on the tease web, which can be used for phishing and Trojan attacks. Which may cause harm to network users.

The first is non-persistent cross-site http://www.doyo.cn/User/Passport/registerStep2? Username = <script> alert (/test by Jie DS/) </script> & email = <script> alert (/test by Jie DS/) </script>
Username and email parameters are filtered as necessary, so that cross-site code can be added to parameters to implement cross-site code immediately.

The second is persistent cross-site. After a user is registered in the http://www.doyo.cn/user/aspasp, perform any necessary filtering at the personal center-profile. If cross-site code is entered here, the web page that displays personal information is displayed across sites.


 
 
 
 
First url: http://www.doyo.cn/User/Passport/registerStep2? Username = <script> alert (/test by Jie DS/) </script> & email = <script> alert (/test by Jie DS/) </script>
Url Second: http://www.doyo.cn/user/aspasp

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.