Laboratory
Writeup for Laboratory from Hack the Box
Recon
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.1 (Ubuntu Linux; protocol 2.0)
80/tcp open http Apache httpd 2.4.41
443/tcp open ssl/http Apache httpd 2.4.41 ((Ubuntu))
Service Info: Host: laboratory.htb; OS: Linux; CPE: cpe:/o:linux:linux_kernel



Foothold

First Try: Gitlab 12.9.0 - Arbitrary File Read

Second Try: Gitlab 11.4.7 - Remote Code Execution

User Flag




Root Flag
Try 1: containerd / runc

Try 2: SUID Files

PATH Variable Manipulation

Standard Steps
Getting the Root Flag

Last updated