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:
- http TRACE option pentestr (Jan 18)
- Re: http TRACE option jeffrey rivero (Jan 22)
- Re: http TRACE option Tim (Jan 22)
- Re: http TRACE option Florencio Cano (Jan 22)
- Re: http TRACE option Campbell Murray (Jan 22)
- Re: http TRACE option Chris McNab (Jan 22)
- RE: http TRACE option Maxime Ducharme (Jan 22)
- Re: http TRACE option Gleb Paharenko (Jan 22)
- Re: http TRACE option Alexander Bondarenko (Jan 22)
- Re: http TRACE option José M. Palazón Romero (Jan 22)
- Re: http TRACE option rajat swarup (Jan 22)
- RE: http TRACE option benoni.martin (Jan 22)
- Re: http TRACE option Bipin Upadhyay (Jan 22)
- Re: http TRACE option Trancer (Jan 22)