Skip to content
Info disclosure Write-up Beginner

Getting access to prompt debug dialog and serialized tool on main website facebook.com

A development subdomain of Instagram served the main Facebook application with debug information enabled, exposing internal error details and a serialized tool. An attacker could view this debug data to learn about the application's source code and potentially gain developer-level access.

Omar Espino Follow

Published on omespino.com

Vulnerability Scope: Main Site (www.facebook.com) Status: Mitigated Title “Getting access to prompt debug dialog and serialized tool on main website facebook.com” Product / URL: www.facebook.com

Omar Espino (@omespino), on omespino.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 a misconfiguration where a development environment was publicly accessible and served the production application with debug mode enabled, causing it to leak internal error details.

Impact

An attacker could view debug information that might reveal confidential source code, intellectual property, or even allow access with developer permissions.

What the attacker needed

A Facebook account; access to the development subdomain

The fix

The vulnerability was mitigated by the Facebook security team, though they noted further work was needed.

How it was found

  1. Log in to one of the listed development subdomains using Facebook credentials.
  2. Scroll through the news feed to trigger error messages with debug information.
  3. Interact with the debug options, such as clicking 'Show Debug info' and viewing the serialized tool.
  4. Try endpoints like the password recovery page to see if they behave unexpectedly.
  5. Open a profile page and check the browser console for missing dependencies.
  6. Use a proxy to inspect navigation history and find an endpoint with debug options activated.

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.

A development version of a website is like a test copy that shows extra error messages to help programmers fix problems. Here, a test copy of Instagram was reachable by anyone and showed these messages, which could reveal secret details about how the real Facebook site works.

What is Info disclosure?

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

More by Omar Espino

View all

15 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

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.