Back to list
CTFVery Easy

HackThisSite — Basic Mission 3

ducky
2026-05-19
20 views
1 min read

What Happened

A hidden <input> in the form reveals exactly where the password is stored:

Navigating directly to: https://www.hackthissite.org/missions/basic/3/password.php

Returns the plaintext password: 97c22eaa


Root Cause

Two mistakes combined:

  1. Hidden inputs are not secret — view source exposes them instantly
  2. Password file is publicly accessible — no access control on the file path

Key Takeaway

"Hidden" in HTML means hidden from the UI, not from the user. Sensitive files must be protected server-side — never referenced directly from client-side code.

Tags

#basic mission 3#basic-mission-3#/missions/basic/3/#hackthissite

Keep Reading

Related writeups