Account Takeover — Story of 2 same issues in a single program but different sub-domains.
The sign-up flow never checked that the person registering actually owned the email address, so anyone could register using another person's address and take over that account. The same flaw was found again on a mirror domain discovered inside the Android app, letting the author access ongoing project files.
Published on hunter-55.medium.com
About 1 years ago, at this exact same time I found straightforward security issue related to account takeover.The scope was very limited. Only 3 subdomains.
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.
Context
This is a story about the same account takeover issue appearing twice in one program, on two different subdomains, roughly a year apart. The first finding was on app.target.com during the sign up process. The second was on app.trgt.net, a mirror page of the same website that the researcher found by looking through the source code of the company's Android application (the APK file). The report does not name the program or give the real domain; the names used in the text are app.target.com, [redacted] and app.trgt.net, with trgt described as the short form of target.
The feature involved is ordinary account sign up. Normally a sign up form should check two things: that the email address is not already registered on the server, and that the person submitting the form actually owns that email address (usually through a verification link or code). The report shows a case where only the first check was ever implemented.
Setup
- No special accounts, roles or tooling are described. The first test was done manually against the sign up form of
app.target.com. - The second test was done after the researcher started poking around the company's Android application and read its source code from the APK file, which led to the
app.trgt.netwebsite. - The researcher states that the second set of subdomains was not found with scanners such as findomain or sublist3r, was found manually, and was not on Google.
- The second set of subdomains was not in the program's scope list, but the report was accepted because of the high impact.
Finding it
The first issue was found about a year before the write-up, at what the researcher calls "this exact same time". The scope was very limited: only 3 subdomains. The researcher describes it as taking only 5 minutes.
During the sign up process on app.target.com:
- The system was not checking whether the email is owned by the user or not.
- The application was not verifying whether the email id is already in the server or not.
- As a result, the researcher was able to sign up with any email id and take over any user account.
To push the impact further, the researcher tested [redacted] and was able to take over it and view all projects.
The issue was reported through HackerOne. The fix implemented verification of whether the email is already registered in the server or not. The researcher notes the bounty was a 3 digit amount and had expected 4 digits.
The important part is what the fix did not do: it verified whether the email is already registered, but did not implement a check of whether the user is the owner of the email. In other words, there was still no verification on the sign up process. The researcher asked them to put a verification at sign up, and they said that would not be a problem for their company. The researcher moved on to the next target on HackerOne.

Exploitation
Step 1: Sign up with an address you do not own (first finding)
The researcher went to the sign up process on app.target.com and submitted an email address that was not theirs. Because the application neither verified ownership of the email nor checked whether the email was already in the server, the sign up succeeded and the researcher gained access to the account associated with that address. Repeating this with [redacted] gave access to that account and to all projects visible to it.
Step 2: Read the Android application and find a mirror site
About a year later, in September 2021, the researcher started poking around the company's Android application. Going through the application source code (the APK file) turned up some normal websites, which were first ignored. One of them was app.trgt.net, described as similar to app.target.com, with trgt used as the short form of target.
Step 3: Repeat the sign up on the mirror site (second finding)
On app.trgt.net, the patch from the first report was present: the site checked whether the email was already registered in the database. It still did not verify whether the email is owned by the user, so there was no verification on the sign up process.
The researcher tried to sign up with [redacted] and got access to several ongoing project files. This was the same issue reported a year earlier, on a different subdomain.
Step 4: Report it
The researcher reported it immediately. The subdomains were not in the scope list, but the report was accepted because of the high impact.
Root cause
The design mistake is that account creation trusts the email address supplied in the sign up form without proving that the person submitting it controls that mailbox. The only check that was ever added is a uniqueness check: is this email already registered in the server or database. That check stops duplicate registrations, but it does not stop an attacker from registering an address that belongs to someone else, as long as that address has not already been registered on that particular application.
The mirror site app.trgt.net had the same uniqueness patch, so the same missing ownership check survived there. The company had already been told that the absence of sign up verification was a problem and had declined to change it.
Impact
An attacker who knows or guesses an email address that is not yet registered on the affected application can sign up with it and obtain the account tied to that address. In the first finding this let the researcher take over any user account, and specifically [redacted], where all projects were visible. In the second finding, signing up with [redacted] on app.trgt.net gave access to several ongoing project files.
The report does not describe any further conditions, such as email confirmation flows or password resets.
Fix
For the first finding, the company patched it by implementing verification of whether the email is already registered in the server or not. The researcher explicitly notes this did not implement a check of whether the user is the owner of the email, and that the company declined the request to add verification at sign up, saying it would not be a problem for them.
What the report makes clear is that the uniqueness check alone is not sufficient: the missing piece is ownership verification at sign up, applied consistently across every application and mirror site in the program, not just the one where the issue was first reported.
Variants to test
- Register an address you do not control on any sign up form and see whether the account becomes usable without any confirmation step. A positive result is being logged in and seeing data belonging to that address's account.
- Try the same on mirror or alternate domains of the same product, especially ones found in mobile application source code rather than through scanners. A positive result is the same behaviour on a host that is not in the main scope list.
- Test role or shared addresses such as support, admin or team mailboxes. A positive result is access to projects or files belonging to that shared account.
- Check whether the uniqueness check can be bypassed by case variation, plus addressing or whitespace in the email, so that an already registered address can be registered again. A positive result is a second account created for an address that should already exist.
- Look for the same pattern in password reset and email change flows, where ownership of the address also has to be proven. A positive result is a reset or change completing without control of the mailbox.
What happened, in plain words
Imagine you could walk into a bank, fill in a form with someone else's name and address, and the bank hands you the keys to their safe deposit box without ever checking that you are that person. That is essentially what happened here, twice, on two different websites belonging to the same company.
The feature involved is the ordinary sign-up form you see on almost every website. When you create an account, you type in your email address and a password. A well-built sign-up form should do two checks:
- Is this email address already registered? If someone already has an account with that address, you should not be able to create a second one.
- Do you actually own this email address? Usually the site sends a verification link or a code to that address, and you have to click it or type it in before your account becomes active. This proves you can read the mailbox.
In this story, the company only ever implemented the first check. The second check was missing. That meant anyone could type in any email address they liked, including one belonging to another person or a shared team mailbox, and the site would create an account tied to that address without asking for proof. The researcher used this to take over accounts, including a support mailbox that could see all projects.
The same mistake appeared on a second website, app.trgt.net, which the researcher found by looking inside the company's Android app. The company had already been told about the missing ownership check a year earlier and had declined to add it, saying it would not be a problem for them.
Context
This is a story about the same account takeover issue appearing twice in one program, on two different subdomains, roughly a year apart. The first finding was on app.target.com during the sign up process. The second was on app.trgt.net, a mirror page of the same website that the researcher found by looking through the source code of the company's Android application (the APK file). The report does not name the program or give the real domain; the names used in the text are app.target.com, [redacted] and app.trgt.net, with trgt described as the short form of target.
The feature involved is ordinary account sign up. Normally a sign up form should check two things: that the email address is not already registered on the server, and that the person submitting the form actually owns that email address (usually through a verification link or code). The report shows a case where only the first check was ever implemented.
What is a subdomain? A subdomain is a prefix added to a main domain name to point to a different part of a website. For example, in app.target.com, app is the subdomain and target.com is the main domain. Companies often use subdomains for different services, like support.target.com for help pages or app.target.com for the main application. Each subdomain can run different software or have different settings, which is why a bug on one subdomain might not be fixed on another.
What is an APK file? APK stands for Android Package Kit. It is the file format used to distribute and install applications on Android devices. An APK file is essentially a zip archive that contains all the code, resources, and assets needed for the app to run. Because it is a zip file, you can open it and look inside, which is what the researcher did to find the website address app.trgt.net.
What is account takeover? Account takeover (ATO) is a type of security issue where an attacker gains access to someone else's account without permission. This can happen through various means, such as guessing passwords, phishing, or, as in this case, exploiting a flaw in the sign-up process that lets you create an account using someone else's email address.
Setup
- No special accounts, roles or tooling are described. The first test was done manually against the sign up form of
app.target.com. - The second test was done after the researcher started poking around the company's Android application and read its source code from the APK file, which led to the
app.trgt.netwebsite. - The researcher states that the second set of subdomains was not found with scanners such as findomain or sublist3r, was found manually, and was not on Google.
- The second set of subdomains was not in the program's scope list, but the report was accepted because of the high impact.
What is a scanner? In this context, a scanner is a tool that automatically searches for subdomains or vulnerabilities. Examples mentioned are findomain and sublist3r, which are used to discover subdomains by querying public sources or brute-forcing common names. The researcher emphasises that manual exploration, such as reading app code, can find things scanners miss.
What is scope? Scope refers to the list of targets (like domains or applications) that a bug bounty program has authorised researchers to test. Testing outside scope is generally not allowed, but if a researcher finds a serious issue on an out-of-scope asset, programs may still accept it, as happened here.
Finding it
The first issue was found about a year before the write-up, at what the researcher calls "this exact same time". The scope was very limited: only 3 subdomains. The researcher describes it as taking only 5 minutes.
During the sign up process on app.target.com:
- The system was not checking whether the email is owned by the user or not.
- The application was not verifying whether the email id is already in the server or not.
- As a result, the researcher was able to sign up with any email id and take over any user account.
To push the impact further, the researcher tested [redacted] and was able to take over it and view all projects.
The issue was reported through HackerOne. The fix implemented verification of whether the email is already registered in the server or not. The researcher notes the bounty was a 3 digit amount and had expected 4 digits.
The important part is what the fix did not do: it verified whether the email is already registered, but did not implement a check of whether the user is the owner of the email. In other words, there was still no verification on the sign up process. The researcher asked them to put a verification at sign up, and they said that would not be a problem for their company. The researcher moved on to the next target on HackerOne.

What is HackerOne? HackerOne is a platform that connects companies with security researchers. Companies run bug bounty programs there, offering rewards for finding and reporting security issues. Researchers submit reports through the platform, and companies respond, fix issues, and pay bounties.
What is a bounty? A bounty is the reward paid to a researcher for reporting a valid security issue. It can be a monetary amount, and the size often depends on the severity and impact of the issue. Here, the researcher received a 3-digit amount (e.g. $100 to $999) but had hoped for a 4-digit amount (e.g. $1000 or more).
Exploitation
Step 1: Sign up with an address you do not own (first finding)
The researcher went to the sign up process on app.target.com and submitted an email address that was not theirs. Because the application neither verified ownership of the email nor checked whether the email was already in the server, the sign up succeeded and the researcher gained access to the account associated with that address. Repeating this with [redacted] gave access to that account and to all projects visible to it.
Why this works: When you sign up, the application creates a new user record with the email you provided. If it does not send a verification email and require you to confirm, the account is immediately active. If the application also does not check whether that email already belongs to an existing user, you can create a new account with the same email. But in this case, the application did not check if the email was already in the server, so the researcher could sign up with any email, even one that might belong to someone else. The account created is then associated with that email, and the researcher gained access to the account tied to it.
What is a server? A server is a computer that provides services to other computers over a network. In web applications, the server stores data (like user accounts) and runs the logic that processes requests. When you sign up, your browser sends your email and password to the server, which then creates a new account.
Step 2: Read the Android application and find a mirror site
About a year later, in September 2021, the researcher started poking around the company's Android application. Going through the application source code (the APK file) turned up some normal websites, which were first ignored. One of them was app.trgt.net, described as similar to app.target.com, with trgt used as the short form of target.
Why look in the APK? Mobile apps often contain hardcoded URLs, API endpoints, and other configuration details that are not always publicly documented. By examining the APK, a researcher can discover backend servers, alternate domains, and other assets that might not be easily found through traditional reconnaissance. This is a form of manual testing that can reveal hidden parts of an application's attack surface.
What is a mirror site? A mirror site is a copy of a website, often hosted on a different domain, that serves the same content or functionality. Companies might use mirror sites for load balancing, regional access, or as backups. However, if security patches are not applied consistently across all mirrors, vulnerabilities can persist on one even if fixed on another.
Step 3: Repeat the sign up on the mirror site (second finding)
On app.trgt.net, the patch from the first report was present: the site checked whether the email was already registered in the database. It still did not verify whether the email is owned by the user, so there was no verification on the sign up process.
The researcher tried to sign up with [redacted] and got access to several ongoing project files. This was the same issue reported a year earlier, on a different subdomain.
Why this matters: The company had fixed the first issue by adding a check that the email is not already registered. But they did not add the ownership verification. So on the mirror site, the same attack worked: the researcher could sign up with [redacted] and got access to several ongoing project files. The account created gave access to project files, demonstrating that the impact was the same.
Step 4: Report it
The researcher reported it immediately. The subdomains were not in the scope list, but the report was accepted because of the high impact.
Why report out-of-scope? Even if a target is not explicitly listed in a program's scope, if you find a serious vulnerability, it is often worth reporting. Many programs appreciate the heads-up and may reward you anyway, especially if the issue could affect their users. Here, the company accepted the report because the impact was high.
Root cause
The design mistake is that account creation trusts the email address supplied in the sign up form without proving that the person submitting it controls that mailbox. The only check that was ever added is a uniqueness check: is this email already registered in the server or database. That check stops duplicate registrations, but it does not stop an attacker from registering an address that belongs to someone else, as long as that address has not already been registered on that particular application.
The second occurrence shows the fix was applied per application rather than as a shared rule. The mirror site app.trgt.net had the same uniqueness patch, so the same missing ownership check survived there. The company had already been told that the absence of sign up verification was a problem and had declined to change it, which is why the issue was still reachable a year later.
Analogy: Think of a hotel that gives out room keys. The uniqueness check is like making sure no two guests have the same room number. But without checking ID, anyone can claim to be a guest and get a key to someone else's room. The hotel needs both: a list of which rooms are taken, and proof that you are the person who booked the room.
Impact
An attacker who knows or guesses an email address that is not yet registered on the affected application can sign up with it and obtain the account tied to that address. In the first finding this let the researcher take over any user account, and specifically [redacted], where all projects were visible. In the second finding, signing up with [redacted] on app.trgt.net gave access to several ongoing project files.
The report does not describe any further conditions, such as email confirmation flows or password resets.
Why [redacted] is sensitive: A support email address is often a shared mailbox used by a team. It may have access to many projects, customer data, or internal tools. Taking over such an account can expose a lot of information. In this case, the researcher could view all projects (first finding) and several ongoing project files (second finding).
Fix
For the first finding, the company patched it by implementing verification of whether the email is already registered in the server or not. The researcher explicitly notes this did not implement a check of whether the user is the owner of the email, and that the company declined the request to add verification at sign up, saying it would not be a problem for them.
What the report makes clear is that the uniqueness check alone is not sufficient: the missing piece is ownership verification at sign up, applied consistently across every application and mirror site in the program, not just the one where the issue was first reported.
What proper verification looks like: After a user submits the sign-up form, the application should send an email to the provided address with a unique link or code. The account should remain inactive until the user clicks the link or enters the code. This proves the user has access to the mailbox. Additionally, the application should check if the email is already registered and, if so, either reject the sign-up or prompt the user to log in or reset their password. Both checks together prevent account takeover via sign-up.
Variants to test
- Register an address you do not control on any sign up form and see whether the account becomes usable without any confirmation step. A positive result is being logged in and seeing data belonging to that address's account.
- Try the same on mirror or alternate domains of the same product, especially ones found in mobile application source code rather than through scanners. A positive result is the same behaviour on a host that is not in the main scope list.
- Test role or shared addresses such as support, admin or team mailboxes. A positive result is access to projects or files belonging to that shared account.
- Check whether the uniqueness check can be bypassed by case variation, plus addressing or whitespace in the email, so that an already registered address can be registered again. A positive result is a second account created for an address that should already exist.
- Look for the same pattern in password reset and email change flows, where ownership of the address also has to be proven. A positive result is a reset or change completing without control of the mailbox.
What is plus addressing? Also known as subaddressing, plus addressing lets you add a suffix to your email address with a plus sign. For example, [redacted] is often delivered to the same inbox as [redacted]. If an application does not normalise email addresses properly, it might treat [redacted] as a different address from [redacted], allowing someone to register a new account with the plus-addressed version even if the original is already registered. This can bypass uniqueness checks.
What is case variation? Email addresses are generally case-insensitive in the domain part, but the local part (before the @) can be case-sensitive in theory. However, most providers treat them as case-insensitive. If an application does not normalise case, it might allow [redacted] and [redacted] as separate accounts, again bypassing uniqueness.
What is whitespace? Adding spaces before or after the email address might cause the application to treat it as a different string, potentially bypassing checks if not trimmed properly.
Glossary
- Account takeover (ATO): A security issue where an attacker gains unauthorised access to someone else's account.
- APK (Android Package Kit): The file format used to distribute and install apps on Android; it is a zip archive containing the app's code and resources.
- Bounty: A reward, often monetary, paid to a security researcher for reporting a valid vulnerability.
- Bug bounty program: A program run by a company that offers rewards for security researchers who find and report bugs in their systems.
- HackerOne: A platform where companies run bug bounty programs and researchers submit vulnerability reports.
- Mirror site: A copy of a website hosted on a different domain, often serving the same content or functionality.
- Plus addressing: A feature in email where adding a plus sign and extra text to the local part (e.g.
[redacted]) still delivers to the same inbox; can be used to bypass email uniqueness checks if not normalised. - Scope: The list of targets (domains, applications) that a bug bounty program authorises researchers to test.
- Scanner: A tool that automatically searches for subdomains or vulnerabilities, such as findomain or sublist3r.
- Server: A computer that provides services to other computers over a network, storing data and running application logic.
- Subdomain: A prefix added to a main domain name to point to a different part of a website (e.g.
appinapp.target.com). - Uniqueness check: A validation that ensures an email address is not already registered in the system.
- Verification (email ownership): A process to confirm that the person submitting an email address actually controls the mailbox, typically by sending a link or code that must be clicked or entered.
- Whitespace: Spaces or other blank characters in a string; if not trimmed, they can cause unexpected behaviour in input validation.