http://bbs.kafan.cn/thread-1622631-1-1.html
in the above post,there is a 0-day XSS as they discussed,and NS can not block it,So I post it here for some tips and advices to stop the auto-redirection
[INVALID] HELP:a 0-day XSS ?
- Giorgio Maone
- Site Admin
- Posts: 9557
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: HELP:a 0-day XSS ?
Thank you for reporting.
I might be wrong, because I can't read Chinese, but looking at the code the author of the post seems to lack basic understanding of what XSS is:
The "technique" he demonstrates, i.e. loading a javascript: URI through an <embed> element and therefore causing its execution in the context of the embedding page (i.e. not cross-site) cannot qualify as XSS for obvious reason (the script is same-site) and, BTW, it won't either work on pages which are not already whitelisted by NoScript.
Actually, I fail to see any practical difference with
which, again, is not XSS and not practically different than a plain
placed in the page.
Again, I might be misunderstanding so any Chinese-speaking security researcher (or the post author himself) is welcome to chime in.
I might be wrong, because I can't read Chinese, but looking at the code the author of the post seems to lack basic understanding of what XSS is:
Code: Select all
<embed src="javascript://baidu.com/%0Awindow.location.href="http://www.baidu.com/s?word=Hacked+By+CatCat520"; " autostart="0" type="video/x-ms-wmv" width="260" height="42"></embed>
Actually, I fail to see any practical difference with
Code: Select all
<iframe src="javascript:alert(document.cookie)"></iframe>
which, again, is not XSS and not practically different than a plain
Code: Select all
<script>alert(document.cookie)</script>
Again, I might be misunderstanding so any Chinese-speaking security researcher (or the post author himself) is welcome to chime in.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3377
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: HELP:a 0-day XSS ?
Giorgio, you understood correctly.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.1.0.0 Safari/537.36