How I managed to take over any account visits my profile with Stored XSS

Reconnaissance

The target is only one single domain and its API subdomain let’s call them target.com and api.target.com , so simply when I do a pen-test for any target I test every input field manually and check the response and reflection to check the possibility of any XSS. The site has a lot of input functions I tested all of them and after checking all input fields I got nothing except one Input, its reflection was weird.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mahmoud Youssef

Mahmoud Youssef

Cyber Security Researcher | Bug Hunter