Home page logo
/

pen-test logo Penetration Testing mailing list archives

Re: Let's exploit this
From: Tim <tim-pentest () sentinelchicken org>
Date: Thu, 3 Aug 2006 00:35:14 -0400

if you don't care about a js error you can even just end the script
block and start again [assuming, of course, that we are actually
_inside_ a script block and not a href or something similar]

like so: FOO = '</script><script>alert("extra script blocks are
cool.")</script><script>//'

sure, you'll get one js error, but it doesn't really matter, as your
code will still run.

Hey, you're right.  I had a suspicion that this might work, and indeed
it does.  I wasn't 100% sure, as browsers' parsing algorithms are so
incredibly complex, that the obvious may not work.

I think when I first came across this situation in an application, most
HTML special characters were actually encoded, except for apostrophes,
which were backslashed.

Anyway, I'll try to post a more difficult one next week.

thanks,
tim

------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security? 
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's 
Choice Award from eWeek. As attacks through web applications continue to rise, 
you need to proactively protect your applications from hackers. Cenzic has the 
most comprehensive solutions to meet your application security penetration 
testing and vulnerability management needs. You have an option to go with a 
managed service (Cenzic ClickToSecure) or an enterprise software 
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can 
help you: http://www.cenzic.com/news_events/wpappsec.php 
And, now for a limited time we can do a FREE audit for you to confirm your 
results from other product. Contact us at request () cenzic com for details.
------------------------------------------------------------------------------


  By Date           By Thread  

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