{% extends "base.html" %} {% block title %} Dashboard - Broken Authentication Lab {% endblock %} {% block content %}

User Dashboard

Welcome, {{ username }}!

Session Information

Your current session is active. Remember that this lab demonstrates insecure session management. The session token is a base64 encoded string containing your username and timestamp.

{% if role == 'user' %}

Challenge: Can you find a way to escalate your privileges to admin?
Hint: Examine your session cookie and its structure.

{% endif %}

Security Notice

This is a vulnerable lab environment. In a real application, you would:

  • Use secure session management
  • Implement proper access controls
  • Encrypt sensitive data
  • Use secure token generation
{% endblock %}