SoSimple

https://download.vulnhub.com/sosimple/So-Simple-1.7z

靶场IP:192.168.2.19

扫描对外端口服务

┌──(root㉿kali)-[~/Desktop]
└─# nmap -p1-65535 -sV 192.168.2.19
Starting Nmap 7.92 ( https://nmap.org ) at 2022-09-12 11:03 EDT
Nmap scan report for 192.168.2.19
Host is up (0.00029s latency).
Not shown: 65533 closed tcp ports (reset)
PORT   STATE SERVICE VERSION
22/tcp open  ssh     OpenSSH 8.2p1 Ubuntu 4ubuntu0.1 (Ubuntu Linux; protocol 2.0)
80/tcp open  http    Apache httpd 2.4.41 ((Ubuntu))
MAC Address: 08:00:27:19:68:92 (Oracle VirtualBox virtual NIC)
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 8.99 seconds

浏览器访问80端口

image-20220912230418255

使用wpscan进行扫描

枚举用户

爆破密码

不过无法直接上传shell。

image-20220912231038680

我尝试使用Searchsploit搜索任何可用的插件social-warfare漏洞,我得到了这个

image-20220912231648262

反弹shell

image-20220912232113768

找到max用户的私钥

使用私钥进行登录

查看sudo列表

sudo提权到steven用户

查看sudo列表

提权

最后更新于

这有帮助吗?