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.
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
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
- Log in to one of the listed development subdomains using Facebook credentials.
- Scroll through the news feed to trigger error messages with debug information.
- Interact with the debug options, such as clicking 'Show Debug info' and viewing the serialized tool.
- Try endpoints like the password recovery page to see if they behave unexpectedly.
- Open a profile page and check the browser console for missing dependencies.
- 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.