portswigger-all-labs

Complete PortSwigger Web Security Academy Lab Writeups Detailed, categorized solutions for every lab — from APPRENTICE to EXPERT — covering all 30 vulnerability types.

View on GitHub

Information disclosure vulnerabilities

Lab Levels

Jump directly to the lab writeups:

Introduction

Information disclosure (or leakage) occurs when a web application unintentionally exposes data that it shouldn’t. This data can be:

Common Places Where Sensitive Information May Be Exposed

When assessing a web application for information disclosure vulnerabilities, it’s important to know where to look. Below are some common examples of locations and features that may unintentionally reveal sensitive data:


🔍 1. Files for Web Crawlers


📁 2. Directory Listings


💬 3. Developer Comments


⚠️ 4. Error Messages


🐞 5. Debugging Data


👤 6. User Account Pages


💾 7. Backup Files


⚙️ 8. Insecure Configuration


🕹️ 9. Version Control History


These weak spots are frequently tested during reconnaissance and enumeration in penetration testing. Identifying and addressing them is essential for securing a web application.