Lab 05: OWASP A05 — Security Misconfiguration
Objective
Background
Architecture
┌─────────────────────┐ Docker Network: lab-a05 ┌─────────────────────┐
│ KALI ATTACKER │ ─────── HTTP attacks ─────────────▶ │ VICTIM SERVER │
│ innozverse-kali │ │ innozverse-cybersec│
│ gobuster, curl, │ ◀────── responses ─────────────────── │ Flask :5000 │
│ nikto, whatweb │ │ (debug on, .env, │
└─────────────────────┘ │ default creds) │
└─────────────────────┘Time
Tools
Lab Instructions
Step 1: Environment Setup
Step 2: Launch Kali + Initial Recon
Step 3: Directory Enumeration — Find Hidden Files
Step 4: Read Sensitive Files Directly
Step 5: Debug Info Endpoint — Environment Variables Dump
Step 6: Verbose Error Messages — Schema Disclosure
Step 7: Default Credentials — Admin Panel
Step 8: Security Header Audit
Step 9: Cleanup
Remediation
Misconfiguration
Finding
Fix
Summary
Attack
Tool
Result
Further Reading
PreviousLab 04: OWASP A04 — Insecure DesignNextLab 06: OWASP A06 — Vulnerable and Outdated Components
Last updated
