We7cmd background upload to obtain webshell and repair solution

Source: Internet
Author: User

Author: Lu renjia

Vulnerability Type: Arbitrary Code Execution caused by File Upload
Vulnerability Description: the backend is not strictly filtered and the webshell is directly uploaded.

Filter is a Filter, is allowed to upload type, see the http://sdk26.we7.cn/html/c68dcc7c-d336-8c03-7fd7-cdbd18f025ef.htm

Obviously, if it is not filtered, it will be used directly. OK,
Go to the background, select template> edit template> Create template> Import static html. A dialog box is displayed,
Aspx? NoSelect = 0 & folder =/_ skins/r & filter = *. htm "> www.2cto.com/admin/Folder.aspx? NoSelect = 0 & folder =/_ skins/r & filter = *. htm
, Copy url, open in the window, modify www.2cto.com/admin/Folder.aspx? NoSelect = 0 & folder =/_ skins/r & filter = *. aspx
Upload webshell directly

Solution:
Filter Request ["filter "]

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.