CSRF - Lab #2 CSRF where token validation depends on request method | Short Version

In this video, we cover Lab #2 in the CSRF module of the Web Security Academy. This lab's email change functionality is vulnerable to CSRF. It attempts to block CSRF attacks, but only applies defenses to certain types of requests. To solve the lab, we craft some HTML that uses a CSRF attack to change the viewer's email address and upload it to to our exploit server. ▬ ✨ Support Me ✨ ▬▬▬▬▬▬▬▬▬▬ Buy my course: https://academy.ranakhalil.com/p/web-... ▬ 🔗 Links 🔗 ▬▬▬▬▬▬▬▬▬▬ CSRF Lab #2 long video:    • CSRF - Lab #2 CSRF where token validation ...   Notes.txt document:https://github.com/rkhal101/Web-Secur... CSRF Lab #1 (previous video):    • CSRF - Lab #1 CSRF vulnerability with no d...   CSRF theory video:    • Cross-Site Request Forgery (CSRF) | Comple...   Web Security Academy Youtube Video Series Release Schedule: https://docs.google.com/spreadsheets/... Web Security Academy: https://portswigger.net/web-security/... Rana's Twitter account:   / rana__khalil