Strange error.log entry and digital ocean ubuntu pwnage script
I found a strange entry in my nginx error log file:
2014/06/29 18:05:17 [crit] 878#0: *31 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 220.127.116.11, server: localhost, request: "GET /wp-admin/install.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "18.104.22.168"
I have a couple of WP installs in this New York based cloudlet. I cannot fully understand this log entry, so I went to check this IP address (22.214.171.124). Apparently it is hosted at the same datacenter, but it shows the default Apache page (It works!).
It also has some WP files or something that look like a WP install. I went looking in the wp-content/uploads folder, which I know lists the files in a default install. It has some weird .so files and a script called pwn.ssh that my curiosity made me download to take a look.
This file has a comments saying it is a ‘Digital Ocean [Ubuntu x86_64] pwnage script’. (It is located at http://126.96.36.199/wp-content/uploads/2014/06/ocean/).
So, my questions are:
- Is this a compromised system or a droplet set up to gain access to other droplets?
- Should I be worried?
- Should I warn Digital Ocean staff? How to?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×