Skip to content
Business logic Disclosed report Intermediate

Verifying email bypass

Accounts created via the Stripe Connect OAuth flow did not require email verification, unlike standard accounts, allowing an attacker to register with an unverified email address and access full Stripe features such as creating and sending invoices. This enabled impersonation of a real company by spoofing invoices sent from Stripe.

fisjkars Follow

Originally disclosed on HackerOne

  • Triaged in 24 days
  • Fixed in 8 months
  • Paid in 8 months
  • Disclosed after 24 months

During an assessment made on a separate web-application using theirs customers to use Stripe for their payments, I detected a different behavior between account created using the standard interface and the account created using the connect portal.

Classic User creation.

Users can create their account using the classic interface on https://dashboard.stripe.com

By analyzing the traffic, we can see that the user is created with a POST request made on https://dashboard.stripe.com/ajax/register.

The new user can directly access to the dashboard without verify the email address entered in the creation form. However till the user has not verified the email, all features were limited to test data.

These restrictions did not allowed to generate invoices or payments on behalf of not verified mail the mail entered during the creation process.

Connect User creation.

Stripe API proposed some Oauth features described in this article (https://stripe.com/docs/connect/oauth-reference).

The workflow begin with this type of url : https://connect.stripe.com/oauth/authorize?response_type=code&client_id={{CLIENT_ID}}****

Once the user reached this page, he has two options :

  • Sign-in with an existing account.
  • Create a new account.

The second option asked to the users several informations such as

  • Personnal details (name, last name, adress)
  • Business details (website, activities, company adress etc)
  • Email adress
  • Bank details

Second factor with SMS is required and verified for the account creation.

Once all required informations has been filled and validated, the account is created using the API endpoint and the users is redirected to the client page with the access token generated.

By the way, by browsing the dashboard website, the user is connected with the new account.

Vulnerabilty.

Instead of the user created with the standard interface, the account created with the API can access to all Stripe feature such as :

  • Creating invoices and send them by email.
  • Creating subscriptions.
  • Managing customers.
  • etc...

The main concern is the email adress is not verified at this moment, it means that an attacker can impersonate a real company by spoofing the emails address.

Impact

In the POC scenario, I created the account [email protected] for Michelin Group company. Even if I don't have access to this email, I was able to spoof invoices for Michelin.

The invoices received by customers are valid because sent by Stripe and saying that [email protected] generated the invoice.

The generated invoice cannot be considered a spam as it was sent by Stripe...

To complete the report, I generated some little invoices to validate the payment and the payout to the attacker bank.

Attachments

classicAccountCreation.png
classicAccountCreation.png From the original on HackerOne
ClassicRegisterAccountRequest.png
ClassicRegisterAccountRequest.png
LimitedAccountWithClassicCreation2.png
LimitedAccountWithClassicCreation2.png
LimitedAccountWithClassicCreation.png
LimitedAccountWithClassicCreation.png
CreateWithConnect4.png
CreateWithConnect4.png
CreateWithConnect.png
CreateWithConnect.png
CreateWithConnect2.png
CreateWithConnect2.png
CreateWithConnect3.png
CreateWithConnect3.png

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Connect OAuth account creation flow did not enforce email verification before granting full account capabilities, unlike the standard registration flow.

Impact

An attacker could impersonate a real company by creating an account with an unverified email and sending invoices that appeared legitimate because they came from Stripe, potentially leading to financial fraud.

What the attacker needed

A Stripe Connect client_id; ability to complete SMS verification; no email verification required

How it was found

  1. Start the Connect OAuth flow by visiting the authorize URL with a client_id.
  2. Choose to create a new account and fill in personal, business, email, and bank details.
  3. Complete SMS second-factor verification.
  4. After account creation, access the Stripe dashboard with full features without verifying the email.

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 report has not been written yet. The Original tab links to the source.

When you sign up for a service, it usually sends a verification link to your email to prove you own it. Here, accounts made through a special partner sign-up flow skipped that check, so someone could pretend to be from a company like Michelin and send fake invoices that looked real because Stripe sent them.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by fisjkars

View all

1 more disclosed report, best first.

More from Stripe

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.