Skip to content
Race condition Disclosed report Intermediate

Race Condition Enables Bypassing Verification Check

The WorldID platform had a race condition in the enforcement of maximum allowed verifications, because the limit was not properly synchronised across parallel requests to the cloud backend. An attacker could send simultaneous requests to bypass the verification check limits.

toormund Follow

Originally disclosed on HackerOne

Bounty$3,000incl. $500 bonus High View original
  • Triaged in 30 days
  • Fixed in 7 months
  • Paid in 28 days
  • Disclosed after 8 months

Summary by the program

A race condition was discovered in the WorldID platform that could enable bypassing the verification check limits under certain conditions. The issue resided in the enforcement of maximum allowed verifications, which was not properly synchronized across parallel requests to the cloud backend service.

The fix implemented enforcement of the maximum verifications in the database, making it the source of truth for state. This ensures that only one successful request per nullifier use can occur, even if parallel requests are attempted simultaneously. The vulnerability only affected certain cloud-backed verification flows, not on-chain WorldID applications.

The original report as published on HackerOne, by toormund. 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

Impact

An attacker could bypass the verification check limits under certain conditions, but only in certain cloud-backed verification flows, not on-chain WorldID applications.

What the attacker needed

Cloud-backed verification flow

The fix

The fix enforced the maximum verifications in the database, making it the source of truth for state so only one successful request per nullifier use can occur.

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.

A race condition happens when a system checks a limit and then acts, but two requests can both pass the check before either one updates the count. Here, the verification limit was checked in a way that parallel requests could all succeed, letting someone get more verifications than allowed. The fix moves the limit enforcement into the database so only one request can succeed per use.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by toormund

View all

1 more disclosed report, best first.

More from Tools for Humanity

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.