CSRF - Changing the full name / adding a secondary email identity of an account via a GET request
An account activation link issued to one user could be opened by another logged-in user, causing the attacker's email to be added as a secondary identity and the victim's full name to be changed. An attacker could therefore attach their own email to a victim's account and alter profile data.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 3 days
- Disclosed after 39 days
SUMMARY
Hello, I have found a CSRF request via the activation email that will change the full name of the targeted account. This vulnerability exists if the attacker registers a new account and then gives his activation link to someone else. If the victim uses the received activation link while he is logged in his account the attacker's email will be added as a secondary email and the main full name will be changed.
POC
I have attached the POC as a video where you can see all the steps.
IMPACT
Medium - high impact IMO. Changing the name may not be such a big deal, but adding a secondary email identity may turn into something more dangerous.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the activation endpoint performed state-changing actions based on a token alone, without checking that the request came from the account that requested it or requiring a CSRF defence.
Impact
The attacker could add their own email as a secondary identity on a victim's account and change the victim's full name, which may enable further account abuse.
What the attacker needed
Attacker can register an account; victim is logged in; victim opens the attacker's link
How it was found
- The attacker registers a new account and obtains the activation link.
- The attacker passes that activation link to the victim.
- The victim opens the link while logged in to their own account.
- The attacker's email is added as a secondary email and the victim's full name is changed.
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 report has not been written yet. The Original tab links to the source.
When you sign up, the site emails you a link to confirm your address. This report says that link was not tied to the person who requested it, so if someone else opened it while signed in to their own account, the site would quietly add the sender's email to their account and change their name. That matters because an extra email on an account can be a step towards taking it over.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.