Gavel - HackTheBox Writeup
Difficulty: Medium Operating System: Linux Executive Summary Gavel is a Linux machine that combines source code disclosure, application security flaws, and custom software analysis to achieve full system compromise. The attack begins with an exposed Git repository, leading to source code disclosure and identification of a PDO placeholder confusion vulnerability. After obtaining administrative access to the web application, arbitrary PHP code execution is achieved through insecure runtime rule evaluation. Finally, a custom root-owned service is reversed and abused to gain root privileges. ...