Bidirectional cross-site (Double Trap XSS) Injection Analysis

Source: Internet
Author: User

Author: Aditya K Sood

Translator: riusksk (quange)

 


Vulnerability Analysis

This article introduces XSS injection attacks in different fields. XSS cheatsheat is not used here. Now let's start to analyze it in detail. The target of this instance is the SecTheory security consulting site. This process uses two different methods, which will make some security companies less invasive and facilitate the establishment of new exploitation types. The results are the same, but the methods are different.

Hackers seek for security vulnerabilities and use them to launch website attacks. I am always used to the following two methods:

1. URL Banging: inject input parameters into the URL.
2. Form Splitting: inject forged parameters into form.

Key code:
<Input type = "TEXT" NAME = "login" style = "width: 300px" MAXLENGTH = "100">
<Div id = "contact" align = "right">
Your phone number:
<Input type = "TEXT" NAME = "number" style = "width: 300px" MAXLENGTH = "100">
<Div id = "contact" align = "right">
Your email address:
<Input type = "TEXT" NAME = "email" style = "width: 300px" MAXLENGTH = "100">

.....
Inject the following code


<Script> alert ("XSS"); </script> <a href = "TELNETtelnet: // 203.197.219.33">

 

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.