Hack The Box: Pterodactyl Machine Walkthrough – Medium Difficulity

Completed the Pterodactyl machine on Hack The Box, focusing on end-to-end exploitation.
The attack started with a path traversal vulnerability (CVE-2025-49132) in the Pterodactyl Panel, leading to unauthenticated RCE. This access allowed database extraction, credential recovery, and SSH access as a low-privileged user.
Privilege escalation was achieved through PAM environment variable poisoning (CVE-2025-6018), followed by a more stable root shell using a libblockdev/udisks race condition (CVE-2025-6019).
A solid exercise in chaining web exploitation with local privilege escalation techniques.
#HackTheBox #CyberSecurity #EthicalHacking #PenetrationTesting #RedTeam #CTF #Linux #PrivilegeEscalation #WebSecurity