How was I able to disclose users' email addresses at a Russian company?
I was hunting on a bug bounty program for a Russian company whose platform was designed to help users analyze reviews and other data. I started testing the invitation functionality. At first, everything seemed to work as expected. You enter the email address of the user you want to invite, select their role, and send the invitation. However, what caught my attention was the request being sent in this format: POST /v1/user/add-role?userid=2345 As you probably expected, that userid immediately caught my attention. I suspected that the application was somehow resolving the user's email address to their internal user ID. So I changed the userid to several other IDs, and surprisingly, the server
…