- 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.
How it went
- 0nmap
An nmap scan of all ports shows soccer.htb and a service on 9091.
- 1tiny FM
A /tiny file manager with default credentials allows a PHP upload for a shell as www-data.
- 2WebSocket 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.
- 3doas dstat
player can doas the dstat tool; a malicious Python plugin in its writable plugin dir runs as root.