โš™๏ธ OWASP Top 10 Lab โ€” Security Misconfiguration

Category: A02: Security Misconfiguration

๐Ÿง  Vulnerability Type

๐ŸŽฏ Objective

Identify exposed configuration files, unnecessary data exposure, and weak security hardening issues commonly found in misconfigured production environments.

๐Ÿ›  Lab Environment

๐Ÿ’ฅ Impact

๐Ÿงช Proof of Concept

Multiple configuration weaknesses were identified through directory enumeration, API inspection, and response analysis.

Public Exposure of Internal and Backup Files

The /ftp directory was publicly accessible and contained development artifacts, backup files, and operational data including backup archives and encrypted materials.

Exposed FTP Directory

Stack Trace Disclosure

Accessing internal resources triggered verbose stack traces exposing backend file paths, routing logic, and technology stack details.

Stack Trace Disclosure

PII Exposure via Address API

The address endpoint exposed personally identifiable information including full name, phone number, and physical address mapped to numeric identifiers.

PII Exposure

Missing Modern Security Headers

Critical browser protections such as Content Security Policy (CSP), HSTS, and Referrer Policy were absent, weakening client-side defenses.

Security Headers Review

Hidden Endpoint Disclosure

Response headers exposed undocumented routes such as X-Recruiting: /#/jobs, revealing internal functionality.

๐Ÿ›ก Mitigation

๐Ÿง  Key Learning

Security misconfigurations often appear minor individually but can collectively lead to significant exposure of sensitive data and internal architecture. Proper production hardening is critical to reducing attack surface.

๐Ÿบ Personal Note

This lab highlights how overlooked configuration issues can expose valuable reconnaissance data to attackers. Many real-world breaches originate from simple deployment oversights rather than complex exploits.