Easy wins : verbose error worth Facebook HOF

4 years ago 199
BOOK THIS SPACE FOR AD
ARTICLE AD

POC

I used waybackurls by tomnomnom to get all the urls of facebook.com domain.I wanted URL with app_id parameter in url . So using grep i extracted them .

https://www.facebook.com/sharer?u=https%3A%2F%2Fgoogle.com

Above URL is Facebook common sharing endpoint for sharing anything like facebook profile , video and external urls.

Later one URL caught my attention from extracted url txt file.

https://www.facebook.com/dialog/feed?app_id={appi_id}&link={sharing url}&redirect_uri={sharing url}

Surprisingly above endpoint also share links. I decided to poke this URL .

3. Later, I decided to test feeling/activity feature. I selected watching option in activity and typed random thing & shared as Story.

Image for post

Image for post

facebook sharing

4. Right after sharing this as story it was leaking file names with file paths.

Image for post

Image for post

Verbose error with file paths
Read Entire Article