SlideShare a Scribd company logo
1 of 28
Download to read offline
30 March 2019 • Facebook HQ
How To Find High
Impact Privilege
Escalation Bugs
Pranav Hivarekar
About Me
• Pranav Hivarekar
• Active Bug Hunter
• Facebook (Top 10), Nest, Snapchat, etc.
• MS Degree in Cybersecurity (USA)
• Worked At NCCGroup, NYC, USA
• Founder @PeritusInfosec
• Trainings @PeritusInfosec
• Pentester @Cobalt.io
@HivarekarPranav
Agenda
• My First Bounty Story
• Simple Privilege Escalation Methodology
• Case Studies
• Conclusion
@HivarekarPranav
Facebook 2018 Stats
• 48 Bugs Reported
• 27 Valid Bugs
• 22 Bounties
@HivarekarPranav
Simple Privilege Escalation Testing Methodology
1. Find endpoints
2. What are roles?
3. Try Privilege Escalation
1. Access/Modify another user’s data
2. Escalate privileges from lower to higher role
@HivarekarPranav
Case Study 1
Page Analyst Can Create/Edit/Modify
Frames Owned By Page
@HivarekarPranav
Background Information
• Facebook Pages
• Frames Studio
@HivarekarPranav
Frames
@HivarekarPranav
What Are Roles?
Source : https://www.facebook.com/help/289207354498410
@HivarekarPranav
Proof Of Concept
1. Create a page and add an Admin and Analyst.
2. Via Analyst's account visit:
https://www.facebook.com/fbcameraeffects/ma
nage/
3. Now, analyst can create `frames` for the `Page`
as well as edit/delete/modify frames created by
other admins.
@HivarekarPranav
Bounty – 500$
@HivarekarPranav
Case Study 2
Deleting Live Polls From Any Live Video
@HivarekarPranav
Background Information
• Facebook Pages/ User Profiles
• Polls on videos
• GraphAPI – https://graph.facebook.com
@HivarekarPranav
Live Polls
@HivarekarPranav
Proof Of Concept
Get `poll_id` from any video
@HivarekarPranav
Proof Of Concept
Fire following request:
https://graph.facebook.com/<poll_id>?action=DEL
ETE_POLL&fields&access_token=<internal_app_ac
cess_token>&method=POST
This will delete the poll permanently.
@HivarekarPranav
Proof Of Concept
Poll got deleted!
@HivarekarPranav
Bounty – 1500$
@HivarekarPranav
Case Study 3
Delete Any Video From Facebook
@HivarekarPranav
Background Information
• Facebook Pages/User Profiles
• Video Comments
• GraphAPI – https://graph.facebook.com
@HivarekarPranav
Video Comments
@HivarekarPranav
Proof Of Concept
1] Create a comment on a page post via API
API call : Reference
(https://developers.facebook.com/docs/graph-
api/reference/object/comments/)
POST /<post id>/comments?message=test
@HivarekarPranav
Proof Of Concept
2] Edit the comment and attach a VIDEO of your choice via API
eg. We will delete videos from (https://www.facebook.com/Testyeah-
1580326912211117/?fref=ts)
Victim's video id : 1739331926310614
API call : (https://developers.facebook.com/docs/graph-
api/reference/v2.6/comment)
POST /<comment id>?attachment_id= 1739331926310614
@HivarekarPranav
Proof Of Concept
3] Delete the comment
API call :
(https://developers.facebook.com/docs/graph-
api/reference/v2.6/comment)
DELETE /<comment id>
@HivarekarPranav
Bounty – 15000$
@HivarekarPranav
Conclusion
To Be Successful At Bug Bounties Rely On
METHODOLOGIES!
@HivarekarPranav
@HivarekarPranav
To learn more about Pranav Hivarekar, please check:
Personal Blog : https://pranavhivarekar.in/
Facebook. : http://www.facebook.com/pranavhivarekar
Twitter : https://twitter.com/HivarekarPranav
Linkedin : https://linkedin.com/in/pranavhivarekar

More Related Content

Similar to How To Find High Impact Privilege Escalation Bugs - Pranav Hivarekar

Harness the Power of Webinars with Social — Justin Levy (Social Fresh WEST 2012)
Harness the Power of Webinars with Social — Justin Levy (Social Fresh WEST 2012)Harness the Power of Webinars with Social — Justin Levy (Social Fresh WEST 2012)
Harness the Power of Webinars with Social — Justin Levy (Social Fresh WEST 2012)
Social Fresh Conference
 
Overview of Social Platforms | Pacific New Media Course Taught By Wahine Media
Overview of Social Platforms | Pacific New Media Course Taught By Wahine MediaOverview of Social Platforms | Pacific New Media Course Taught By Wahine Media
Overview of Social Platforms | Pacific New Media Course Taught By Wahine Media
Wahine Media
 

Similar to How To Find High Impact Privilege Escalation Bugs - Pranav Hivarekar (20)

PEC Social Media Crash Course
PEC Social Media Crash CoursePEC Social Media Crash Course
PEC Social Media Crash Course
 
Harness the Power of Webinars with Social — Justin Levy (Social Fresh WEST 2012)
Harness the Power of Webinars with Social — Justin Levy (Social Fresh WEST 2012)Harness the Power of Webinars with Social — Justin Levy (Social Fresh WEST 2012)
Harness the Power of Webinars with Social — Justin Levy (Social Fresh WEST 2012)
 
How To Harness The Power Of Webinars
How To Harness The Power Of WebinarsHow To Harness The Power Of Webinars
How To Harness The Power Of Webinars
 
Advanced Facebook Marketing: The latest changes, best practice tips, tricks a...
Advanced Facebook Marketing: The latest changes, best practice tips, tricks a...Advanced Facebook Marketing: The latest changes, best practice tips, tricks a...
Advanced Facebook Marketing: The latest changes, best practice tips, tricks a...
 
Social Media Means Business
Social Media Means Business Social Media Means Business
Social Media Means Business
 
Leveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook AppsLeveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook Apps
 
Power Apps community call-June 2020
Power Apps community call-June 2020Power Apps community call-June 2020
Power Apps community call-June 2020
 
Inside Story: Scratching the Black Box - API
Inside Story: Scratching the Black Box - APIInside Story: Scratching the Black Box - API
Inside Story: Scratching the Black Box - API
 
OnlineTyari Case Study
OnlineTyari Case StudyOnlineTyari Case Study
OnlineTyari Case Study
 
Overview of Social Platforms | Pacific New Media Course Taught By Wahine Media
Overview of Social Platforms | Pacific New Media Course Taught By Wahine MediaOverview of Social Platforms | Pacific New Media Course Taught By Wahine Media
Overview of Social Platforms | Pacific New Media Course Taught By Wahine Media
 
The CUTGroup at Open Gov Hack Night
The CUTGroup at Open Gov Hack NightThe CUTGroup at Open Gov Hack Night
The CUTGroup at Open Gov Hack Night
 
How To Avoid Drowning in the Digital Data Stream: Techniques and Tools for Ef...
How To Avoid Drowning in the Digital Data Stream: Techniques and Tools for Ef...How To Avoid Drowning in the Digital Data Stream: Techniques and Tools for Ef...
How To Avoid Drowning in the Digital Data Stream: Techniques and Tools for Ef...
 
Drowning In Data? Analytics Tools for Public Relations Pros
Drowning In Data? Analytics Tools for Public Relations ProsDrowning In Data? Analytics Tools for Public Relations Pros
Drowning In Data? Analytics Tools for Public Relations Pros
 
The Social Marketer's 2014 Toolkit Webinar
The Social Marketer's 2014 Toolkit WebinarThe Social Marketer's 2014 Toolkit Webinar
The Social Marketer's 2014 Toolkit Webinar
 
Working With Facebook, Twitter, et al. - Social Media Camp
Working With Facebook, Twitter, et al. - Social Media CampWorking With Facebook, Twitter, et al. - Social Media Camp
Working With Facebook, Twitter, et al. - Social Media Camp
 
iCPA: A Social Media Overview For The CPA
iCPA: A Social Media Overview For The CPAiCPA: A Social Media Overview For The CPA
iCPA: A Social Media Overview For The CPA
 
Pinteresting
PinterestingPinteresting
Pinteresting
 
Number 1 on Product Hunt: How I Got Early Growth for My Mobile App
Number 1 on Product Hunt: How I Got Early Growth for My Mobile AppNumber 1 on Product Hunt: How I Got Early Growth for My Mobile App
Number 1 on Product Hunt: How I Got Early Growth for My Mobile App
 
CUTGroup Presentation for Social Enterprise Class at Northwestern University
CUTGroup Presentation for Social Enterprise Class at Northwestern UniversityCUTGroup Presentation for Social Enterprise Class at Northwestern University
CUTGroup Presentation for Social Enterprise Class at Northwestern University
 
CCPRO | Stepping Up Your Social Media Game | I Can Afford College
CCPRO | Stepping Up Your Social Media Game | I Can Afford CollegeCCPRO | Stepping Up Your Social Media Game | I Can Afford College
CCPRO | Stepping Up Your Social Media Game | I Can Afford College
 

Recently uploaded

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 

Recently uploaded (20)

A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 

How To Find High Impact Privilege Escalation Bugs - Pranav Hivarekar