Monday, November 9, 2015

OverTheWire - Natas - Level 7

Natas teaches the basics of server-side web-security.

each level of natas consists of its own website located at http://natasX.natas.labs.overthewire.org, where X is the level number. This is no SSH logging. To access a level, enter the username for that level (e.g. natas0 for level 0) and its password.

Each level has access to the password of the next level. Your job is to somehow obtain that next password and level up. All passwords are also stored in /etc/natas_webpass/. E.g. the password for natas5 is stored in the file /etc/natas_webpass/natas5 and only readable by natas4 and natas5.
After logging in to natas7 we will see a navbar of sorts with home and about. If you click on a page you should notice the url bar adds ?page=home (or whatever page you clicked) to the url.

If we modify this we can have it display the password by changing it to be ?page=/etc/natas_webpass/natas8. This should display the password for natas8.

No comments:

Post a Comment