Bugtraq mailing list archives
RE: A technique to mitigate cookie-stealing XSS attacks
From: "jasonk" <jasonk () swin edu au>
Date: Tue, 12 Nov 2002 21:43:34 +1100
-----Original Message----- From: Ulf Harnhammar [mailto:ulfh () update uu se] Sent: Sunday, 10 November 2002 2:22 PM To: Justin King Subject: Re: A technique to mitigate cookie-stealing XSS attacks On Thu, 7 Nov 2002, Justin King wrote:I would be very interested in major browsers supporting a <dead> tagwith anoptional parameter to be a hash of the data between the opening andclosingdead tag. This tag would indicate that no "live" elements of HTML be supported (e.g., JavaScript, VBScript, embed, object).I'm not sure if that's the best solution. Lots of code out there do
much
less filtering than it should, so there will probably be a way to
include
a </dead> tag and then use all the usual XSS tricks.
I'm not sure it's the best solution either: how many of you have used code such as <a href='javascript:...'> and so on ? It's not going to be as easy as it looks - of course if you don't use javascript AT ALL then sure, but many sites use javascript rollovers and so on. We need a more effective response than this. Since javascript (and other client side scripting technologies) are becoming more popular and functional, it seems like imho the 'best' alternative is the cookie-blocking approach. This would stop the *effect* of XSS, much the same as blocking user privileges doesn't stop them running malware but prevents them from having an effect. jasonk
// Ulf Harnhammar VSU Security ulfh () update uu se
Current thread:
- A technique to mitigate cookie-stealing XSS attacks Michael Howard (Nov 05)
- Re: A technique to mitigate cookie-stealing XSS attacks Florian Weimer (Nov 05)
- Re: A technique to mitigate cookie-stealing XSS attacks Valdis . Kletnieks (Nov 07)
- Re: A technique to mitigate cookie-stealing XSS attacks Florian Weimer (Nov 08)
- Re: A technique to mitigate cookie-stealing XSS attacks David Wagner (Nov 08)
- Re: A technique to mitigate cookie-stealing XSS attacks Valdis . Kletnieks (Nov 07)
- Re: A technique to mitigate cookie-stealing XSS attacks Justin King (Nov 09)
- Re: A technique to mitigate cookie-stealing XSS attacks Ulf Harnhammar (Nov 11)
- RE: A technique to mitigate cookie-stealing XSS attacks jasonk (Nov 12)
- Re: A technique to mitigate cookie-stealing XSS attacks Seth Arnold (Nov 14)
- Re: A technique to mitigate cookie-stealing XSS attacks Ulf Harnhammar (Nov 11)
- <Possible follow-ups>
- Re: A technique to mitigate cookie-stealing XSS attacks Matthew Collins (Nov 07)
- Re: A technique to mitigate cookie-stealing XSS attacks Nick Simicich (Nov 08)
- Re: A technique to mitigate cookie-stealing XSS attacks Peter Watkins (Nov 08)
- Re: A technique to mitigate cookie-stealing XSS attacks Steven M. Christey (Nov 08)
- RE: A technique to mitigate cookie-stealing XSS attacks Michael Howard (Nov 08)
- RE: A technique to mitigate cookie-stealing XSS attacks NESTING, DAVID M (SBCSI) (Nov 09)
- RE: A technique to mitigate cookie-stealing XSS attacks Michael Howard (Nov 11)
- Re: A technique to mitigate cookie-stealing XSS attacks Jeremiah Grossman (Nov 11)
- RE: A technique to mitigate cookie-stealing XSS attacks Jason Coombs (Nov 12)
(Thread continues...)
- Re: A technique to mitigate cookie-stealing XSS attacks Florian Weimer (Nov 05)