Yummy
Yummy
Yummy 628
Yummy
RETIRED MACHINE

Yummy

Yummy - Linux Linux
Yummy - Hard Hard

4.7

MACHINE RATING

1999

USER OWNS

1810

SYSTEM OWNS

05/10/2024

RELEASED
Created by LazyTitan33

Machine Synopsis

Yummy is a hard box that starts with a Restaurant web app using Caddy web service, on port 80, where an attacker finds an arbitrary file read HTTP Location header, which is not handled and sanitized properly by default Caddy default configuration. Reading the source code, the web app uses JWT RSA keypairs to forge an admin token and escalate privileges on the web app. The admin panel has an SQL injection, allowing arbitrary file write, the attacker now overwrites a file running periodically (`cronjob`). Improper directory permissions allow the attacker to move laterally to `www-data` and eventually `dev` user. The `dev` user can execute `rsync` binary as root, which helps escalate privileges to root.

Machine Matrix

Ready to start your
hacking journey?