Self-xss ?)

Source: Internet
Author: User

Self-xss ?)

XSS caused by lax filtering of AD emails

I have a good habit of using nicknames. I like to use <script> alert ('test') </script>. Maybe it will pop up one day. So one day I opened my QQ mailbox and saw an advertisement email reminding me that my friend's birthday was approaching.
 



Just click it.
 



I didn't respond at first, but then I remembered it was a problem with my mailbox nickname.
 



Although it seems that you can only play on your own, it is also a storage-type cross-site, basically no harm (of course, it may be that I did not find a more dangerous way to use it ), but I still want to fix it. Thank you!

Proof of vulnerability:

 



You only need to set the mailbox nickname to something like <script> alert ('test') </script>. Then, when a friend sends an email to himself on his birthday, it can play.

Solution:

Filter user input

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.