Wpwn

https://download.vulnhub.com/wpwn/wpwnvm.zip

靶场IP:192.168.32.135

扫描对外端口服务

┌──(root💀kali)-[/tmp]
└─# nmap -p1-65535 -sV 192.168.2.135
Starting Nmap 7.91 ( https://nmap.org ) at 2022-09-06 09:35 EDT
Nmap scan report for 192.168.2.135
Host is up (0.00071s latency).
Not shown: 65533 closed ports
PORT   STATE SERVICE VERSION
22/tcp open  ssh     OpenSSH 7.9p1 Debian 10+deb10u2 (protocol 2.0)
80/tcp open  http    Apache httpd 2.4.38 ((Debian))
MAC Address: 00:0C:29:DB:E7:B5 (VMware)
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 7.96 seconds

浏览器访问80端口

image-20220906213634428

爆破目录

访问:/wordpress/

image-20220906214449737

枚举wordpress,发现social-warfare插件有漏洞

image-20220906214414210

直接执行命令

image-20220906214704204
image-20220906214831159

查看用户密码文件

image-20220906214949758

使用takis/R3&]vzhHmMn9,:-5进行ssh登录。

image-20220906215128857

直接su提权

image-20220906215234299
image-20230208161537677

最后更新于

这有帮助吗?