Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




fulldisclosure logo Full Disclosure mailing list archives

Re: A technique to mitigate cookie-stealing XSS attacks
From: Ulf Harnhammar <ulfh () update uu se>
Date: Sat, 9 Nov 2002 07:15:26 +0100 (CET)

On Thu, 7 Nov 2002, Nick Simicich wrote:

If I understand  the XSS vulnerability correctly, it is all based on the 
ability of javascript to access cookies through the document.cookie 
property.

No, it's not just about that. You can also include scripts that will
perform some action on your behalf, by redirecting to a script that does
something (i e, an XSS bug in a web-based Usenet client might open up the
possibility for an attacker to post to Usenet under your name).

This is done by simply including HTML code like:

<script>self.location.href="/script.cgi?param1=the&param2=blue&param3=mask"
</script>

or even:

<meta http-equiv="Refresh" content="0; URL=/script.cgi?param1=the&param2=
blue&param3=mask">

(The latter version doesn't even use JavaScript.)

To sum this all up, stating that XSS is all about JavaScript being able to
access cookies to steal someone's password is an oversimplification.

// Ulf Harnhammar
   VSU Security
   ulfh () update uu se

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]