Haircut Here
The primary goal of the Haircut box is to exploit a vulnerable web application and escalate privileges to root. : Initial scans reveal an HTTP service running on port 80.
: This version of screen is vulnerable to a local privilege escalation (LPE) exploit (CVE-2017-5618), which allows an attacker to gain root access by manipulating log files. Key Resources for Walkthroughs
: Provides a highly detailed Haircut walkthrough that explains both the "quick" path and a deeper look at the underlying PHP filtering. haircut
In cybersecurity and technical communities, a typically refers to a walkthrough for the retired Hack The Box (HTB) machine named Haircut .
: Enumeration of the system reveals a specific version of screen (typically version 4.05.00) that has the SUID bit set. The primary goal of the Haircut box is
This machine is a Linux-based "medium" challenge that focuses on command injection and exploiting SUID (Set User ID) binaries.
: Once the shell is uploaded, navigating to that file executes the malicious code, providing a low-privileged shell on the target system. Privilege Escalation : Key Resources for Walkthroughs : Provides a highly
Further exploration of the web application often identifies a PHP script that performs a curl command based on user-provided input. :