Platform: Proving Grounds Level: Easy
Reconnaissance
I used RustScan to identify open ports.

The scan found ports 22 and 80 open. I used service detection to verify the services rather than relying on their conventional port assignments.
Service enumeration
I scanned the open ports with Nmap to identify the services and versions.

The results identified SSH and HTTP. The service information suggested a Linux host.
Web enumeration
I checked the HTTP response with curl and opened the site in a browser. The landing page displayed a portfolio:

Directory discovery found /assets, /images, /css, and /js. Following the directory structure to /fonts/blog produced a redirect with a different hostname:

The redirected site appeared to use WordPress. I added the hostname to the local hosts file to resolve it to the target:

Wappalyzer identified an older WordPress version:

WordPress enumeration
I used WPScan with aggressive plugin detection to identify installed components.
The results flagged a plugin with a reported vulnerability:

Initial access
Research indicated that the plugin permitted arbitrary file upload and that a public Metasploit module existed. The module did not work in this attempt:

I tested the upload path manually.
The blog comment form included an image upload field:

The application rejected a direct upload of a non-image file:

Prepending a GIF signature to a PentestMonkey reverse-shell script allowed the payload to pass the observed upload check. The exact server-side validation mechanism was not established:

I submitted the completed comment form:

With a Netcat listener running, submitting the comment produced a reverse-shell connection:

The session ran as www-data. I located the first flag in james’s directory:

Privilege escalation
Access to other user directories was restricted, so I enumerated local privilege boundaries.
The account list included vagrant.

Further enumeration showed a route to the vagrant account, which had passwordless sudo access to all commands:

Using that access, I obtained a root shell and retrieved the final flag.
Outcome
The documented chain was WordPress plugin upload bypass, a www-data shell, and privilege escalation through the vagrant account.