Espcms background getshell-3, and can use csrf interaction to force Administrator getshell

Source: Internet
Author: User

The template modified in the background is not filtered out. you can insert php code in the template (for demonstration purposes, phpinfo is used). Originally, the harm of getshell in the background should be low because administrator permissions are required. However, the espcms background operation does not have a token. Through the interaction of csrf, the administrator can be forced to do many things. The package for modifying the template to shell is as follows: there is no token, so you can click an automatic submission form to the Administrator, and then the system will automatically getshell. (Here we mainly use getshell in the background. csrf will not talk about it anymore. For more information about POC, see some of my previous vulnerabilities)

 Solution:

1. Disable PHP Execution in the template, or only allow the execution of harmless PHP functions. 2. The background operation must have a token.

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.