Understand XSS attack principles

Source: Internet
Author: User
Understand XSS attack principles

After reading the HTML security list written by cool shell

I suddenly wanted to write a quick tutorial on XSS.

Let more people know what XSS security vulnerabilities are

Before understanding XSS, you must know the principle of "session ".

Simply put, after a member successfully logs in, the website will give the browser a "token 』

After this token is taken to the website, it will be considered as logged on

 

 

Next is the simplest process of XSS.

Simply put, hackers steal your "token" through JavaScript code.

Using this token, he can also log on to the website as your identity.

Then steal your related data (Personal Data & transaction data)

And then sell the data to fraud groups.

 

 

Related reference data:

Cross-Site Scripting-Wikipedia

Cross-site scripting (XSS)-OWASP

XSS (Cross Site Scripting) attacks will cause you to lose the information in the cookie.

XSS attack-Network Attack and Defense

HTML5 Security cheatsheet

 

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.