Cross Site Tracing aka XST is not very likely to become a threat nowadays with updated technology, as most modern browsers prevents all the known and common attack vectors.
What is XST and can it be used for anything?
XST also known as Cross Site (Script) Tracing is a way of abusing the HTTP Trace (Debug) protocol. Anything that an attacker sends to a web-server that has TRACE enabled will send the same answer back. If an attacker sends the following:
Code:
TRACE / HTTP/1.0
Host: target.tld
Custom-header: <script>alert(0)</script>
The attacker will receive the same "Custom-header: <scr..." back allowing script execution. However after recent browser updates the following year(s) XST has been increasingly harder to control and execute properly.
Here's a paper you have to / must read:
http://www.cgisecurity.com/whitehat-mirror/WH-WhitePaper_XST_ebook.pdfNote: in order to understand the logic and the goals of this attack you need to be familiar with Cross Site Scripting attacks.
The TRACE method, while apparently harmless, can be successfully leveraged in some scenarios to steal legitimate users' credentials. This attack technique was discovered by Jeremiah Grossman in 2003, in an attempt to bypass the HTTPOnly tag that Microsoft introduced in Internet Explorer 6 sp1 to protect cookies from being accessed by JavaScript. As a matter of fact, one of the most recurring attack patterns in Cross Site Scripting is to access the document.cookie object and send it to a web server controlled by the attacker so that he/she can hijack the victim's session. Tagging a cookie as httpOnly forbids JavaScript to access it, protecting it from being sent to a third party. However, the TRACE method can be used to bypass this protection and access the cookie even in this scenario.
As mentioned before, TRACE simply returns any string that is sent to the web server.
Tools:XSS Trace:
http://attacks.intern0t.net/xstrace/HTTP Options:
http://attacks.intern0t.net/htopt/(You can use Burp Suite Free, to test XST as well.)
References:http://www.xssed.com/article/31/The_Beginners_Guide_to_XSS/http://en.wikipedia.org/wiki/Cross-site_tracinghttps://www.owasp.org/index.php/Testing_for_HTTP_Methods_and_XST_(OWASP-CM-008)