Uploaded June 2024 | Updated November 2026, 3 hours ago
Get access to case studies - my analysis of real-world bug bounty reports for each bug class: study.bugbountyexplained.com 💻 Challenge yourself in 2024 justCTF online teaser: https://2024.justctf.team
Sponsored by:
HexRays - get 20% off for IDA pro training sessions with exclusive code BBRE20: https://bbre.dev/hexrays
Trail of Bits: cutt.ly/veucZatb
OtterSec: cutt.ly/leucL7cz
SECFORCE: cutt.ly/5eoKRyNL
✉️ Sign up for the mailing list: https://bbre.dev/nl
📣 Follow me on Twitter: https://bbre.dev/tw
This video is a writeup of my CTF task "phantom" from justCTF 2023 that involved a CSRF inspired by a $25,000 Oauth account takeover in GitHub and also involved an XSS due to invalid sanitisation.
GitHub's Report: blog.teddykatz.com/2019/11/05/github-oauth-bypass.html
Source code of my challenge: github.com/justcatthefish/justctf-2023/tree/main/challenges/web_phantom/private
(if you deploy it, make sure to do it with https because SameSite=None won't work without the Secure flag)
Timestamps:
00:00 Intro
00:37 CSRF protection bypass
04:29 HTML sanitisation bypass
Get access to case studies - my analysis of real-world bug bounty reports for each bug class: study.bugbountyexplained.com 💻 Challenge yourself in 2024 justCTF online teaser: https://2024.justctf.team
Sponsored by:
HexRays - get 20% off for IDA pro training sessions with exclusive code BBRE20: https://bbre.dev/hexrays
Trail of Bits: cutt.ly/veucZatb
OtterSec: cutt.ly/leucL7cz
SECFORCE: cutt.ly/5eoKRyNL
✉️ Sign up for the mailing list: https://bbre.dev/nl
📣 Follow me on Twitter: https://bbre.dev/tw
This video is a writeup of my CTF task "phantom" from justCTF 2023 that involved a CSRF inspired by a $25,000 Oauth account takeover in GitHub and also involved an XSS due to invalid sanitisation.
GitHub's Report: blog.teddykatz.com/2019/11/05/github-oauth-bypass.html
Source code of my challenge: github.com/justcatthefish/justctf-2023/tree/main/challenges/web_phantom/private
(if you deploy it, make sure to do it with https because SameSite=None won't work without the Secure flag)
Timestamps:
00:00 Intro
00:37 CSRF protection bypass
04:29 HTML sanitisation bypass










