BroScience
BroScience
BroScience 521
BroScience
RETIRED MACHINE

BroScience

BroScience - Linux Linux
BroScience - Medium Medium

4.7

MACHINE RATING

2970

USER OWNS

2770

SYSTEM OWNS

07/01/2023

RELEASED
Created by bmdyy

Machine Synopsis

BroScience is a Medium Difficulty Linux machine that features a web application vulnerable to `LFI`. Through the ability to read arbitrary files on the target, the attacker gains an insight into how account activation codes are generated, and is thus able to create a set of potentially valid tokens to activate a newly created account. Once logged in, further enumeration reveals that the site's theme-picker functionality is vulnerable to PHP deserialisation using a custom gadget chain, allowing an attacker to copy files on the target system, eventually leading to remote code execution. Once a foothold has been established, a handful of hashes are recovered from a database, which once cracked prove to contain a valid `SSH` password for the machine's main user `bill`. Finally, the privilege escalation is based on a cronjob executing a Bash script that is vulnerable to command injection through a certificate generated by `openssl`, forfeiting `root` access to the attacker.

Machine Matrix

Ready to start your
hacking journey?