Hi Team,
Summary:
As mentioned in the subject/title that reset token leaks to a third party, and I am not that third party. Logs from third parties can be seen by anyone, including maybe hackers who managed to find loopholes / vulnerabilities in these third parties. Not only that, maybe every account that has access to view google analytics on the gmail company account can also get the request that contains the token. I know that this is not critical and could be critical if I can see the tokens of the users, but still it is a vulnerability due to the user tokens being leaked to third parties. This leak often occurs in the GET/POST method either directly or via a referrer request. It's OK to use GET/POST methods if filters are enforced, like the reference I gave
Steps To Reproduce:
Step 1 - Go to https://magma.com/
Step 2 - Enter Your Email And Click Reset Password
Step 3 - Open Email & Click on Reset Password Link
Step 4 - On Password Reset Page, Click The Link Given Below And Capture The Request Using Burp Suite
Step 5 - You Can Observe Full Password Reset Link Exposed to Third Party Sites
Poc: Images Uploaded
Reference bug, this valid:
Impact
As you can see in the image, the reset token is leaking to a third party site. It allows people who have control over certain sites to change user passwords
Important addition:
What you must know is that the third party Google Analytics is not a trusted third party like the reference I gave, if the third party is google.com or google.co.id it is trusted.
Best Regards

Photo Viewer

View photos in a modal