Fckeditor JSP version of the vulnerability approach: __JS

Source: Internet
Author: User

Http://www.xxx.com/fckeditor/editor/filemanager/browser/default/connectors/jsp/connector? command=fileupload&type=image&currentfolder=%2f

Use this address to find the path to upload the image, there is a loophole should return an XML file, such as the figure

Note that the red box is the place to upload the image to store the address.

and use

Http://www.xxx.com/fckeditor/editor/filemanager/browser/default/browser.html? Type=image&connector=connectors/jsp/connector

This address upload JSP file, if the site to upload the file suffix made restrictions, then a new name for the folder, modify the URL above type=image for type=new, the file uploaded to this folder, this folder generally will not be limited to file suffix. As shown in figure:

If all is well, the JSP Webshell obtained using this fckeditor vulnerability should have CMD Administrator privileges

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.