Turning unexploitable XSS into an account takeover with Matan Berson

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 46

  • @AppSecExplained
    @AppSecExplained 2 месяца назад +17

    Nice, I had to listen through some sections a couple of times to really get my head around what was going on but def an interesting technique - thanks for sharing

  • @ebrahimesmaeilian
    @ebrahimesmaeilian 2 месяца назад +2

    i watched it literally more that 20 times to understand it and the interesting thing is now that i got it i know it worth knowing it if it takes 100 times or even more to understand it.

  • @Aftab700
    @Aftab700 2 месяца назад +2

    Cool, that’s a really interesting technique! Thanks for sharing.

  • @bigboycdznutz2079
    @bigboycdznutz2079 2 месяца назад +11

    So the attack requires the vulnerable web app to be
    1. Vulnerable to CSRF
    2. To also have the Self XSS
    If so, that is awesome

    • @dmitryi3761
      @dmitryi3761 2 месяца назад

      Yeah and the backend should completely ignore the amount of injectable arbitrary code to trigger such complex self-xss.
      Might be easier to just setup a i.e. BeEF hook.

    • @BugBountyReportsExplained
      @BugBountyReportsExplained  2 месяца назад +2

      When you're at the level Matan is at, that how you stand out from other hackers - you're able to exploit edge cases others can't.

    • @msalih
      @msalih 2 месяца назад

      Only login csrf is enough If I understand

  • @null4624
    @null4624 2 месяца назад +1

    So clever. Thanks for sharing

  • @cyphear02
    @cyphear02 2 месяца назад +2

    Clever! Just a small note: The techniques in this video implies that the payload is stored. Please feel free to correct me if I'm wrong on that.

    • @BugBountyReportsExplained
      @BugBountyReportsExplained  2 месяца назад +3

      Yes, if your payload is reflected from the URL, you don't need the victim to be logged in to your account

    • @InfoSecIntel
      @InfoSecIntel 2 месяца назад +1

      Yeah self xss is usually stored. This bug seems like it has a few requirements but still I'm going to search for a writeup when Im done watching for sure

    • @cyphear02
      @cyphear02 2 месяца назад

      @@BugBountyReportsExplained Yes, there is also the case where it's dom based self-xss (not reflected DOM-based). So basically you input something in the page and it executes (self-XSS), but it doesn't get stored for other users. This is pretty rare, but the self-XSS case I recently ran into, and that I had in mind when I started watching this video. I can provide an example if I didn't explain that well. Great content. Cheers!

  • @domenicogigante4095
    @domenicogigante4095 2 месяца назад +1

    Once the victim is logged into his own account and gets redirected to the XSS page (but where the session cookie is fixed with the attacker cookie and not the victim one), how can the self-XSS be escalated to a normal XSS in the victim context? I mean, the cookie that can be exfiltrated from that page is the attacker cookie

    • @BugBountyReportsExplained
      @BugBountyReportsExplained  2 месяца назад +3

      Your barely ever exploit an xss by stealing session cookie because it's usually HttpOnly. But you can still read data and send requests as the victim

    • @domenicogigante4095
      @domenicogigante4095 2 месяца назад

      @@BugBountyReportsExplained ok now that's clear, thanks!

  • @markusjohansson4949
    @markusjohansson4949 2 месяца назад

    You can log in the victim as the attacker from a subdomain by setting a cookie scoped to the target domain and path. Just need an xss on a subdomain.

    • @MtnBer
      @MtnBer Месяц назад +1

      Yes, and in that case you can also skip a lot steps in the attack by just setting the attacker’s session cookies with a specific path using your XSS

  • @trustedsecurity6039
    @trustedsecurity6039 2 месяца назад +4

    I didnt finished the video (1/3 of it rn) but the first technique with windows.open and CSRF login is the same as bitK technique with to turn self XSS in normal XSS 🤔

    • @trustedsecurity6039
      @trustedsecurity6039 2 месяца назад

      It is different and more complex than bitK technique but that's unecessary complex.
      Dont get me wrong, this is an awesome technique and this young man has just a crazy skill, better than most of hackers out there. Thank you for sharing this technique!!!

    • @BugBountyReportsExplained
      @BugBountyReportsExplained  2 месяца назад +3

      In 1/3 of the video, we're talking about the conventional way to exploit self-XSS which only affects confidentiality and not integrity plus you have to be on the same origin. With this technique, you can also affect integrity plus you only need to be on the same site, not same origin which means you can also exploit exotic subdomains without needing CORS.

    • @trustedsecurity6039
      @trustedsecurity6039 2 месяца назад

      @@BugBountyReportsExplained Yeah, you're right!! I just watched the second part, and I had to play it a second time to fully grasp the concept and its impact!

  • @forxstsombodi3043
    @forxstsombodi3043 2 месяца назад

    Thanks for sharing.

  • @m0zA369
    @m0zA369 2 месяца назад +2

    you should do a video of the techniques to exploit self xss
    because i have a lot of P5 self xss

    • @N4G_Arthur
      @N4G_Arthur 2 месяца назад +1

      I think if you have a csrf there you can inject it to the victim acc

    • @m0zA369
      @m0zA369 2 месяца назад

      @@N4G_Arthur do you have any video or blog post explain that

    • @BugBountyReportsExplained
      @BugBountyReportsExplained  2 месяца назад +3

      reach out to Matan or me and we'll see what we can do

    • @vijaysah974
      @vijaysah974 2 месяца назад

      Plz Make a practical video😊​@@BugBountyReportsExplained

    • @trustedsecurity6039
      @trustedsecurity6039 2 месяца назад

      @@m0zA369 lol that's literally what this video is about ^^

  • @nopnopnopnopnopnopnop
    @nopnopnopnopnopnopnop 2 месяца назад

    Could you please link an article that explains the co conventional self-xss exploitation method you explained? I didn't quite understand how you interact with the victim's user after logging in to the attacker's user. I read through a medium article trying to understand it, but your explanation seems to be different from the article.

    • @BugBountyReportsExplained
      @BugBountyReportsExplained  2 месяца назад

      I described it some time ago on BBRE Premium: members.bugbountyexplained.com/little-known-technique-to-exploit-self-xss-with-a-serious-impact/

  • @aniketakhade4452
    @aniketakhade4452 2 месяца назад

    Will you make any lab for this bug? I'm trying to figure out how i can make the lab. Still at some point I'm getting confused in these scenarios. mostly 2nd one looks interesting and i want to make lab for that.

    • @BugBountyReportsExplained
      @BugBountyReportsExplained  2 месяца назад

      I'm not planning to. It's a client-side attack so you can fairly easily play with it in DevTools

  • @CyberSecHemmars
    @CyberSecHemmars 2 месяца назад

    Deep down, I know the guy is good; but as a beginner i barely understand the logic here. Looking forward to upping my bug bounty game.

  • @yesireact
    @yesireact 2 месяца назад +2

    which country he is from ?

  • @BugBountyReportsExplained
    @BugBountyReportsExplained  2 месяца назад +1

    Remember that from 1st September, the price of BBRE Premium will go up to $128/year. As usual, every existing member will stay on their current price so if you subscribe before the price rise, you will lock that $99/year forever. To subscribe, go to bbre.dev/premium

  • @GodlyTank
    @GodlyTank 2 месяца назад

    Awesome 😎

  • @dhyeychoksi5178
    @dhyeychoksi5178 2 месяца назад

    Crazy!

  • @TheYasserEzzat
    @TheYasserEzzat 2 месяца назад

    Genius, He thinks like a hacker with 16 years experience, He must focus on browsers hacking .

  • @BubaCuba
    @BubaCuba 2 месяца назад

    Please Do 1 hour podcast with him like you do with other guys.

  • @Kdaddyis
    @Kdaddyis 2 месяца назад

    U look like agent 47😅