Skip to main content
  1. CTF Writeups/

Plum

·130 words·1 min
Muqaram Majid
Author
Muqaram Majid
Just jotting down my thoughts

Plum
#

Overview
#

  • OS: Linux
  • IP: 192.168.143.28
  • Difficulty: Intermediate
  • Platform: OffSec
  • OSCP: Yes
  • Lists: N/A

Summary
#

RCE and simple exposed cred for privesc.

Loot
#

Loot
CategoryDetails
Usernames
Passwords
Usernames+Passwords
Hashes
Service Versions

Enumeration
#

Nmap
#

22/tcp open  ssh     OpenSSH 8.4p1 Debian 5+deb11u1 (protocol 2.0)
| ssh-hostkey: 
|   3072 c9:c3:da:15:28:3b:f1:f8:9a:36:df:4d:36:6b:a7:44 (RSA)
|   256 26:03:2b:f6:da:90:1d:1b:ec:8d:8f:8d:1e:7e:3d:6b (ECDSA)
|_  256 fb:43:b2:b0:19:2f:d3:f6:bc:aa:60:67:ab:c1:af:37 (ED25519)
80/tcp open  http    Apache httpd 2.4.56 ((Debian))
|_http-title: PluXml - Blog or CMS, XML powered !
|_http-server-header: Apache/2.4.56 (Debian)
Device type: general purpose
Running: Linux 5.X

Dirbusting
#

Port 80
#

Web behavior was the main signal here, so I traced each response change before exploitation.

admin:admin worked

Exploitation
#

Once the primitive was confirmed, I converted it into a stable foothold and chained it forward.

https://github.com/MoritzHuppert/CVE-2022-25018/blob/main/CVE-2022-25018.pdf