Information disclosure, also known as information leakage, is when a website unintentionally reveals sensitive information to its users. Depending on the context, websites may leak all kinds of information to a potential attacker, including:
Data about other users, such as usernames or financial information
Sensitive commercial or business data
Technical details about the website and its infrastructure
Lab: Information disclosure in error messages
This lab's verbose error messages reveal that it is using a vulnerable version of a third-party framework.
Lab: Authentication bypass via information disclosure
This lab's administration interface has an authentication bypass vulnerability, but it is impractical to exploit without knowledge of a custom HTTP header used by the front-end.
GET /admin - Admin interface only available to local users
TRACE /admin
X-Custom-IP-Authorization: 199.199.199.199
→ Add this line to requests → Proxy → Options → Match and Replace → Add to replace option
X-Custom-IP-Authorization: 127.0.0.1
Lab: Information disclosure in version control history
This lab discloses sensitive information via its version control history.