Monday, October 26, 2015

OverTheWire - Natas - Level 5

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 natas5 we'll see the following message:

"Access disallowed. You are not logged in."

Typically sites use cookies to authenticate users. Use something like firebug or Cookies to view and edit the cookies and look for the domain natas5. You should find a single cookie that has the loggedin property set to 0. Change this to one and refresh the page. You should see the password displayed for natas6.

No comments:

Post a Comment