Nebula Level 01

Nebula 01

There is a vulnerability in the below program that allows arbitrary programs to be executed, can you find it?

flag01-backup

The system calls system(“/usr/bin/env echo and now what?”);

We create a symbolic link to the getflag program. When we run the program, the path variable is search for the echo command. The flag01 program will now execute getflag for us under it’s user context.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s