Skip to content
Account takeover Disclosed report Beginner

Change Any username and profile link in hackerone

The report claims that HackerOne support staff accept a spoofed email as proof of ownership when changing a username, so an attacker who knows a victim's email address could change their username and profile link. The attacker could then take credit for the victim's hall of fame and bounty history.

abuseing Follow

Originally disclosed on HackerOne

Bounty$100 View original
  • Fixed in 3 days
  • Paid in 5 days
  • Disclosed after 37 days

HI ,found a vulnerability by which anyone's username or profile link can be changed in hackerone Follow the Steps

1.contact [email protected] by your email [email protected] and ask your name from "abc" to "xyz" 2.You will get a reply saying " for confirmation can you say send an email from your email account associated with your username " ie. from [email protected] . 3reply ok and use a spoofing service made by you or a hacker to send spoofed emails example https://emkei.cz/ 4.know the victims email account and use it to send as senders email address to send a spoofed email saying change my username frm abc to xyz 5.it will be done by the support staff .

By knowing email of victim you can change anyone's username and profile link

i did this while ago with a help of my friends account with his permission. where i followed the similar steps to change the username from ssssss to kaviraj where i didnt use his email with his username registered to hackerone.

Just a spoofed senders email is enough!

countermeasure

You must validate the email header and must use a proper email service provider like gmail to filter these kind of emails as a countermeasure.

Impact

By this way anyone's username and profile link can be changed without any knowledge to the victim. the victims hall of fame page name and profile URL could be changed by the attacker as username is changed.So there will be no proof or value of the victims finds and bounty and hall of fame(incase if attacker changes the name and URL to his name .he can say all are his finds and hall of fame are credited to him) while the victim logs in he will be shocked to see his new name!

I hope you reply me and fix this issue

Thanks Anand

The original report as published on HackerOne, by abuseing. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

HackerOne is a bug bounty platform. Each account has a username, and that username is also the profile link and the name shown on the researcher's hall of fame page. Changing a username therefore changes the public identity attached to every report and bounty the account has earned.

This report describes a way to change another user's username and profile link without access to their account, by abusing the support process that handles username change requests. The researcher rated the weakness as privilege escalation and received a bounty of 100.00 USD. The report was disclosed on 2014-09-25.

Setup

The only precondition is knowing the email address of the victim, specifically the address associated with their HackerOne account. The researcher also needed a way to send email with a forged sender address, either a spoofing service they built themselves or an existing one. The report gives one example:

Text
https://emkei.cz/

The researcher tested the technique on a friend's account, with that friend's permission.

Finding it

The researcher found that support staff verify a username change request by asking the requester to send an email from the address associated with the account. That check relies on the From address of an incoming email. If the mail infrastructure does not validate the sender, anyone who knows the victim's email address can produce a message that appears to come from it.

Exploitation

Step 1: Open a change request

Contact support and ask for a username change, for example from abc to xyz, from your own email address. The report uses [redacted] as the requester's address.

Step 2: Receive the confirmation request

Support replies asking for confirmation, requesting an email from the address associated with the username. In the report's example that is the victim's address, [redacted].

Step 3: Agree and prepare a spoofed email

Reply to accept, then use a spoofing service to send an email whose sender address is the victim's. The report names https://emkei.cz/ as an example of such a service.

Step 4: Send the spoofed request

With the victim's email address known, send a spoofed email that appears to come from it, asking to change the username from abc to xyz.

Step 5: The change is applied

Support staff carry out the change. The researcher states plainly that a spoofed sender address is enough.

In the test on the friend's account, the researcher followed similar steps to change the username from ssssss to kaviraj, without using the email address registered to that username on HackerOne.

Root cause

The support workflow treats the From header of an email as proof of ownership of the address. That header is set by the sender and is not authenticated on its own. Without a check that ties the message to the claimed domain, such as sender authentication performed by the receiving mail service, a forged From address is accepted at face value. The report does not describe any technical control that was in place to stop this, so the exact defences that failed are not stated.

Impact

Anyone who knows a victim's email address can change that victim's username and profile link without the victim's knowledge. Because the username is the profile URL and the name on the hall of fame page, the attacker can take over the public identity attached to the victim's findings and bounties. The attacker could rename the profile to their own name and then claim the findings and hall of fame credit as their own, leaving the victim without proof or value for their work. The victim only notices when they log in and see the new name.

Fix

The report proposes two countermeasures: validate the email header, and use a proper email service provider, such as Gmail, to filter these kinds of emails. The report does not say which change, if any, was made.

Variants to test

  1. Account recovery and email change flows that ask the user to reply from a registered address. A positive result is a state change applied after a message with a forged From header.
  2. Support desks that confirm identity by email rather than through a link or a code. A positive result is a support agent acting on a spoofed request.
  3. Any workflow where the only proof of address ownership is the visible sender address. A positive result is acceptance of a message that fails sender authentication for the claimed domain.

Hunting notes

This kind of bug hides in manual support processes rather than in application endpoints: username changes, email changes, account merges and ownership disputes. The signal during recon is a confirmation step that asks the user to send email from a registered address instead of clicking a tokenised link or entering a code. To show impact, demonstrate the change on an account you control or one you have permission to use, as the researcher did with a friend's account, and show that the public profile URL and hall of fame name change as a result.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

What happened, in plain words

HackerOne is a website where security researchers report bugs to companies and can earn money (a "bounty") for useful reports. Every account on HackerOne has a username. That username is not just a label: it is also the address of the person's public profile page, and it is the name shown on the "hall of fame" page that lists a researcher's findings and bounties. So if someone else can change your username, they change the public identity attached to all your work.

This report describes a way to change another person's username, and therefore their profile link, without ever logging into their account. The trick does not attack the website's code directly. It attacks the human support process that handles requests to change a username. The researcher classified the weakness as privilege escalation, which simply means doing something you should not be allowed to do, and received a bounty of 100.00 USD. The report was made public on 2014-09-25.

To follow the rest of this article you only need to understand a few everyday ideas:

  • Email address: the online equivalent of a postal address. Anyone can write any address in the "from" corner of an envelope, and the postal service does not check it. Email works the same way unless extra checks are added.
  • Support desk: the team you contact when you need help with your account. They often confirm who you are before making changes.
  • Spoofing: pretending to be someone else. In email, it means sending a message that displays a sender address you do not own.

Setup

The only thing the attacker needs to know is the victim's email address, specifically the one registered on their HackerOne account. The attacker also needs a way to send email with a forged sender address. That can be a spoofing service they built themselves or an existing one. The report gives one example:

Text
https://emkei.cz/

The report gives this as an example of a spoofing service. Think of it as a printing shop that will print whatever name you like on the back of an envelope.

The researcher tested the technique on a friend's account, with that friend's permission. Testing on an account you are allowed to use is important: it proves the bug is real without harming a stranger.

Finding it

The researcher found how support staff confirm a username change request. Instead of sending a special link or a code, they ask the requester to send an email from the address associated with the account. That check relies only on the From address of the incoming email, which is the line in the message that says who sent it. If the mail system does not verify that the sender really owns that address, anyone who knows the victim's email address can produce a message that looks like it came from it.

Exploitation

Step 1: Open a change request

Contact support and ask for a username change, for example from abc to xyz, from your own email address. The report uses [redacted] as the requester's address. The reason for this step is to start a normal conversation with support, so that the confirmation question arrives.

Step 2: Receive the confirmation request

Support replies asking for confirmation, requesting an email from the address associated with the username. In the report's example that is the victim's address, [redacted]. This reply is the weak point: it tells the attacker exactly what proof support will accept.

Step 3: Agree and prepare a spoofed email

Reply to accept, then use a spoofing service to send an email whose sender address is the victim's. The report names https://emkei.cz/ as an example of such a service. The attacker is not guessing a password or breaking encryption; they are simply writing the victim's address in the sender field.

Step 4: Send the spoofed request

With the victim's email address known, send a spoofed email that appears to come from it, asking to change the username from abc to xyz. The message looks to support exactly like the confirmation they asked for.

Step 5: The change is applied

Support staff carry out the change. The researcher states plainly that a spoofed sender address is enough.

In the test on the friend's account, the researcher followed similar steps to change the username from ssssss to kaviraj, without using the email address registered to that username on HackerOne. The researcher says he did not use the email address registered to that username on HackerOne.

Root cause

The support workflow treats the From header of an email as proof that the sender owns that address. A header is a line of information at the top of an email, like the label on a parcel. The From header is written by whoever sends the message and is not authenticated on its own, so it can say anything. Without a check that ties the message to the claimed domain, such as sender authentication performed by the receiving mail service, a forged From address is accepted at face value. The report does not describe any technical control that was in place to stop this, so the exact defences that failed are not stated.

Impact

Anyone who knows a victim's email address can change that victim's username and profile link without the victim's knowledge. Because the username is the profile URL and the name on the hall of fame page, the attacker can take over the public identity attached to the victim's findings and bounties. The attacker could rename the profile to their own name and then claim the findings and hall of fame credit as their own, leaving the victim without proof or value for their work. The victim only notices when they log in and see the new name.

Fix

The report proposes two countermeasures: validate the email header, and use a proper email service provider, such as Gmail, to filter these kinds of emails. The report does not say which change, if any, was made.

Variants to test

  1. Account recovery and email change flows that ask the user to reply from a registered address. A positive result is a state change applied after a message with a forged From header.
  2. Support desks that confirm identity by email rather than through a link or a code. A positive result is a support agent acting on a spoofed request.
  3. Any workflow where the only proof of address ownership is the visible sender address. A positive result is acceptance of a message that fails sender authentication for the claimed domain.

Hunting notes

This kind of bug hides in manual support processes rather than in application endpoints: username changes, email changes, account merges and ownership disputes. The signal during recon is a confirmation step that asks the user to send email from a registered address instead of clicking a tokenised link or entering a code. To show impact, demonstrate the change on an account you control or one you have permission to use, as the researcher did with a friend's account, and show that the public profile URL and hall of fame name change as a result.

Glossary

  • Bounty: money paid to a researcher for a valid security report.
  • Bug bounty platform: a website where companies publish programs and researchers submit security reports.
  • Username: the short name that identifies an account, here also used as the profile link and the name on the hall of fame page.
  • Profile link: the web address of a user's public profile page, built from the username.
  • Hall of fame: a public page listing a researcher's findings and bounties.
  • Privilege escalation: doing something you should not be allowed to do, such as changing another person's account details.
  • Support desk: the team that handles account help requests.
  • Spoofing: pretending to be someone else, here by writing a sender address you do not own.
  • Spoofing service: a website or tool that sends email with a sender address chosen by the user.
  • From header: the line in an email that states who sent it; it is written by the sender and not verified by default.
  • Header: a line of metadata at the top of an email or web request.
  • Sender authentication: checks performed by mail systems to confirm that a message really comes from the domain it claims.
  • Endpoint: a specific address on a website or service that performs an action when contacted.
  • Recon: the research phase where you look at how a service works before trying anything.
  • Tokenised link: a link containing a unique secret string that proves the person clicking it controls the email address.
  • State change: a real modification to data, such as a username being altered.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.