Grand 180-day penetration documentary Chapter 5. Unintentional plug-in Liu chengmeng (a website upload vulnerability caused the server..., involving some user files)

Source: Internet
Author: User
Tags sdo

Wondering, is there also an xss vulnerability ..?

 

With a try, I came to Shanda customer service.

 

Select network reception ..

 

In the queue, the hands shake .. Click to view the source file...

 

In the process of turning down, a line of shiny upload code was suddenly displayed ..

 

So followed the code to the http://chjd.sdo.com/uploadimage.aspx



Select an image named genimg.jpg and upload it successfully. The returned address is:



Picture File Uploaded to http://img. OS .sdo.com/

 

So let's take a look at the win2003 system.

 

Enter the file name after the address and add the suffix asp for access without any restrictions.



When you return to the image, you can see the upload rules. The original file name is .jpg.

 

A malformed file name is constructed to test whether the IIS parsing vulnerability exists ..

 

After uploading the file, go to img. OS .sdo.com and check whether the cute execute error is returned ..



Kitchen Knife connection...

Database Information


 



It seems that this is the data upload site for gamers to consult customer service. It contains a large number of users to upload information, such as ID cards.

Once obtained by criminals, the consequences will be severe...
 

Solution:

It seems that this is the data upload site for gamers to consult customer service. It contains a large number of users to upload information, such as ID cards.

Once obtained by criminals, the consequences will be severe...

 

· The upload server strictly sets the execution permission

· Find and confirm whether there are web trojans on the server

· Modify the Database Password in this example

· Pay attention to naming rules for uploaded files

 

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.