|Perl Monk, Perl Meditation|
Re: Re: Re: Re: Preventing Cross-site Scripting Attacksby Dog and Pony (Priest)
|on Feb 24, 2002 at 19:14 UTC||Need Help??|
I haven't tried it at this site, nor will I, so I am not 100% that there aren't any safeguards against it that I am unaware of. But I have, as an experiment, crafted just such a thing on above mentioned http://www.avidgamers.com. I was able to steal my own password and log in with a crafted cookie at a computer that I never had went there with before. I am a curious soul.
It is quite possible that one shouldn't be talking about this, so as to not give anyone any ideas. But I do this anyways, for two purposes. If you are aware of how easy this would be to accomplish, you will hopefully protect yourself. And maybe scripts and event handlers will be stripped out from user-provided HTML. As a sidenote, I wonder if our moves are tracked via IP or something at this site, so it would be sufficiently easy to prove you didn't do a certain thing, and also to track the thief if needs would be?
Does that explain the matter?
You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.