Tries --:--:-- left
Next hack in --:--:--
Warm-up

Your first hack, in 60 seconds

Every Daily Hack works the same way: read the briefing, look at the evidence, type the answer. Try it here first - no XP, no pressure.

Mission briefing

Developers sometimes leave notes in a page's source code that visitors never see. This login page ships one. Read the source below and find the staff password.

Investigate
<form action="/login" method="post">
  <input name="user" placeholder="Username">
  <input name="pass" type="password" placeholder="Password">
  <!-- TODO: remove before launch - staff password is "sunrise" -->
  <button>Sign in</button>
</form>
Your answer
Daily Hack #129 First blood M2F14M3 Solved by comet NYSM johndna70 glucose dafa cauesalvioni

The origin it trusted

Web & API Security Difficulty Medium ~5 min +10 XP
Mission briefing

Halcyon's account API answers browser requests from its own web app, and to make that work across a couple of domains the team let the server decide per request. It reads the Origin header the browser sends and, if it looks like one of theirs, echoes it straight back as the allowed origin and says credentials are welcome. An attacker's page can send any Origin it likes. Change the Origin to the attacker's site and read what the API hands back to it.

Investigate
Your answer

Play freely - sign up to submit your answer and earn XP.

Solved! +10 XP
First blood! You were first to crack today's hack.
How it works

Up next Pro
Play next hack

Nice one!

Sign up free to claim your +10 XP and start your series.

Claim +10 XP - sign up free
34,000+ Hackers Real labs Free
Start Hacking Free or solve today's hack, no account needed