Skip to content
Info disclosure Write-up Beginner

Laravel Debugging: A Sweet Yet Treacherous Elixir

The Laravel debug error page was left enabled on a production site, exposing request history including POST data. An attacker could view login credentials from a POST request and use them to access the application.

medium.com

Published on medium.com

so i was preparing to go to bed early today 11:54 PM , i had some urgent things to do tomorrow, but then i was like just wait maybe i could read a few articles before bed, open meduim , and found this girl article about how she found a bug , i’ve already seen here articles , some are good , most are basic , but i have…

Abdellah Lamine, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Laravel debug mode (APP_DEBUG) was left enabled in production, and the debug error page exposed request history including POST bodies.

Impact

An attacker could obtain valid login credentials and access the application, potentially viewing and modifying developer accounts and data.

What the attacker needed

Laravel debug mode enabled in production; Network access to the debug error page

How it was found

  1. Found a website and noticed the main path returned permission denied.
  2. Used urlscan.io to find the site's IP address.
  3. Accessed the IP directly and saw a Laravel debug error page.
  4. Added the /meeting_live/ path to the IP and saw an exception panel with a large array.
  5. Clicked a folder icon in the debug panel to view a list of requests and their IPs.
  6. Filtered the request list to show only POST requests.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Laravel is a tool for building websites. When it is in 'debug' mode, it shows detailed error pages that can include private information like past requests. Here, those pages were left on for a live site, so anyone could see data sent to the site, including a username and password.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.