Back to Browse

Performing CSRF Exploits Over GraphQL

5.5K views
May 13, 2024
10:36

πŸ‘©β€πŸŽ“πŸ‘¨β€πŸŽ“ Learn about GraphQL API vulnerabilities! The user management functions for this lab are powered by a GraphQL endpoint. The endpoint accepts requests with a content-type of 'x-www-form-urlencoded' and is therefore vulnerable to cross-site request forgery (CSRF) attacks. To solve the lab, we must craft some HTML that uses a CSRF attack to change the viewer's email address, then upload it to your exploit server. If you're struggling with the concepts covered in this lab, please review https://portswigger.net/web-security/graphql 🧠 πŸ”— @PortSwiggerTV challenge: https://portswigger.net/web-security/graphql/lab-graphql-csrf-via-graphql-api πŸ§‘πŸ’» Sign up and start hacking right now - https://go.intigriti.com/register πŸ‘Ύ Join our Discord - https://go.intigriti.com/discord πŸŽ™οΈ This show is hosted by https://twitter.com/_CryptoCat ( @_CryptoCat ) & https://twitter.com/intigriti πŸ‘• Do you want some Intigriti Swag? Check out https://swag.intigriti.com Overview: 0:00 Intro 0:26 GraphQL CSRF 1:44 Lab: Performing CSRF exploits over GraphQL 2:15 Explore site functionality 2:41 Review GraphQL-related JavaScript 3:24 Introspection (and visualisation) 4:11 Prepare exploit 6:33 Repeat finalised exploit against victim 7:54 Preventing GraphQL attacks 8:52 Preventing GraphQL brute-force attacks 10:04 Conclusion

Download

1 formats

Video Formats

360pmp420.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Performing CSRF Exploits Over GraphQL | NatokHD