Skip to content
Account takeover Write-up Intermediate

Account takeover through register functionnality

The registration function accepted an email address with a trailing encoded hash character, allowing an attacker to create a second account using the same email as an existing user but with a different password. This let the attacker take over the victim's account without knowing the original password.

izn0u Follow

Published on web.archive.org

In this post i’m going to share a vulnerability i found on several target using java.

izn0u, on web.archive.org

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

An attacker could take over any account on the website without knowing the password, gaining full access to the victim's account and associated data.

What the attacker needed

Victim has an account; attacker knows victim's email; ability to intercept and modify registration request

How it was found

  1. Create an account with the victim's email address.
  2. In another browser session, go to the registration page and submit the same email with an encoded hash character appended, using a different password.

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 sign up, the site should treat each email address as unique. Here, the site failed to normalise the email properly, so adding a special character at the end made it look like a new email even though it belonged to someone else. The attacker could then log in as the victim because the site linked the new account to the same email.

What is Account takeover?

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

More by izn0u

View all

1 more disclosed report, best first.

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.