Penetration Testing mailing list archives

Re: http TRACE option


From: "rajat swarup" <rajats () gmail com>
Date: Fri, 18 Jan 2008 19:00:08 -0500

On Jan 17, 2008 3:40 PM, pentestr <pentestr () gmail com> wrote:
what is the issue if TRACE option is enabled in web servers ? Nessus
results always display it as warning.
any idea...

The HTTP TRACE Method on a web server is used for debugging purposes.
The server responds to the request by echoing back the contents of the
request back.  The TRACE method can be used to exploit an XSS
vulnerability if the httpOnly cookie attribute is used.  The httpOnly
cookie makes the cookie "write only".  An attempt to read the cookie
results in a null value.  In an XSS attack (amidst other things) if
you want to steal the cookie, any references in the payload to
document.cookie return a null value but an XMLHttpRequest with TRACE
method inside the payload will reveal the Cookie HTTP Header.

Hope it helps,
Rajat.
-- 
Rajat Swarup

http://rajatswarup.blogspot.com/

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!

http://www.cenzic.com/downloads
------------------------------------------------------------------------


Current thread: