Imagine we have this website.

image.png

now let’s try to search for admin panel.

image.png

notice that the admin panel is only accessable if there was dontwannacry user email.

now let’s try to register.

image.png

now let’s register.

image.png

as we see we have registeration link to confirm so we can’t really just register the account so let’s try to register a normal account.

image.png

now let’s see if we can create an account with large name.

image.png

what will happen here is like a buffer overflow we could make it name bigger could it overflow the email

so now let’s start the attack.

image.png

notice that we are getting 200 status code.

now let’s go and login.

image.png

notice that there is number of A displayed and the email is truncated.