Grandmaster rank emblem

Lvl 99

Level XP3,807/5,718

3807 of 5718
Grandmaster dreadnaught
Machine
Time
OS
Linux
Difficulty
Medium
Steps
2
Added
23 Mar 2023

A Jackson deserialization RCE gives a shell; a world-writable root backup script gives root.

0Reconnmap1FootholdJackson RCE2Priv escwritable script
1Recon2Foothold3Priv escnmap1Jackson RCE2writable script3

How it went

  1. 0
    nmap

    An nmap scan shows a JSON-formatting web app.

  2. 1
    Jackson RCE

    A failed parse reveals Jackson; a deserialization RCE via an H2 RUNSCRIPT payload gives a shell and the user flag.

  3. 2
    writable script

    A root-run backup script is world-writable; appending an SSH key to root's authorized_keys gives a root login.