Grandmaster rank emblem

Lvl 99

Level XP3,807/5,718

3807 of 5718
Grandmaster dreadnaught
Machine
Beep
OS
Linux
Difficulty
Easy
Steps
2
Added
23 Mar 2023

An Elastix LFI leaks a reused password that the root account also uses.

0Reconnmap1Footholdgraph.php LFI2RootSSH as root
1Recon2Foothold3Rootnmap1graph.php LFI2SSH as root3

How it went

  1. 0
    nmap

    An nmap scan shows a busy host; the HTTPS Elastix PBX login stands out.

  2. 1
    graph.php LFI

    Elastix 2.2.0's graph.php LFI reads amportal.conf and exposes a reused password.

  3. 2
    SSH as root

    The password is sprayed across SSH users; root reuses it, landing both flags.