SlideShare une entreprise Scribd logo
Réalisé par : Slim HAMMAMI
Module : Sécurité informatique
Année Universitaire: 2015 /2016
PLAN
Introduction
Consequences d’une attaque bassée sur CSRF
Démonstration
Correction de la solution
Présentation de la vulnérabilité CSRF
2
Introduction
Introduction
4
5
Introduction
6
Introduction
7
Présentation de la vulnérabilité
CSRF
 Un cross-site request forgery est une injection de requête(s)
illégitime(s) par rebond.
 Considérez n’importe quel individu pouvant tromper vos utilisateurs
en soumettant une requête à votre site. N’importe quel site ou autre
source HTML auxquels vos utilisateurs pourraient accéder.
Origine de la vulnérabilité
8
L’objet de l’attaque CSRF est de forcer des utilisateurs à exécuter une ou plusieurs
requêtes non désirées sur un site donné, forgées par un utilisateur malintentionné.
La victime choisie aura les privilèges nécessaires à l’exécution de la requête, voire
une session encore active.
Forger une requête reviens à créer / falsifier une requête HTTP (par le biais d’une
URL ou d’un formulaire principalement) pointant sur une action précise interne au
site et néfaste pour la victime.
Concrètement, une ressource vulnérable aux attaques CSRF est représentée par
toutes ressources disponibles directement ET sans étape intermédiaire (ex:
génération de clé/jeton d’autorisation d’accès) sur un SI.
Principe de la vulnérabilité
9
Principe de la vulnérabilité
10
Les attaquants peuvent créer des pages web malicieuses qui génèrent des requêtes
forgées, qui ne sont pas distinguables des légitimes. La détection des CSRF est
assez facile via un test de pénétration ou analyse de code.
Détection de la vulnérabilité
11
Les attaquants peuvent faire exécuter n’importe quelle type de fonctionnalité
présente dans le SI, à laquelle la victime aurait accès.
Impacts
12
PLAN
1313
Démonstration
14
Démonstration
http://www.monsite.tn/del.php?id=1
Supposons que cette url est utilisé pour la suppression d’un article
<a href=‘http://www.monsite.tn/del.php?id=1 ‘>
Consulter nos offres</a>
PLAN
1515
Correction de la solution
Comment se protéger
16
Comment se protéger
17
Comment se protéger
18
Génération jeton CSRF
http://www.monsite.tn/del.php?id=1&jeton=b6cf20590a57f4685c9bdc6c53d12ff8
b6cf20590a57f4685c9bdc6c53d12ff8
Merci pour votre
attention
20
Q&R ?

Contenu connexe

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Csrf

  • 1. Réalisé par : Slim HAMMAMI Module : Sécurité informatique Année Universitaire: 2015 /2016
  • 2. PLAN Introduction Consequences d’une attaque bassée sur CSRF Démonstration Correction de la solution Présentation de la vulnérabilité CSRF 2
  • 7. 7 Présentation de la vulnérabilité CSRF
  • 8.  Un cross-site request forgery est une injection de requête(s) illégitime(s) par rebond.  Considérez n’importe quel individu pouvant tromper vos utilisateurs en soumettant une requête à votre site. N’importe quel site ou autre source HTML auxquels vos utilisateurs pourraient accéder. Origine de la vulnérabilité 8
  • 9. L’objet de l’attaque CSRF est de forcer des utilisateurs à exécuter une ou plusieurs requêtes non désirées sur un site donné, forgées par un utilisateur malintentionné. La victime choisie aura les privilèges nécessaires à l’exécution de la requête, voire une session encore active. Forger une requête reviens à créer / falsifier une requête HTTP (par le biais d’une URL ou d’un formulaire principalement) pointant sur une action précise interne au site et néfaste pour la victime. Concrètement, une ressource vulnérable aux attaques CSRF est représentée par toutes ressources disponibles directement ET sans étape intermédiaire (ex: génération de clé/jeton d’autorisation d’accès) sur un SI. Principe de la vulnérabilité 9
  • 10. Principe de la vulnérabilité 10
  • 11. Les attaquants peuvent créer des pages web malicieuses qui génèrent des requêtes forgées, qui ne sont pas distinguables des légitimes. La détection des CSRF est assez facile via un test de pénétration ou analyse de code. Détection de la vulnérabilité 11
  • 12. Les attaquants peuvent faire exécuter n’importe quelle type de fonctionnalité présente dans le SI, à laquelle la victime aurait accès. Impacts 12
  • 14. 14 Démonstration http://www.monsite.tn/del.php?id=1 Supposons que cette url est utilisé pour la suppression d’un article <a href=‘http://www.monsite.tn/del.php?id=1 ‘> Consulter nos offres</a>
  • 18. Comment se protéger 18 Génération jeton CSRF http://www.monsite.tn/del.php?id=1&jeton=b6cf20590a57f4685c9bdc6c53d12ff8 b6cf20590a57f4685c9bdc6c53d12ff8

Notes de l'éditeur

  1. Le début du XXIe siècle est distingué par la prolifération et l’évolution rapide des réseaux ainsi que la multiplication des applications utilisées due à l’ouverture sur le réseau Internet. Il est tout aussi vrai que l’évènement de la virtualisation et du cloud a révolutionné l’infrastructure réseau .
  2. Ce pendant, cet évolution provoque une gamme croissante de risque pour la sécurité des réseaux et la protection des données. En effet ,des centaines d’attaques de plus en plus sophistiquées et destructrices naissent tous les jours. Ce qui rend ces réseaux vulnérables et constituent la préoccupation majeure.
  3. Parmis ces risques on trouve Les attaques de type cross-site request forgery (ou CSRF) qui sont mal connues et trop souvent non prises en compte par les développeurs de sites Internet