OWASP TOP 10 View Guide

Session Hijacking - Predictable Session IDs

Easy A07:2021 - Authentication 150 points
Challenge Description

This application has a critical session management vulnerability:

  • Session IDs are predictable sequential numbers
  • Sessions are not bound to IP address or user agent
  • There's no session validation beyond checking if the ID exists

An admin user logged in a few minutes ago. Your goal is to hijack their session by guessing their session ID and accessing their secret data.

Learning Objective: Understand why session IDs must be cryptographically random and why additional session binding is important.

Your Current Session:
Not logged in
Login (Create New Session)
Try: user1 / user1pass
Access with Session ID (Vulnerable)
Hint: Session IDs are sequential numbers starting at 1001
Submit Flag
Hints -10% per hint
Debug Options
Session ID Scanner

Scan a range of session IDs:

An error has occurred. This application may no longer respond until reloaded. Reload Dismiss