Cross-Site Request Forgery (CSRF) Explained

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 74

  • @santiagotaboada4584
    @santiagotaboada4584 10 місяців тому +8

    Wow... This is amazing!!! I have been struggling trying to understand CSRF attacks. This video has helped a lot. Thank you Ben for these amazing videos.

  • @MFoster392
    @MFoster392 10 місяців тому +8

    Thanks as usual Ben, You're still da man bro :) I've been having some medical issues lately so I'm in the 10 possibly even15 week program but it's ok i could never work for you at this point in time anyways. I'm sure you wouldn't remember but last year about this time I commented on a video saying i was a 51yr old paraplegic who didn't know Linux, the terminal, heck i never even used a computer the only tech i new was my cell and how to email someone on it 🤷‍♂🤦‍♂. I seen one of your videos and thought i can learn bug bounty and make money from home because I'm stuck in a nursing home so i am going to teach myself so i can pay for help and get my own place. I'm proud to say I'm on my way since I'm teaching myself everything i gave 1.5 to 2 years where i can learn enough to make steady money to go with my SS check not a million dollar hacker like you but steady money and I'm proud to say I'm on track chugging along slow but steady :)

    • @NahamSec
      @NahamSec  10 місяців тому +4

      Hey! Best of luck and I hope you feel better! ❤️‍🩹

    • @mayavik1034
      @mayavik1034 10 місяців тому +3

      You are so inspiring, you should start a YT Channel, I bet it will go viral and will be another revenue stream. I will definitely subscribe.❤

  • @papafhill9126
    @papafhill9126 10 місяців тому +6

    The question of "so what" (1:52), or as I like to ask about nearly everything in life, "who cares?" If people care about the vulnerability then it gains severity. The more "destructive" you can pitch the vulnerability as the higher the severity and two low severity vulns could easily become a critical vuln if combo'd so don't just report low bugs, you are only screwing yourself over.

  • @Harsh-h2m9z
    @Harsh-h2m9z 12 днів тому

    really appreciate your work!! good explanation.

  • @MarkFoudy
    @MarkFoudy 10 місяців тому

    5WP and thanks for the content as always! Hope to meet you at Defcon

  • @sQbhAn
    @sQbhAn 10 місяців тому +1

    I started to watch all your 5w from xss ,and i have a question, where can i find my first vulnerability ,i know how does this vulnerability loo k like but i dont know where should i looking for them, mayby every web page i working with?

  • @vallerioalvaren
    @vallerioalvaren 10 місяців тому +1

    hallo ben thanks for making this video, I want to ask you how to execute csrf on graphql?

  • @vis2079
    @vis2079 10 місяців тому

    Thanks for video, 👍 but what happened to Q&A video on CSRF ....? it is marked as private.... Will it be available sooner?

  • @RealEyes24
    @RealEyes24 3 місяці тому

    I cannot reproduce what you are doing on notifications / email, I cannot change anything

  • @Fesssa
    @Fesssa 10 місяців тому

    Bro will you update you Bug Bounty Course on Udemy???

  • @bigbugbang-lr1sy
    @bigbugbang-lr1sy 10 місяців тому

    from 5wp. tnx a lot 'soltan' nahamsec

  • @DanMulvey
    @DanMulvey 10 місяців тому

    5WP - thanks for the video, time to go see how good coca-cola is at csrf protections!

  • @gk_eth
    @gk_eth 10 місяців тому +1

    Please explain how to approach web apps with json content-type in the case of csrf?

    • @mach1ne722
      @mach1ne722 10 місяців тому +5

      Once the content-type is application/json, browser will send the preflight OPTIONS request before forwarding the actual cross-site request. This mechanism might stop your actual request from being forwarded. If the applicaiton responds with Access-Control-Allow-Headers: Content-Type, then modified Content-Type will be allowed and the cross-site request will pass through. If the ACAH header is not allowing modified Content-Type, you can try to forcefully change it to one of the following: application/x-www-form-urlencoded, multipart/form-data or text/plain. If the application still accepts the request, you can abuse this by modifying the malicious form to include enctype=text/plain. There are some other ways to specify the Content-Type header, depends on what you use to generate cross-site request. If the application has sufficient protections against Content-Type header manipulation, you cannot abuse CSRF. Be also mindful that the ability to abuse the CSRF will also depend on if the application uses JWT token in the form of Authorization: bearer or if the session cookie is set as Lax, or Strict. This protections will also mitgate the CSRf risk.

  • @adhishrikothiyal.dreamz
    @adhishrikothiyal.dreamz 9 місяців тому

    I could not understand the part where you framed an HTML element using tag. I tried opening it and was unable to execute the action that I intended to. My second question isa if I were to delete any user info I would not have the access to the other user's account usually. How would I find the id value in that case.

    • @sanjaiKumar-.-
      @sanjaiKumar-.- 9 місяців тому +1

      You need to have 2 accounts. Now, try testing by altering the IDs and so on

    • @adhishrikothiyal.dreamz
      @adhishrikothiyal.dreamz 9 місяців тому

      @@sanjaiKumar-.- I did but wasn't still able to replicate it.

  • @GoliTech
    @GoliTech 10 місяців тому +1

    thanks a lot Naham.

  • @hiamealhilwa6684
    @hiamealhilwa6684 10 місяців тому

    I haven't found the first security vulnerabilities yet and I'm very disappointed😭

  • @madatch9947
    @madatch9947 10 місяців тому

    What is this caido that you are using? Is it better than burpsuite?

    • @adhishrikothiyal.dreamz
      @adhishrikothiyal.dreamz 9 місяців тому +1

      Ben is an advisor at Caido. Caido is security auditing tool. Not as good as burp but can replace burp in future.

  • @programmerbully2556
    @programmerbully2556 5 місяців тому +3

    I don’t understand . You talk and explain the concept so fast that i can’t even comprehend what is going on

  • @pyrexpimpin
    @pyrexpimpin 10 місяців тому

    5wp and thank you for eveerything you do

  • @tajsec
    @tajsec 10 місяців тому

    Let’s goooo🎉

  • @warnawarni5227
    @warnawarni5227 10 місяців тому +1

    is CSRF still alive now?

    • @gk_eth
      @gk_eth 10 місяців тому

      that's the question, lol

    • @mach1ne722
      @mach1ne722 10 місяців тому +2

      Not a bug bounty hunter, but a security researcher and pentester here. Not really sure how it is in bug bounties, but this vulnerability might be reported quickly, so you will need to be really advanced in this topic to find the "edge" cases and bypasses in certain situations. Just last week found open-redirect, missing samesite flag on the cookie + insufficient content-type validation chain in one of the core banking last week, so I would say that it very much is alive.

    • @itsm3dud39
      @itsm3dud39 10 місяців тому +4

      i found 5 csrf last december and got 250euro for each. csrf is still alive you have to complete all the portswigger labs to find different types of csrf

  • @harsh9343
    @harsh9343 10 місяців тому

    what is 5wp?

  • @cyberX553
    @cyberX553 4 місяці тому

    cloud hacking tutorial pls

  • @deedsenterprises
    @deedsenterprises 10 місяців тому

    5wp for the win!

  • @shohaghasan5641
    @shohaghasan5641 10 місяців тому

    Got a better overview from this.

  • @leghdaf
    @leghdaf 10 місяців тому

    \\alert('5WP')//; Thanks Nahamsec ...

  • @bugsecurity
    @bugsecurity 10 місяців тому +4

    alert('5WP');

  • @utkarshanand8369
    @utkarshanand8369 10 місяців тому

    5WP!!!!!!!!!!!!!

  • @rctech1237
    @rctech1237 10 місяців тому

    5wp❤❤❤

  • @ramseyibe2844
    @ramseyibe2844 10 місяців тому

    5WP 🎉

  • @rafaelgonzalez9793
    @rafaelgonzalez9793 10 місяців тому

    First

  • @ucheugbomah2228
    @ucheugbomah2228 10 місяців тому

    not late today

  • @chrisputt9205
    @chrisputt9205 10 місяців тому

    5WP !!!

  • @Gamer-zo2dm
    @Gamer-zo2dm 10 місяців тому

    Can't help to click 😂

  • @17hitchcockt
    @17hitchcockt 10 місяців тому

    5WP!

  • @badcops9105
    @badcops9105 10 місяців тому

    alert(5wp)

  • @BugHunter3009
    @BugHunter3009 10 місяців тому

    5WP

  • @nolongeravailable111
    @nolongeravailable111 10 місяців тому

    W

  • @jondo-vh8tx
    @jondo-vh8tx 8 місяців тому

    good content but you talk to fast

  • @victoriozuyev
    @victoriozuyev 10 місяців тому

    5WP! Thanks @NahamSec!

  • @challengeaccepted6382
    @challengeaccepted6382 10 місяців тому

    5WP

  • @roshanpokharel999
    @roshanpokharel999 10 місяців тому

    5wp

  • @ucheugbomah2228
    @ucheugbomah2228 10 місяців тому

    5wp

  • @mohammedaashique2893
    @mohammedaashique2893 10 місяців тому

    5WP Thank you soo much @NahamSec

  • @TheEinzzCookie
    @TheEinzzCookie 10 місяців тому +2

    First

  • @constantRic
    @constantRic 10 місяців тому

    5WP!!

  • @diy_tech_genius
    @diy_tech_genius 10 місяців тому

    5wp

  • @iljabrudel6224
    @iljabrudel6224 10 місяців тому

    5WP

  • @user-ew5vj1sl1u
    @user-ew5vj1sl1u 10 місяців тому

    5wp

  • @ishowmonkey5918
    @ishowmonkey5918 10 місяців тому

    first

  • @tthtlc
    @tthtlc 2 місяці тому

    5wp

  • @namanyadav5668
    @namanyadav5668 10 місяців тому

    5WP

  • @lovelivinglife904
    @lovelivinglife904 10 місяців тому

    5wp

  • @BackF0x
    @BackF0x 10 місяців тому

    5wp

  • @GhostNongs
    @GhostNongs 10 місяців тому

    5wp

  • @markfuentes3666
    @markfuentes3666 10 місяців тому

    5wp

  • @rafaelgonzalez9793
    @rafaelgonzalez9793 10 місяців тому

    5wp

  • @646U
    @646U 10 місяців тому

    5wp

  • @bild96
    @bild96 10 місяців тому

    5wp