Skip to content
Info disclosure Write-up Beginner

Easy wins : verbose error worth Facebook HOF

A Facebook sharing endpoint returned verbose error messages that disclosed internal file names and file paths when a user shared a story with a random activity. An attacker could use this information to learn about the server's file system structure.

Mukul Lohar Follow

Published on medium.com

Bounty$500 View original

Infosec

Mukul Lohar, 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 application did not handle unexpected input gracefully and displayed raw error details including file paths.

Impact

The verbose error messages could reveal internal file names and paths, potentially aiding further attacks, though the text does not specify the extent of the leak.

What the attacker needed

A Facebook account; ability to share a story

How it was found

  1. Use waybackurls to collect URLs from the facebook.com domain.
  2. Extract URLs containing the app_id parameter using grep.
  3. Identify the /dialog/feed endpoint that shares links.
  4. Test the feeling/activity feature by selecting 'watching' and typing a random activity.
  5. Share the activity as a story.
  6. Observe the verbose error leaking file names and paths.

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.

When a website has a bug, it sometimes shows detailed error messages that include the names and locations of files on the server. These messages are meant for developers, not users, and can help attackers understand how the system is built. This report shows that sharing a story with a random activity caused such an error.

What is Info disclosure?

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

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.