HackTheBox - Pterodactyl
Skills:
Network Security90%
Key Takeaways
Exploits Pterodactyl using nmap, ffuf, and CVE-2025-49132
Original Description
01:05 - Start of nmap
04:00 - Using ffuf to find the panel subdomain, which shows pterodactyl.htb
06:30 - Discovering the version of pterodactyl running by looking at the GitHub Releases and looking for the js bundle name
10:00 - Searching CVE's finding the Pterodactyl CVE-2025-49132 POC, and running an exploit script
17:00 - Finding PHP PEAR directory which allows our exploit to run
19:05 - Looking at the source code, and running through the exploit manually
36:00 - Shell on the box dump the database, crack a cred to get an account
43:40 - Looking at CVE-2025-6018 which lets us impersonate a physical logged in user in policy kit
46:25 - Exploiting CVE-2025-6019 which is a CVE in UDISKS, when it does the resize it mounts a partition without the NOSUID flag
52:55 - Starting a script to execute bash in our malicious mount, then telling udisks to resize it and getting a shell
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
More on: Network Security
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
When AI Asks for More Electricity Than a Country Can Imagine
Medium · AI
You Are Not Behind. The World Is.
Medium · AI
Career choice with the advent of AI - pure Computer Science or learn software with a background of core engineering area
Dev.to AI
The AI Hype Cycle: Calm Before the Next Breakthrough?
Medium · Programming
Chapters (10)
1:05
Start of nmap
4:00
Using ffuf to find the panel subdomain, which shows pterodactyl.htb
6:30
Discovering the version of pterodactyl running by looking at the GitHub Releas
10:00
Searching CVE's finding the Pterodactyl CVE-2025-49132 POC, and running an exp
17:00
Finding PHP PEAR directory which allows our exploit to run
19:05
Looking at the source code, and running through the exploit manually
36:00
Shell on the box dump the database, crack a cred to get an account
43:40
Looking at CVE-2025-6018 which lets us impersonate a physical logged in user i
46:25
Exploiting CVE-2025-6019 which is a CVE in UDISKS, when it does the resize it
52:55
Starting a script to execute bash in our malicious mount, then telling udisks
🎓
Tutor Explanation
DeepCamp AI