Information disclosure on debug page APPRENTICE | Lab -02
portswigger LabInformation Disclosure is a security vulnerability where a system or application unin 2026-5-12 06:26:43 Author: infosecwriteups.com(查看原文) 阅读量:5 收藏

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 sensitive information exposed through a debug page. Debug pages are commonly used during development to help developers troubleshoot issues. However, if these pages remain accessible in production environments, they can reveal sensitive internal details about the application.

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

This lab demonstrates how attackers can access debugging information that should normally be restricted.

Press enter or click to view image in full size

Find Here

A debug page is a special interface that developers use to inspect application behavior.

It may display information such as:

  • Application configuration
  • Framework details
  • Debug logs
  • Environment variables
  • Internal server information

If such a page is publicly accessible, it becomes an information disclosure vulnerability.

Press enter or click to view image in full size

First, we visited some products and captured them in Burp Suite, changed the product ID, and tried to find out if there was any information leak, but nothing was found there.

Press enter or click to view image in full size

Press enter or click to view image in full size

Next we try to find the comment using burp suite and there we find a path (php.info ). Although we can also see it with ffuf/or other tools

Press enter or click to view image in full size

And when we search by adding that path, we end up in the php.info site of that site.

Press enter or click to view image in full size

Finally we got our desired secret key and through it our lab was solved.

Press enter or click to view image in full size

Finally we got our desired secret key and through it our lab was solved.

文章来源: https://infosecwriteups.com/information-disclosure-on-debug-page-apprentice-lab-02-9d1f09ed7b66?source=rss----7b722bfd1b8d---4
如有侵权请联系:admin#unsafe.sh