Facebook New Account Verification Bypass
A newly created Facebook account with an unverified email address could access the full site by navigating directly to a profile URL, bypassing the verification step. The attacker could then perform actions such as posting, sending friend requests, and messaging.
Published on medium.com
#### Santosh Baral
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
Facebook's sign-up flow ends with an account verification step: a new account is created but stays unverified until the user confirms the email address (or phone number) supplied in the registration form. Until that confirmation happens, the account is meant to be inert: the user should be parked on the verification page and should not be able to browse, post, search or interact with other accounts.
The feature under test here is exactly that gate. The researcher's question was simple: what happens to the rest of the product when the email address given at sign-up is wrong, so that verification can never succeed?
Setup
- A single browser: Firefox, using a new private tab so that no existing session interfered.
- One new account, registered with deliberately incorrect (invalid) email details.
- One pre-existing account belonging to the researcher, used as the "real" account to interact with the new one.
- No proxies, custom tooling or modified clients are described. Everything was done through the normal web interface plus manual URL editing.
The precondition is only that the registration form accepts an email address that cannot be verified, and that the resulting account is created in an unverified state.
Finding it
The researcher filled in the new account form with a wrong email address and submitted the form. The result was a redirect to a verification page. The expectation was that nothing beyond that page would work without verification.
On the verification page there was an option to view the profile. The researcher expected it to bounce back to the verification page, but clicking it opened the profile, and the profile could be edited: profile pictures could be changed and statuses posted. The limitation was that the interface offered little else, with no search option and no other features.

That partial access was the signal. If the profile view was reachable without verification, the question became whether other pages were reachable too, since the restriction appeared to be applied to the interface rather than to the account state.
Exploitation
Step 1: Register with an unverifiable email
Using a private Firefox tab, the researcher completed the sign-up form with valid details but a wrong email address and submitted it. The application created the account and redirected to the verification page. No verification link could ever be delivered, so the account was permanently stuck in the unverified state.
Step 2: Open the profile from the verification page
The verification page exposed an option to view the profile. Clicking it loaded the profile of the new, unverified account. From there the researcher could change profile pictures and post statuses. The interface showed no search box and no other options, which suggested the restriction was being enforced by hiding UI elements rather than by blocking the underlying pages.
Step 3: Change the URL to reach another profile
Because the profile page itself loaded, the researcher edited the URL in the address bar to point at the profile of the original (real) account instead. The page loaded, and this time the full set of options appeared, including search and everything normally seen on a verified account.

This is the core of the bypass: the unverified session was accepted by pages that the verification page's UI had simply not linked to. Navigating directly, rather than through the restricted interface, skipped the gate.
Step 4: Interact with other accounts
The researcher then found that the unverified account could send friend requests, comment, share and like any public or friends' posts. To confirm the extent, a friend request was sent from the new account to the researcher's original account and accepted. After acceptance, messages could be sent from the unverified account to the real one.

At this point the unverified account behaved like a normal account for the actions tested: profile editing, search, friend requests, comments, shares, likes and messaging.
Step 5: Report
The whole set of behaviours took about 15 minutes to find. The researcher reported it to Facebook at around 11:50 to 12:00 that night. Three days later a reply arrived. The response stated that Facebook knew about the issue internally and was working to improve the verification flow. No bounty was awarded.

A proof-of-concept video was published alongside the write-up:
https://youtu.be/UDetCErBD9E
Root cause
The report does not describe the server-side implementation, so the following is inferred from behaviour. The verification state of the account appears to have been enforced only in the presentation layer: the verification page withheld links to search and other features, and the profile page rendered a reduced set of controls. The pages themselves, and the actions behind them, appear not to have checked whether the session belonged to a verified account. Changing the URL to a profile the UI had not offered was enough to obtain the full interface.
Whatever check existed did not stop direct navigation to pages the restricted interface did not link to.
Impact
An attacker can create accounts with email addresses that will never be verified and still use them as fully functional accounts. In the actions the researcher tested, such an account could:
- edit its profile and post statuses;
- search;
- send friend requests and have them accepted;
- comment, share and like public or friends' posts;
- exchange messages with other accounts.
The practical consequence is that the verification step provided no barrier to using the account for the actions tested. The report does not quantify how many accounts could be created or what other abuse was possible; it only documents the actions listed above.
Fix
The report does not state what change was made. Facebook's reply said the team knew about the issue internally and was working to improve the verification flow. A correct fix would enforce the verification state server-side on every authenticated request, not just on the verification page and the reduced profile view, so that an unverified session cannot reach search, profiles, friend requests, comments, shares, likes or messaging regardless of the URL used.
Variants to test
- Direct URL navigation past onboarding gates. On any product with a "complete your profile" or "verify your email" interstitial, register and then request the URLs of features the interstitial does not link to. A positive result is a full-featured page rendering for an account that has not completed the step.
- API endpoints behind hidden UI. If the web interface hides a feature, call the corresponding API directly with the unverified session. A positive result is a normal JSON response instead of an error or redirect.
- State-changing actions from an unverified session. Send friend requests, comments, likes and messages from the unverified account. A positive result is the action succeeding and being visible to the recipient.
- Cross-account profile access. Change the profile identifier in the URL to another user's identifier while unverified. A positive result is that user's profile loading with the full interface.
- Verification-state checks on each request. Repeat the same requests after logging out and back in, and from a fresh session, to see whether the bypass depends on session state or is persistent. A positive result is the bypass working consistently across sessions.
- Other unverifiable identifiers. Try phone numbers or other contact methods that cannot receive the confirmation, in case the gate is tied to the email channel only. A positive result is the same unverified-but-usable account state.
What happened, in plain words
When you create a Facebook account, the site does not switch the account on straight away. It first asks you to prove that the email address (or phone number) you typed in belongs to you. It does this by sending a message to that address with a link or a code. You click the link or type the code, and only then is the account treated as real.
Until that proof arrives, the account is supposed to be frozen. You should be stuck on the verification page and unable to do anything else: no browsing other people's profiles, no searching, no posting, no messaging.
Santosh Baral was revising for a board exam late at night on 22 September 2019 and opened Facebook for a break. On a whim he opened a new private tab in Firefox and started creating a new account. He filled the form, wondered what would happen if he gave a wrong email address, and submitted it with the wrong address. He submitted the form with the wrong address and was sent to the verification page.
That page had an option to view the profile. He expected it to bounce him back, but it opened the profile, and he could change the profile picture and post statuses. The menu was stripped down, with no search and few other options. Then he edited the address bar to point at his own real profile, and the full interface appeared, search included. From there the unverified account could send friend requests, comment, share, like and message. He reported it to Facebook that night. Three days later the reply said the team already knew about the issue internally and was working to improve the verification flow. No bounty was paid.
This is a beginner's walkthrough of that finding. It explains every idea from scratch, in the order the researcher worked, and shows why each step mattered.
The feature being tested
Facebook's sign-up flow ends with an account verification step. A new account is created, but it stays unverified until the person confirms the email address or phone number they gave in the registration form.
Think of it like a hotel key card that is handed to you at check-in but not activated until the receptionist confirms your booking. You can hold the card, but the door will not open. In the same way, an unverified account is meant to be inert: the user should be parked on the verification page and should not be able to browse, post, search or interact with other accounts.
The feature under test is exactly that gate. The researcher's question was simple: what happens to the rest of the product when the email address given at sign-up is wrong, so that verification can never succeed?
A few terms are worth pinning down before we go further.
- Verification page: the screen Facebook shows after sign-up, asking you to confirm your email or phone. It is a checkpoint, not a feature.
- Session: the state of being logged in. When you sign in, the site gives your browser a small piece of data (often called a cookie) so that the next page you open knows who you are. Without it, every page would treat you as a stranger.
- Private tab: a browser window that starts with no cookies and no history from your normal browsing. It is useful for testing because you can be logged in as a brand-new account in one tab while your real account stays logged in elsewhere.
- URL: the address in the address bar, such as
facebook.com/someone. Editing it by hand is a legitimate way to ask the site for a page that the interface did not offer you.
Setup
The researcher used a very small set of tools:
- A single browser: Firefox, using a new private tab so that no existing session interfered.
- One new account, registered with deliberately incorrect (invalid) email details.
- One pre-existing account belonging to the researcher, used as the "real" account to interact with the new one.
- No proxies, custom tooling or modified clients are described. Everything was done through the normal web interface plus manual URL editing.
The only precondition is that the registration form accepts an email address that cannot be verified, and that the resulting account is created in an unverified state. In other words, the site lets you finish sign-up even when the address you typed will never receive the confirmation message.
Finding it
The researcher filled in the new account form with correct and valid details, then deliberately replaced the email address with a wrong one and submitted the form. The result was a redirect to a verification page. The expectation was that nothing beyond that page would work without verification.
On the verification page there was an option to view the profile. The researcher expected it to bounce back to the verification page, but clicking it opened the profile, and the profile could be edited: profile pictures could be changed and statuses posted. The limitation was that the interface offered little else, with no search option and no other features.

The screenshot shows the profile of the new, unverified account as it appeared after clicking through from the verification page: the profile itself is reachable and editable, but the surrounding interface is stripped down, with no search and no other options.
That partial access was the signal. If the profile view was reachable without verification, the question became whether other pages were reachable too, since the restriction appeared to be applied to the interface rather than to the account state.
This distinction matters, and it is the heart of the lesson. There are two very different ways to stop someone doing something:
- Hide the button. The page simply does not show a link to search, or to other profiles. This is a restriction in the presentation layer, the part of the product you see and click.
- Refuse the request. Even if the person types the address by hand, the server checks whether the account is verified and says no. This is a restriction in the server, the computer that actually holds the data and performs the actions.
Hiding a button is like putting a "staff only" sign on a door but leaving it unlocked. Refusing the request is like a lock that checks your key. The researcher had just found that the door was unlocked.
Exploitation
Step 1: Register with an unverifiable email
Using a private Firefox tab, the researcher completed the sign-up form with valid details but a wrong email address and submitted it. The application created the account and redirected to the verification page. No verification link could ever be delivered, so the account was permanently stuck in the unverified state.
Why this step matters: it creates the exact situation the gate is supposed to handle. A normal user who mistypes their email is stuck on the verification page. If that user can still use the account, the gate is not doing its job.
Step 2: Open the profile from the verification page
The verification page exposed an option to view the profile. Clicking it loaded the profile of the new, unverified account. From there the researcher could change profile pictures and post statuses. The interface showed no search box and no other options, which suggested the restriction was being enforced by hiding UI elements rather than by blocking the underlying pages.
Why this step matters: it is the first crack. The verification page is supposed to be a wall, but it contained a door. The reduced interface is a clue: the site was trying to look restricted rather than actually be restricted.
Step 3: Change the URL to reach another profile
Because the profile page itself loaded, the researcher edited the URL in the address bar to point at the profile of the original (real) account instead. The page loaded, and this time the full set of options appeared, including search and everything normally seen on a verified account.

The screenshot shows the same unverified session after the URL was changed to the researcher's original account: the full interface is back, including the search option and the other controls normally seen on a verified account.
This is the core of the bypass: the unverified session was accepted by pages that the verification page's UI had simply not linked to. Navigating directly, rather than through the restricted interface, skipped the gate.
Why this step matters: it proves the restriction was cosmetic. The page loaded for the unverified session, so the restriction did not stop a direct request. Anyone who types a different address arrives from somewhere else, and the check no longer applies.
Step 4: Interact with other accounts
The researcher then found that the unverified account could send friend requests, comment, share and like any public or friends' posts. To confirm the extent, a friend request was sent from the new account to the researcher's original account and accepted. After acceptance, messages could be sent from the unverified account to the real one.

The screenshot shows the friend request having been accepted and messages being exchanged between the unverified account and the researcher's real account.
At this point the unverified account behaved like a normal account for the actions tested: profile editing, search, friend requests, comments, shares, likes and messaging.
Why this step matters: it turns a curiosity into a real problem. Being able to look at a page is one thing; being able to act on other people's content and send them messages is another. The unverified account was not just visible, it was functional.
Step 5: Report
The whole set of behaviours took about 15 minutes to find. The researcher reported it to Facebook at around 11:50 to 12:00 that night. Three days later a reply arrived. The response stated that Facebook knew about the issue internally and was working to improve the verification flow. No bounty was awarded.

The screenshot shows the reply from Facebook: the team was already aware of the issue internally and was working to improve the verification flow.
A proof-of-concept video was published alongside the write-up:
https://youtu.be/UDetCErBD9E
This is the embedded proof-of-concept video, showing the steps in action.
Root cause
The report does not describe the server-side implementation, so the following is inferred from behaviour. The verification state of the account appears to have been enforced only in the presentation layer: the verification page withheld links to search and other features, and the profile page rendered a reduced set of controls. The pages themselves, and the actions behind them, appear not to have checked whether the session belonged to a verified account. Changing the URL to a profile the UI had not offered was enough to obtain the full interface.
Whatever check existed did not stop direct navigation to pages the restricted interface did not link to. Any request that did not pass through the restricted entry point was treated as coming from a normal account.
Impact
An attacker can create accounts with email addresses that will never be verified and still use them as fully functional accounts. In the actions the researcher tested, such an account could:
- edit its profile and post statuses;
- search;
- send friend requests and have them accepted;
- comment, share and like public or friends' posts;
- exchange messages with other accounts.
The practical consequence is that the verification step provided no barrier to using the account for the actions tested. The report does not quantify how many accounts could be created or what other abuse was possible; it only documents the actions listed above.
Why this matters beyond one account: many sites treat "new and unverified" as a temporary, low-trust state. They may allow more sign-ups from one place, or fewer actions, on the assumption that the account will either verify or disappear. If unverified accounts can act normally, that assumption is wrong, and the protections built on it are weaker than they look.
Fix
The report does not state what change was made. Facebook's reply said the team knew about the issue internally and was working to improve the verification flow. A correct fix would enforce the verification state server-side on every authenticated request, not just on the verification page and the reduced profile view, so that an unverified session cannot reach search, profiles, friend requests, comments, shares, likes or messaging regardless of the URL used.
The general principle is worth remembering: check on the server, on every request. Hiding a button is a convenience for honest users, never a security control.
Variants to test
These are the same ideas applied to other products. They are written for someone who has only a browser, so each one describes what to try and what a positive result looks like.
- Direct URL navigation past onboarding gates. On any product with a "complete your profile" or "verify your email" interstitial, register and then request the URLs of features the interstitial does not link to. A positive result is a full-featured page rendering for an account that has not completed the step.
- API endpoints behind hidden UI. If the web interface hides a feature, call the corresponding API directly with the unverified session. A positive result is a normal JSON response instead of an error or redirect.
- State-changing actions from an unverified session. Send friend requests, comments, likes and messages from the unverified account. A positive result is the action succeeding and being visible to the recipient.
- Cross-account profile access. Change the profile identifier in the URL to another user's identifier while unverified. A positive result is that user's profile loading with the full interface.
- Verification-state checks on each request. Repeat the same requests after logging out and back in, and from a fresh session, to see whether the bypass depends on session state or is persistent. A positive result is the bypass working consistently across sessions.
- Other unverifiable identifiers. Try phone numbers or other contact methods that cannot receive the confirmation, in case the gate is tied to the email channel only. A positive result is the same unverified-but-usable account state.
Two terms in that list need a short explanation for a complete beginner.
- API: the set of addresses a website's own pages use behind the scenes to fetch and change data. When you scroll a feed, your browser is quietly calling the API. You can call it yourself with a browser or a simple tool, and it often answers with JSON, a plain text format for structured data.
- Endpoint: one specific address in that API, for example the one that handles friend requests. "Calling an endpoint directly" means asking that address for the data without going through the page that normally displays it.
Glossary
- Account verification: the step where a site confirms that the email address or phone number you gave at sign-up really belongs to you, usually by sending a link or code.
- API: the set of addresses a website's pages use behind the scenes to read and change data; it can often be called directly.
- Authentication: proving who you are, for example by logging in.
- Authentication bypass: getting past a login or verification check without satisfying it, as happened here.
- Cookie: a small piece of data a site stores in your browser so it can recognise your session on later requests.
- Endpoint: one specific address in an API that performs a particular job.
- Interface (UI): the part of a product you see and click, such as buttons, menus and links.
- JSON: a plain text format for structured data, commonly returned by APIs.
- Onboarding: the first steps a new user goes through after signing up, such as verifying an email or completing a profile.
- Presentation layer: the visible part of a product; hiding things there does not stop anyone who types an address by hand.
- Private tab: a browser window that starts without cookies or history from your normal browsing.
- Proof of concept (PoC): a demonstration, often a video or a short set of steps, showing that a vulnerability really works.
- Rate limiting: a control that limits how many actions or sign-ups can happen in a period of time.
- Redirect: when a site sends your browser from one page to another automatically.
- Server: the computer that holds the data and performs the actions; checks made there cannot be skipped by editing a URL.
- Session: the state of being logged in, usually carried by a cookie.
- State-changing action: anything that alters data, such as posting, liking, commenting or sending a friend request.
- URL: the address in the browser's address bar.
- Verification page: the screen shown after sign-up that asks you to confirm your email or phone.
- Vulnerability: a weakness in a product that lets someone do something the product's owners did not intend.