Skip to main content

Settings

Color Mode

Theme Skin

Background

Appearance preferences are saved in this browser only.

Environment

Current Environment Production

Built with JEKYLL_ENV=production. Changes require deployment.

Quick Links

Theme & Build

Jekyll v3.10.0
Last BuildNov 24, 17:25

Page Location

Page Info

Layout default
Collection wargames
Path _wargames/natas/natas21.md
URL /wargames/natas/natas21/
Date 2026-04-07

Natas Level 21

Natas Level 21 — two related sites share one session store; learn how an application you can influence can poison a more trusted one.

Table of Contents

Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.

Username: natas21
URL:      http://natas21.natas.labs.overthewire.org

Study guide

Level map: sign in as natas21 and find the password for natas22.

What this level teaches

Trust boundaries between co-located applications, and session sharing across them.

Key ideas

  • Shared session store. The page mentions a second, “experimenter” site that runs next to this one and can set session data.
  • Parameter-to-session mapping. The experimenter application copies request parameters into the session without limiting which ones.
  • Cookie scope. The browser decides when to send a cookie, and you can copy a value from one site’s request to another.

How to approach it

  1. Visit the linked second site and study how it uses your input.
  2. Think about which session value the main site uses to grant access.
  3. Make the second site write that value into a session you then use on the first.

How developers prevent it

Separate session stores for separate trust levels, and never copy arbitrary request parameters into session state.