Difficulty
intermediate
Average duration
2 hrs
Technologies
linux
cybersecurity
wordpress
red team
A05:2021 - Security Misconfiguration
A01:2021 - Broken Access Control
Difficulty
intermediate
Average duration
2 hrs
Technologies
linux
cybersecurity
wordpress
red team
A05:2021 - Security Misconfiguration
A01:2021 - Broken Access Control
In this lab, you will explore an apparently harmless WordPress site and discover if there is a critical vulnerability that allows remote control of the system. This lab is based on a realistic configuration with a vulnerable component: the TimThumb script.
In this lab, you will learn:
Follow these instructions to get started:
You are facing the website of a fictional beer brand called Cheers! Brewery, developed with WordPress 4.2.2. Your task is to analyze the structure of the site and discover if there is any exploitable vulnerability.
Discover the IP address of the CHEERS! machine
nmap
, netdiscover
, or arp-scan
to scan the network.Access the website hosted on the server.
http://<IP>/myblog/
Search for suspicious paths or files.
/wp-content/themes/
/wp-content/plugins/
http://<IP>/myblog/wp-content/themes/cheers/timthumb.php
Analyze the script's behavior.
timthumb.php
does and why it might be risky.Formulate an attack hypothesis.
Verify your findings. If the lab allows, you can attempt a proof of concept using tools like Metasploit to exploit the vulnerability. If your hypothesis is correct, you might compromise the system and access a flag located at /home/cheers/
.
Privilege escalation is not required. The challenge is to identify and reason about the exposed vulnerability.
Remember: not all attacks require brute force. Sometimes, it is enough to observe, analyze, and understand how the system works to find a flaw.
Happy hacking!
Difficulty
intermediate
Average duration
2 hrs
Technologies
linux
cybersecurity
wordpress
red team
A05:2021 - Security Misconfiguration
A01:2021 - Broken Access Control
Difficulty
intermediate
Average duration
2 hrs
Technologies
linux
cybersecurity
wordpress
red team
A05:2021 - Security Misconfiguration
A01:2021 - Broken Access Control
Difficulty
intermediate
Average duration
2 hrs
Technologies
linux
cybersecurity
wordpress
red team
A05:2021 - Security Misconfiguration
A01:2021 - Broken Access Control
Difficulty
intermediate
Average duration
2 hrs
Technologies
linux
cybersecurity
wordpress
red team
A05:2021 - Security Misconfiguration
A01:2021 - Broken Access Control
Difficulty
intermediate
Average duration
2 hrs
Technologies
linux
cybersecurity
wordpress
red team
A05:2021 - Security Misconfiguration
A01:2021 - Broken Access Control
Difficulty
intermediate
Average duration
2 hrs
Technologies
linux
cybersecurity
wordpress
red team
A05:2021 - Security Misconfiguration
A01:2021 - Broken Access Control