Craft
Craft
Craft 197
Craft
RETIRED MACHINE

Craft

Craft - Linux Linux
Craft - Medium Medium

4.9

MACHINE RATING

4667

USER OWNS

4558

SYSTEM OWNS

13/07/2019

RELEASED
Created by rotarydrone

Machine Synopsis

Craft is a medium difficulty Linux box, hosting a Gogs server with a public repository. One of the issues in the repository talks about a broken feature, which calls the eval function on user input. This is exploited to gain a shell on a container, which can query the database containing a user credential. After logging in, the user is found to be using vault to manage the SSH server, and the secret for which is in their Gogs account. This secret is used to create an OTP which can be used to SSH in as root.

Machine Matrix

Ready to start your
hacking journey?