Vine - overwrite account associated with email via android application
The Vine Android signup flow treated email addresses as case-sensitive when creating accounts, so a second account could be registered using the same email with different capitalisation. This overwrote the password tied to that email, locking the original user out of their own account while the attacker logged into a separate new account.
- Triaged in 3 days
- Fixed in 6 months
- Paid in 15 days
- Disclosed after 6 months
Summary by the program
A logic issue in the Vine signup flow allowed a user to create a new account that would be associated with a user’s email, which could result in the user being unable to access their original account.
The report
Hi,
It's possible to deny any user from logging in to his account by overwriting the password associated with his email. This is not an account takeover because while we do override the password associated with that specific mail we just login to a "new" account and not the user's original one.
Steps to reproduce:
- Create first account via Vine for android with the mail [email protected] with the password Bla123
- You can now see that you can login to the account created above.
- Go and create another account - this time with a different password and with the mail [email protected] - notice the CAPS (you can put the caps everywhere on the mail).
- Finish the creation process - and see that it succeeds
- Now go back and try to login with [email protected] and the password Bla123 and see that you can't. However, it's possible to login with [email protected] and the second password you have created - but you"ll login to the second created account.
Context
Vine was a short-form video service, and this report concerns its account signup and login flow as reached through the Vine Android application. Normally an email address identifies exactly one account: you sign up with an address, set a password, and later log in with that same pair to reach the account you created. The report describes a logic flaw in that flow where the association between an email address and an account could be overwritten by signing up again with the same address written in a different letter case.
The program's own summary frames the issue as follows: a logic issue in the Vine signup flow allowed a user to create a new account that would be associated with a user's email, which could result in the user being unable to access their original account.
Setup
To reproduce the issue you need the Vine Android application and two email addresses, or rather one address used twice with different capitalisation. The researcher uses [redacted] for the first account and [redacted] for the second, with the password Bla123 on the first account and a different password on the second. No other tooling, intercepting proxy or modified client is mentioned; the whole flow is performed through the app's normal signup and login screens.
Finding it
The observed behaviour suggests the signup flow accepted the same mailbox written in a different letter case as a new address. A second signup with the same mailbox in different case was accepted, and that second signup took over the email association the first account relied on for login.
The researcher is explicit about the limits of the bug: this is not an account takeover. The password that gets overridden is the one associated with that specific email, but logging in afterwards lands you in a "new" account, not in the victim's original one. The effect is denial of access to the original account rather than access to it.
Exploitation
Step 1: create the first account
Create the first account through Vine for Android using the address [redacted] and the password Bla123.
Step 2: confirm normal login
Log in with the credentials just created to confirm that the account works as expected.
Step 3: create a second account with the same mailbox in different case
Start a second signup, this time with a different password and with the address [redacted]. The only difference from the first address is the capital F. The researcher notes that the capital letters can be placed anywhere in the address, not just at the start.
Step 4: finish the signup
Complete the account creation process. It succeeds, even though the mailbox is the same one already tied to the first account.
Step 5: observe the effect on the original account
Go back and try to log in with [redacted] and the original password Bla123. That login no longer works. Logging in with [redacted] and the password chosen during the second signup does work, but it lands in the second, newly created account rather than the original one.
In other words, the second signup replaced the password associated with that email address, and the original account is left reachable only through whatever other means it may have, which the report does not discuss.
Root cause
The signup flow appears to accept a case variant of an already registered address, while login with that address afterwards reaches the second account. The uniqueness check and the authentication lookup therefore disagree about what counts as the same email. The report does not include any code, so the exact location of the mistake is not shown; the description above is what the observed behaviour implies.
Impact
A user who knows an email address can register a new Vine account using that address in a different letter case. The victim can then no longer log in with their original email and password, because the password associated with that address has been replaced. The victim is denied access to their original account.
The researcher is careful to state that this is not an account takeover: the attacker gains only the new account they created, not the victim's original one, and the report does not describe any way to reach the victim's content or data through this bug. The program rated the issue medium severity and awarded a bounty of 280.00 USD.
Fix
The report does not describe the fix that was applied. The change the behaviour calls for is to normalise email addresses, for example by lowercasing them, before both the uniqueness check at signup and the account lookup at login, so that the two paths agree on which addresses are the same. Alternatively, the signup flow should refuse a registration whose address matches an existing one under case-insensitive comparison, or require proof of control of the mailbox before reassigning it.
Variants to test
- Case variation on other signup flows. Register with
[redacted], then attempt a second registration with[redacted],[redacted]and so on. A positive result is a successful second registration that later changes which account the address logs into. - Other normalisation gaps. Try addresses that differ only by characters the mail provider ignores, such as dots in the local part on providers that treat them as equivalent, or a plus-tag suffix. A positive result is the same overwrite of the email association.
- Unicode and whitespace. Try addresses with trailing or leading whitespace, or with lookalike Unicode characters in the local part. A positive result is a second registration accepted for what the backend treats as the same mailbox.
- Password reset interaction. After the overwrite, check whether the password reset flow for the original address now targets the new account. A positive result is a reset that lands in the attacker-created account.
- Cross-channel consistency. Repeat the case variation across the mobile app, the web signup and any API endpoint used by either. A positive result is one channel accepting the duplicate while another treats the address as taken.
Hunting notes
This kind of bug hides in the seam between two pieces of code that each decide what an email address is: the registration uniqueness check and the login lookup. During recon, the signal is a product with several signup surfaces (mobile app, web, API) where you can compare how each one responds to the same address in different case. If one surface accepts a duplicate that another rejects, the normalisation is inconsistent and worth pushing further.
The sequence is concrete and repeatable: a working login, a second signup with a case variant, then a failed login on the original credentials followed by a successful login into the new account.
What happened, in plain words
Vine was a service where people posted very short videos. To use it you needed an account, and an account was created with an email address and a password. Normally one email address belongs to exactly one account: you sign up with an address, choose a password, and later you type the same address and password to get back into the account you made.
This report describes a mistake in that signup and login process. If someone signed up a second time using the same email address but with a different capital letter in it, the signup was accepted. That second signup then took over the link between the email address and the account. The person who owned the original account could no longer log in with their old password.
The program's own summary of the issue is this: a logic issue in the Vine signup flow allowed a user to create a new account that would be associated with a user's email, which could result in the user being unable to access their original account.
A few words before we start, because they come up constantly:
- An email address has two parts split by the
@sign. The part before it is the local part (herefirstaccountmail), the part after it is the domain (heregmail.com). - Case means upper or lower case letters.
aandAare the same letter in different case. - Case-sensitive means a computer treats
aandAas different characters. Case-insensitive means it treats them as the same. - A logic flaw (or logic issue) is a bug where the program does exactly what its code says, but the code's reasoning about the world is wrong. Nothing crashes; the rules are simply applied inconsistently.
- Authentication is the process of proving who you are, usually with an email address and password. Authorisation is what you are then allowed to do. This bug is about authentication.
Context
Vine was a short-form video service, and this report concerns its account signup and login flow as reached through the Vine Android application. Normally an email address identifies exactly one account: you sign up with an address, set a password, and later log in with that same pair to reach the account you created. The report describes a logic flaw in that flow where the association between an email address and an account could be overwritten by signing up again with the same address written in a different letter case.
Think of it like a cloakroom. You hand over your coat and get a ticket with a number on it. Later you show the ticket and get your coat back. The cloakroom's whole job depends on one ticket number pointing at one coat. If the attendant treated ticket 123 and ticket 123 written in a different handwriting as two separate tickets, two people could end up holding tickets that both claim the same coat, and only one of them would get it back.
Setup
To reproduce the issue you need the Vine Android application and two email addresses, or rather one address used twice with different capitalisation. The researcher uses [redacted] for the first account and [redacted] for the second, with the password Bla123 on the first account and a different password on the second. No other tooling, intercepting proxy or modified client is mentioned; the whole flow is performed through the app's normal signup and login screens.
That last point matters for a beginner. Many security tests involve special software that sits between your phone and the internet and lets you read and change the traffic. This report needs none of that. Everything is done by tapping through the ordinary screens of the app, exactly as a normal user would. The bug is in how the service reasons, not in anything hidden.
Finding it
The observed behaviour suggests the signup flow accepted the same mailbox written in a different letter case as a new address. A second signup with the same mailbox in different case was accepted, and that second signup took over the email association the first account relied on for login.
Here is the heart of it. When you sign up, the service has to answer one question: is this email address already taken? To answer, it compares the address you typed against the addresses already on file. If that comparison were case-sensitive, [redacted] and [redacted] would look like two different strings of characters, and the answer would be "not taken".
But when you log in, the service has to answer a different question: which account does this email address belong to, and does the password match? The login with the address and the second password reached the second account. The two parts of the system disagree about what counts as the same email address, and that disagreement is the bug.
The researcher is explicit about the limits of the bug: this is not an account takeover. The password that gets overridden is the one associated with that specific email, but logging in afterwards lands you in a "new" account, not in the victim's original one. The effect is denial of access to the original account rather than access to it.
This distinction is worth pausing on, because beginners often assume any login-related bug means someone else can read your data. An account takeover means an attacker gains control of your account and can see and do everything you can. Here the attacker only gets the fresh, empty account they created themselves. What they achieve is that you can no longer get in. That is a denial of access, a different and generally less severe kind of harm.
Exploitation
Step 1: create the first account
Create the first account through Vine for Android using the address [redacted] and the password Bla123.
This is the ordinary, honest starting point. You are playing the role of the victim: a normal person who signs up once, with one address and one password. The password Bla123 is just a made-up example used for the test.
Step 2: confirm normal login
Log in with the credentials just created to confirm that the account works as expected.
Why bother? Because before you can show that something breaks, you have to show that it worked in the first place. If you skipped this and the login failed later, you would not know whether the bug caused it or whether the account was broken from the start. This step gives you a baseline to compare against.
Step 3: create a second account with the same mailbox in different case
Start a second signup, this time with a different password and with the address [redacted]. The only difference from the first address is the capital F. The researcher notes that the capital letters can be placed anywhere in the address, not just at the start.
So [redacted], [redacted] and [redacted] are all variations of the same idea. The point is not the specific letter; the point is that the service fails to notice these are the same mailbox. A different password is used deliberately, so that later you can tell which password the service is honouring.
Step 4: finish the signup
Complete the account creation process. It succeeds, even though the mailbox is the same one already tied to the first account.
This is the moment the bug shows itself. A correct service would say "this address is already registered" and stop. This one accepts the registration. From the app's point of view nothing unusual happened: it was a complete, valid signup.
Step 5: observe the effect on the original account
Go back and try to log in with [redacted] and the original password Bla123. That login no longer works. Logging in with [redacted] and the password chosen during the second signup does work, but it lands in the second, newly created account rather than the original one.
Read that carefully, because it is the whole finding in one sentence. The old password is dead. The new password works, but it opens the new account, not the old one. The email address now points at the second account, and the first account has effectively lost its front door.
In other words, the second signup replaced the password associated with that email address, and the original account is left reachable only through whatever other means it may have, which the report does not discuss.
Root cause
The signup flow appears to accept a case variant of an already registered address, while login with that address afterwards reaches the second account. The uniqueness check and the authentication lookup therefore disagree about what counts as the same email. The report does not include any code, so the exact location of the mistake is not shown; the description above is what the observed behaviour implies.
"Root cause" simply means the underlying reason the bug exists, as opposed to the visible symptom. The symptom is "I cannot log in". The root cause is "two pieces of code define 'same email address' differently".
A useful comparison is a library with two clerks. One clerk files new memberships and checks names letter by letter, so Anna and anna are two different people to her. The other clerk handles the front desk and looks people up by name ignoring case, so Anna and anna are one person to him. The first clerk happily issues a second membership card. The second clerk then hands that new card's holder the file that used to belong to the first Anna. Neither clerk did anything their instructions forbade; the instructions just do not match.
Impact
A user who knows an email address can register a new Vine account using that address in a different letter case. The victim can then no longer log in with their original email and password, because the password associated with that address has been replaced. The victim is denied access to their original account.
The researcher is careful to state that this is not an account takeover: the attacker gains only the new account they created, not the victim's original one, and the report does not describe any way to reach the victim's content or data through this bug. The program rated the issue medium severity and awarded a bounty of 280.00 USD.
Severity is a rough rating of how bad a bug is, usually low, medium, high or critical. Medium fits here: real users can be locked out, but nobody's private videos or data are exposed. A bounty is money a company pays a researcher for reporting a bug responsibly instead of exploiting it.
Fix
The report does not describe the fix that was applied. The change the behaviour calls for is to normalise email addresses, for example by lowercasing them, before both the uniqueness check at signup and the account lookup at login, so that the two paths agree on which addresses are the same. Alternatively, the signup flow should refuse a registration whose address matches an existing one under case-insensitive comparison, or require proof of control of the mailbox before reassigning it.
Normalising means converting data into one standard form before comparing it. If every address is turned into lowercase the moment it arrives, then [redacted] and [redacted] both become [redacted], and the two clerks from our library now agree. The key word is both: normalising in only one place leaves the same gap.
Variants to test
Once you understand a bug like this, the natural next question is where else the same idea might work. These are the directions the report suggests.
- Case variation on other signup flows. Register with
[redacted], then attempt a second registration with[redacted],[redacted]and so on. A positive result is a successful second registration that later changes which account the address logs into. - Other normalisation gaps. Try addresses that differ only by characters the mail provider ignores, such as dots in the local part on providers that treat them as equivalent, or a plus-tag suffix. A positive result is the same overwrite of the email association.
- Unicode and whitespace. Try addresses with trailing or leading whitespace, or with lookalike Unicode characters in the local part. A positive result is a second registration accepted for what the backend treats as the same mailbox.
- Password reset interaction. After the overwrite, check whether the password reset flow for the original address now targets the new account. A positive result is a reset that lands in the attacker-created account.
- Cross-channel consistency. Repeat the case variation across the mobile app, the web signup and any API endpoint used by either. A positive result is one channel accepting the duplicate while another treats the address as taken.
A few of those terms, briefly. A plus-tag suffix is the +something some mail providers allow before the @, as in [redacted]; mail still arrives at [redacted], so the two are the same mailbox in practice. Unicode is the standard for characters beyond plain English letters, and it contains lookalikes that can fool a comparison. Whitespace means spaces, tabs and similar invisible characters. An API endpoint is a specific address on a server that a program (rather than a person clicking) sends requests to; the mobile app is really just a program talking to such endpoints. Cross-channel means testing the same idea through different doors into the same service.
Hunting notes
This kind of bug hides in the seam between two pieces of code that each decide what an email address is: the registration uniqueness check and the login lookup. During recon, the signal is a product with several signup surfaces (mobile app, web, API) where you can compare how each one responds to the same address in different case. If one surface accepts a duplicate that another rejects, the normalisation is inconsistent and worth pushing further.
Recon, short for reconnaissance, is the early phase of testing where you look around and learn how a product is built before trying anything clever. The seam between two components is a classic place to look, because each component can be perfectly reasonable on its own while the pair together is wrong.
The sequence is concrete and repeatable: a working login, a second signup with a case variant, then a failed login on the original credentials followed by a successful login into the new account.
Glossary
- Account takeover: a bug where an attacker gains control of someone else's account and can see and do everything that person can.
- API endpoint: a specific address on a server that a program, such as a mobile app, sends requests to.
- Authentication: the process of proving who you are, typically with an email address and password.
- Authorisation: what an authenticated user is then permitted to do.
- Bounty: money a company pays a researcher for reporting a security bug responsibly.
- Case: whether a letter is upper or lower case.
- Case-insensitive: treating upper and lower case letters as the same.
- Case-sensitive: treating upper and lower case letters as different.
- Cross-channel: testing the same idea through different entry points into the same service, such as app, website and API.
- Denial of access: preventing a legitimate user from reaching their own account or resource.
- Domain: the part of an email address after the
@, such asgmail.com. - Email address: an identifier of the form
localpart@domainused to reach a mailbox. - Logic flaw (logic issue): a bug where the program follows its code correctly but the code's reasoning is wrong or inconsistent.
- Local part: the part of an email address before the
@. - Normalisation: converting data into one standard form before comparing or storing it, for example lowercasing email addresses.
- Plus-tag suffix: an addition like
+newsbefore the@that some mail providers ignore when delivering, so the mailbox is effectively the same. - Recon (reconnaissance): the early phase of security testing where you learn how a product is built and behaves.
- Root cause: the underlying reason a bug exists, as opposed to its visible symptom.
- Severity: a rating of how serious a bug is, commonly low, medium, high or critical.
- Unicode: the standard covering characters beyond plain English letters, including lookalikes that can fool naive comparisons.
- Uniqueness check: the step at signup that decides whether an identifier such as an email address is already in use.
- Verification step: a step such as a confirmation link sent to a mailbox, proving the person controls that mailbox before it is attached to an account.
- Whitespace: invisible characters such as spaces and tabs.