Grandmaster rank emblem

Lvl 99

Level XP3,807/5,718

3807 of 5718
Grandmaster dreadnaught
Machine
Usage
OS
Linux
Difficulty
Easy
Steps
4
Added
2 Sep 2024

A password-reset SQLi opens the admin panel; an ExifTool upload gives a shell, chained creds reach a user, and a 7-Zip wildcard gives root.

0Reconnmap1Footholdreset SQLi2FootholdExifTool upload3Lateraldash4Priv esc7-Zip wildcard
1Recon2Foothold3Lateral4Priv escnmap1reset SQLi2ExifTool upload3dash47-Zip wildcard5

How it went

  1. 0
    nmap

    An nmap scan redirects to usage.htb.

  2. 1
    reset SQLi

    The password-reset function is injectable; dumping and cracking admin_users opens the admin panel.

  3. 2
    ExifTool upload

    An admin image upload runs an ExifTool-based command injection once renamed .php, giving a reverse shell.

  4. 3
    dash

    dash's SSH key logs us in for the user flag; a recovered monitoring password then sus to the xander account.

  5. 4
    7-Zip wildcard

    xander can sudo a usage_management binary that mishandles 7-Zip wildcards; abusing it reads root's SSH key for root.