Grandmaster rank emblem

Lvl 99

Level XP3,807/5,718

3807 of 5718
Grandmaster dreadnaught
Machine
Soccer
OS
Linux
Difficulty
Easy
Steps
3
Added
10 Jun 2023

A default-cred file manager gives a shell; a WebSocket SQLi reaches a user, and a doas plugin load gives root.

0Reconnmap1Footholdtiny FM2LateralWebSocket SQLi3Priv escdoas dstat
1Recon2Foothold3Lateral4Priv escnmap1tiny FM2WebSocket SQLi3doas dstat4

How it went

  1. 0
    nmap

    An nmap scan of all ports shows soccer.htb and a service on 9091.

  2. 1
    tiny FM

    A /tiny file manager with default credentials allows a PHP upload for a shell as www-data.

  3. 2
    WebSocket SQLi

    A soc-player subdomain queries a database over a WebSocket; blind SQL injection via a SQLmap proxy recovers player:PlayerOftheMatch2022 for an SSH login and the user flag.

  4. 3
    doas dstat

    player can doas the dstat tool; a malicious Python plugin in its writable plugin dir runs as root.