Grandmaster rank emblem

Lvl 99

Level XP3,807/5,718

3807 of 5718
Grandmaster dreadnaught
Machine
PC
OS
Linux
Difficulty
Easy
Steps
3
Added
7 Oct 2023

A gRPC service exposes a SQL injection for a user shell; a loopback-only pyLoad, tunnelled out, has a pre-auth RCE as root.

0Reconnmap1FootholdgRPC id2FootholdSQLi3Priv escpyLoad RCE
1Recon2Foothold3Priv escnmap1gRPC id2SQLi3pyLoad RCE4

How it went

  1. 0
    nmap

    An nmap scan of all ports finds a gRPC service on 50051.

  2. 1
    gRPC id

    grpcurl enumerates the service; a token from login exposes an id parameter that is injectable.

  3. 2
    SQLi

    Driving SQLmap through a small proxy dumps credentials for an SSH login as sau and the user flag.

  4. 3
    pyLoad RCE

    A loopback-only pyLoad on port 8000, tunnelled out, has a pre-auth RCE that runs as root.