Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

XSS CNN vector, need explanation please

edition.cnn.com/search/index.html?sortBy=date&primaryType=mixed&source=money&query="><iframe+onload%3Dalert%28%2FXSS%2F%29>

i don't understand how this work, im not the best at XSS, if someone mind explaining that for me? :)
I'm pretty sure this is how it would work... :L

"> was used to escape the value="search here".
<iframe creates an iframe.
onload= onload is when the page loads.
alert(/XSS/)> displays the message box and closes the tag.
[Image: eh4TL.gif]
That XSS was patched awhile ago. XD Same with money.cnn.com
(Sep 8, 2012 06:39 PM)KernelMode Wrote:  I'm pretty sure this is how it would work... :L

"> was used to escape the value="search here".
<iframe creates an iframe.
onload= onload is when the page loads.
alert(/XSS/)> displays the message box and closes the tag.

yea, i though so too, but what confussed me is when i only typed "><script>alert(0)</script> it didn't work


(Sep 8, 2012 06:47 PM)Desmolicious Wrote:  That XSS was patched awhile ago. XD Same with money.cnn.com

still works for me O_o, are u sure?
(Sep 8, 2012 06:47 PM)Desmolicious Wrote:  That XSS was patched awhile ago. XD Same with money.cnn.com

It's obviously not patched if it's still functioning. 😅
(Sep 8, 2012 07:16 PM)Jae‌ Wrote:  It's obviously not patched if it's still functioning. 😅
D: It doesn't Function for any of my webBrowsers.. @Failure?
(Sep 8, 2012 07:22 PM)Desmolicious Wrote:  D: It doesn't Function for any of my webBrowsers.. @Failure?

Strange. Check the URL hasn't messed up, it's working fine for me.
(Sep 8, 2012 07:25 PM)Jae‌ Wrote:  Strange. Check the URL hasn't messed up, it's working fine for me.
Alright, Maybe there's an error in the Script i'm using.
This is cooler :L
http://edition.cnn.com/search/index.html...marquee%3E
:D, Anyways they should fix this lmao.
(Sep 8, 2012 07:22 PM)Desmolicious Wrote:  D: It doesn't Function for any of my webBrowsers.. @Failure?

Chrome has a XSS filter against reflected (or non-persistant) XSS.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Gee4rceApr 19, 2021 06:47 AM 26 4,062 Apr 19, 2021 06:47 AM
Last Post: theghostofgreen
by longwenzhangDec 12, 2019 07:54 AM 0 229 Dec 12, 2019 07:54 AM
Last Post: longwenzhang
by frank3nstienJul 18, 2019 10:38 PM 2 325 Jul 18, 2019 10:38 PM
Last Post: frank3nstien