Referrer Leakage from HTTPS to HTTPS
A password reset token was leaked in the HTTP Referer header when the user copied and pasted the reset link into the browser, because the token was in the URL and the page loaded an external resource over HTTPS. An attacker who controlled that external resource could see the token and potentially use it to reset the account, though the token was one-time use and the attack required social engineering.
From my recent bounty program participation, I failed to find any awesome bug for the whole bounty period. Requiring me to have an iOS9 to perform the full application test also one of the disadvantage as I don't own any Apple product :(
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
The reset token could be leaked to an external site, but the token was one-time use and exploitation required social engineering, so the program rated it low impact and marked it 'Won't Fix'.
What the attacker needed
Victim copies and pastes the reset link; external resource on the reset page; attacker controls that external resource
How it was found
- The user receives a password reset link containing a token.
- The user copies the link and pastes it into the browser instead of clicking it.
- The reset page loads an external resource, and the browser sends the Referer header containing the token to that external site.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you visit a website, your browser often sends a 'Referer' header to other sites it loads resources from, telling them where you came from. If the address of the page you came from contains a secret, like a password reset token, that secret can be leaked to the other site. Here, the secret was in the reset link, and the page loaded something from an external site, so the token was sent to that external site.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.