SlideShare uma empresa Scribd logo
1 de 29
Baixar para ler offline
GITHUB DATA EXPOSURE
AND
ACCESSING BLOCKED DATA
USING
GRAPHQL SECURITY DESIGN FLAW
 Research by ShahriarYazdipour
 CCSE CONFERENCE 2020
 Technische Universität Ilmenau
 Feb 2020
1
AGENDA
• BACKGROUND STORY
• WHAT IS GRAPHQL
• RESEARCH PROCESS
• CONCLUSION
2
RESTRICTIONS IN IRAN
3
• GOV loves to make everything difficult
• US also loves to make things harder
BLOCKED BY IRAN GOVERNMENT
4
Facebook
YouTube
Twitter
Reddit
Telegram
Viber
Tumblr
Spotify
SoundCloud
Netflix
Flickr
WordPress
BBC
Voice of America
Al-Arabiya
Fox News
CBS News
Haaretz
Times of India
The Daily Mail
…
More than 300 site ofTop 500
https://gist.github.com/alibo/dfd7c258bcc44a0e8c9f7c5bfd3bd2c3
BLOCKED BY COMPANIES
5
Github
Gitlab
Google Cloud (KhanAcademy,…)
Google/Android Developers
Redhat Repositry
DockerHub
MySQL
Unreal Engine
Intel Download Center
Udemy/Pluralsight
eBay
TeamViewer
MongoDB
Upwork
Avast
GNU Repositories
…
https://gist.github.com/alibo/dfd7c258bcc44a0e8c9f7c5bfd3bd2c3
6
US TRADE LAW
• July 2019
• Restriction on
creating new
repository
• No Access to
previously created
repositories
Ref. https://techcrunch.com/2019/07/29/github-ban-sanctioned-countries/
FAST FORWARD
• November 2019
• GitHub Launches on
Mobile with iOS
Application
• Only Available for
Beta Testers
Ref https://winbuzzer.com/2019/11/14/github-launches-on-mobile-with-ios-application-xcxwbn/
NEW GITHUB APP
 Get it from Apple TestFlight
 First Publicly AvailableVersion -
Build 45
 Today – Build 81
 Very Basic Features
 Possible to see my blocked
repository 🎉🎉🎉
9
10
PROXY
11https://www.jorgealdana.pro/blog/seguridad/burp-proxy-aplicacion-de-seguridad-para-desarrolladores-de-android/
12
PROCESS
GRAPHQL
13
is a new API standard that provides a more
efficient, powerful and flexible alternative to
REST services.
It was developed and open-sourced by Facebook
and is now maintained by a large community of
companies and individuals from all over the
world.
http://graphql.org/
14https://blog.apollographql.com/how-do-i-graphql-2fcabfc94a01
GRAPHQL QUERIES
15
https://graphql.org/learn/queries/
GRAPHQL QUERIES
16
https://graphql.org/learn/queries/
17
https://nordicapis.com/10-graphql-consoles-in-action/
ANALYSIS TRAFFIC – REPOSITORY
18
ANALYSIS TRAFFIC – DIRECTORY
19
ANALYSIS TRAFFIC – DATA
20
ANALYSIS TRAFFIC – BINARY DATA
21
ANALYSIS TRAFFIC – BINARY DATA
22
• file() Method is not mentioned in Github GraphQL Documentation
• Does not work with DeveloperToken!
ANALYSIS TRAFFIC – BINARY DATA
23
CAN IT BE GENERALIZED?
MAKE A TOOL OUT OF IT?!
24
FAKE
AUTH
25
• We have the "client_id" and "code“ by sniffing
authentication process.
• Easily get the client_secret
FAKE
AUTH
26
CONCLUSION
Access Repository Information
Access Repository Directory
Access Repository Files
• Reported to Github SecurityTeam
• Category: api.github.com
• Severity: Low
• Weakness: Improper Access Control CWE-284
27
REFERENCE
28
• Github Documentations
• Burp-suite Documentations
• Facebook GraphQl Documentations
• Graphql Octokit Documentation
• OWASP Security Handbook
THANKYOU.
29
ShahriarYazdipour
github.com/yazdipour/presentations

Mais conteúdo relacionado

Semelhante a Github GraphQL Data Exposure

Semelhante a Github GraphQL Data Exposure (20)

curl - a hobby project that conquered the world
curl - a hobby project that conquered the worldcurl - a hobby project that conquered the world
curl - a hobby project that conquered the world
 
My Trip to Google I/O 2013
My Trip to Google I/O 2013My Trip to Google I/O 2013
My Trip to Google I/O 2013
 
5G and 100 years
5G and 100 years5G and 100 years
5G and 100 years
 
An indepth look at Google BigQuery Architecture by Felipe Hoffa of Google
An indepth look at Google BigQuery Architecture by Felipe Hoffa of GoogleAn indepth look at Google BigQuery Architecture by Felipe Hoffa of Google
An indepth look at Google BigQuery Architecture by Felipe Hoffa of Google
 
Xanadu for Big Data + IoT + Deep Learning + Cloud Integration Strategy (YouTu...
Xanadu for Big Data + IoT + Deep Learning + Cloud Integration Strategy (YouTu...Xanadu for Big Data + IoT + Deep Learning + Cloud Integration Strategy (YouTu...
Xanadu for Big Data + IoT + Deep Learning + Cloud Integration Strategy (YouTu...
 
20150423 Android Taipei : 祖克伯F8的奇幻之旅
20150423 Android Taipei : 祖克伯F8的奇幻之旅20150423 Android Taipei : 祖克伯F8的奇幻之旅
20150423 Android Taipei : 祖克伯F8的奇幻之旅
 
L&D : Looking to the future
L&D : Looking to the futureL&D : Looking to the future
L&D : Looking to the future
 
2022 APIsecure_Securing API Tokens on Github
2022 APIsecure_Securing API Tokens on Github2022 APIsecure_Securing API Tokens on Github
2022 APIsecure_Securing API Tokens on Github
 
Mobile DevOps pipeline using Google Flutter
Mobile DevOps pipeline using Google FlutterMobile DevOps pipeline using Google Flutter
Mobile DevOps pipeline using Google Flutter
 
APIs in production - we built it, can we fix it?
APIs in production - we built it, can we fix it?APIs in production - we built it, can we fix it?
APIs in production - we built it, can we fix it?
 
Drools and jBPM 6 Overview
Drools and jBPM 6 OverviewDrools and jBPM 6 Overview
Drools and jBPM 6 Overview
 
From Java Monoliths to K8s
From Java Monoliths to K8sFrom Java Monoliths to K8s
From Java Monoliths to K8s
 
From Monolith to K8s - Spring One 2020
From Monolith to K8s - Spring One 2020From Monolith to K8s - Spring One 2020
From Monolith to K8s - Spring One 2020
 
Google deployment manager
Google deployment managerGoogle deployment manager
Google deployment manager
 
Android Things Latest News / Aug 25, 2017
Android Things Latest News / Aug 25, 2017Android Things Latest News / Aug 25, 2017
Android Things Latest News / Aug 25, 2017
 
Wi-Fi Hotspot Attacks
Wi-Fi Hotspot AttacksWi-Fi Hotspot Attacks
Wi-Fi Hotspot Attacks
 
Immersed in the Web
Immersed in the WebImmersed in the Web
Immersed in the Web
 
Internet of Things (IoT) - in the cloud or rather on-premises?
Internet of Things (IoT) - in the cloud or rather on-premises?Internet of Things (IoT) - in the cloud or rather on-premises?
Internet of Things (IoT) - in the cloud or rather on-premises?
 
Iot cloud-or-onprem-170709204236
Iot cloud-or-onprem-170709204236Iot cloud-or-onprem-170709204236
Iot cloud-or-onprem-170709204236
 
Critical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and AnalyticsCritical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and Analytics
 

Último

VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Último (20)

Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 

Github GraphQL Data Exposure