Skip to content
Business logic Write-up Intermediate

OpenAI Allowed “Unlimited” Credit on New Accounts

The phone number validation during OpenAI signup could be bypassed by modifying the phone number with leading zeros or Unicode characters, allowing multiple accounts to be created with the same phone number and each receiving free trial credits. An attacker could thus obtain an arbitrary number of free credits.

David Sopas Follow

Published on checkmarx.com

Even if you lived under a rock in the last few months, I’m sure you still have heard about OpenAI – especially their ChatGPT project. If you still don’t know what it is, let ChatGPT introduce itself:

David Sopas, on checkmarx.com

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

Root cause

Likely the phone number was compared as a unique value before being normalised, so variations with leading zeros or non-ASCII bytes were treated as distinct, but later normalised to the same number when used.

Impact

An attacker could create an arbitrary number of accounts with the same phone number and obtain unlimited free credits, potentially abusing the trial system.

What the attacker needed

A valid email address; a phone number capable of receiving SMS; ability to intercept and modify API requests

The fix

The issue was fixed by OpenAI, likely by normalising the phone number before uniqueness checks.

How it was found

  1. Register an account with a unique phone number.
  2. Register a second account with the same phone number but with leading zeros added.
  3. Observe that the second account is created and receives free credits.
  4. Use Unicode encoding on non-ASCII bytes to bypass sanitisation and register more accounts.

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 for a service, it often checks that your phone number is unique to prevent abuse. Here, the check could be fooled by adding extra zeros or special characters to the number, so the system thought each was a different number. That let someone create many accounts with the same real phone number and collect free credits each time.

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 David Sopas

View all

1 more disclosed report, best first.

More from OpenAI (ChatGPT)

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.