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.
Published on medium.com
Infosec
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
- Use waybackurls to collect URLs from the facebook.com domain.
- Extract URLs containing the app_id parameter using grep.
- Identify the /dialog/feed endpoint that shares links.
- Test the feeling/activity feature by selecting 'watching' and typing a random activity.
- Share the activity as a story.
- 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.