XSS and a reflective xss

Source: Internet
Author: User

When I saw a blog, I suddenly liked its concise and fresh style. Of course, my favorite things are always expected to be better, so it took some time to perform a simple xss test. I hope to make the test better.


The vulnerability trigger point is in the "blog Settings" function of the blog. First, enable the blog settings and enter in the blog introduction box.
 
 
, Click Save settings, and return to the personal blog homepage. Step 2, click the blog settings function again, and the following will pop up:
 
 
Third, this function module also has an xss vulnerability, location
 


 
The test method is the same as that of the first and second.

Solution:

The vulnerability is generated mainly because you are not aware of the anti-filter of the <textarea> </textarea> label. The factory can filter the vulnerability.

Author: wanglaojiu


The formKey is not required when the application form is submitted. In the response after the form is submitted, the script tag can insert any content. So...

Here is the formform for uploading images at http://www.diandian.com/themes/new.
 
Proof of vulnerability:
Http://proofofconcept.sinaapp.com/diandian/xss1.html
Solution:
Add a token to the form and check for callback.
Author p. z

Related Article

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.