Grandmaster rank emblem

Lvl 99

Level XP3,807/5,718

3807 of 5718
Grandmaster dreadnaught
Machine
Cobblestone
OS
Linux
Difficulty
Insane
Steps
4
Added
9 Aug 2025

A second-order SQLi with the MySQL FILE privilege writes a webshell; a cracked admin hash gives an rbash SSH shell, and a root Cobbler API command injection gives root.

0Reconnmap1Foothold2nd-order SQLi2LateralINTO OUTFILE3Pivotcobble4Priv escCobbler RCE
1Recon2Foothold3Lateral4Pivot5Priv escnmap12nd-order SQLi2INTO OUTFILE3cobble4Cobbler RCE5

How it went

  1. 0
    nmap

    nmap shows SSH and Apache; the main site exposes vote and deploy subdomains.

  2. 1
    2nd-order SQLi

    A second-order SQLi (stored in suggest.php, fired in details.php) runs as a voteuser holding the MySQL FILE privilege.

  3. 2
    INTO OUTFILE

    LOAD_FILE leaks the app source and configs; since MariaDB has no AppArmor profile, INTO OUTFILE drops a PHP webshell as www-data.

  4. 3
    cobble

    mysqldump yields admin SHA256 hashes; cobble's cracks from rockyou, giving an rbash SSH shell and the user flag.

  5. 4
    Cobbler RCE

    SSH port-forwarding reaches the root Cobbler XMLRPC API; default creds plus a background_import command injection (CVE-2024-47533) run as root.