Information disclosure in error messages | Lab -01
portswigger LabInformation Disclosure is a security vulnerability where a system or application unin 2026-5-12 06:26:39 Author: infosecwriteups.com(查看原文) 阅读量:7 收藏

portswigger Lab

M o $ t a

Information Disclosure is a security vulnerability where a system or application unintentionally exposes sensitive or internal information to users. This means that information is visible that is not intended for normal users to see.

Hey me dear reader…..

In this lab from the PortSwigger Web Security Academy, the goal is to identify and exploit an “information disclosure vulnerability” caused by verbose error messages. This lab’s verbose error messages reveal that it is using a vulnerable version of a third-party framework.

Press enter or click to view image in full size

Find Here

Applications sometimes return detailed internal errors when something goes wrong. While these messages help developers during debugging, they can also leak sensitive information , Attackers can use this information to craft further attacks. such as:

* Internal file paths
* Technology stack
* Database structure
* Server configuration

Information disclosure occurs when an application unintentionally reveals sensitive data to users who should not have access to it.Error messages are one of the most common places where this happens.

Get M o $ t a’s stories in your inbox

Join Medium for free to get updates from this writer.

Remember me for faster sign in

Common sources include:

* Debug messages
* Stack traces
* Misconfigured APIs
* Source maps
* Server headers

Press enter or click to view image in full size

When we look inside a product and capture it with burp suite, the product id is visible. But when this product id is replaced with normal text or something else, it shows us some internal information with Apache version.

Press enter or click to view image in full size

If someone knows the Apache server version, then the system is not directly hacked. But it becomes reconnaissance information for the attackers, meaning they get important information about the target.

Known Vulnerability_CVE (Apache version is vulnerable, attacker can find exploit).
Exploit Research (risk increases if outdated).
Attack Strategy Planning (it makes attack surface mapping easier).
Automated Scanner Targeting (Technology Fingerprinting).
Technology Fingerprinting (it makes future attack planning easier).

Press enter or click to view image in full size

The purpose of this lab is to trigger an error message that reveals internal information about the application. Which we found very easily in this lab and it was resolved.

Press enter or click to view image in full size

Information disclosure in error messages> Lab _01 solved

文章来源: https://infosecwriteups.com/information-disclosure-in-error-messages-lab-01-588b3d76b76e?source=rss----7b722bfd1b8d---4
如有侵权请联系:admin#unsafe.sh