Control Panel

Description

Control Panel [Web]

Agent, we've identified what appears to be ARIA's control panel. Luckily there's no authentication required to interact with it. Can you take down ARIA once and for all?

https://uscybercombine-s4-control-panel.chals.io/arrow-up-right

control-panel.ziparrow-up-right

Control Panel

Solution

We are given source code:

destroy_humans command introduces Command Injection vulnerability. Anything passed to getoutput get's executed as shell command. We can add ; to add new command like ls:

view-source:https://uscybercombine-s4-control-panel.chals.io/?command=destroy_humans&arg=;ls

There doesn't seem to be a flag on server, or rather it's in /root

supervisord.conf:

There are 2 applications, first is what we are connected to and second is server destroyer which is ran from root.

The app doesn't have access to /rootControl Panel-1

destroyer.py:

http://127.0.0.1:3000/shutdown should give us a flag

Control Panel-2
circle-check

Last updated