Skip to content
Race condition Disclosed report Intermediate

Race condition on add 1 free domain

A race condition in the free domain claim process allowed a user to send multiple parallel requests with a modified parameter, resulting in more than one free domain being purchased. An attacker could obtain multiple free domains instead of the single one allowed.

root_geek280 Follow with kurtjembuo12

Originally disclosed on HackerOne

  • Fixed in 7 days
  • Paid in 7 days
  • Disclosed after 10 months

Summary:

When a website/provider provide free account they will give the user some feature that limited from access, but if we using race condition vulnerability an user can create/bypass limitation from the provider

Platform(s) Affected:

wordpress.com

Steps To Reproduce:

  1. create free account in Gravatar
  2. login the account, select claim free custom domain below My profile

██████████ 3. after click claim domain you will redirect to

https://wordpress.com/start/domain-for-gravatar/domain-only?search=yes&new=(gravatar domain) 4. complete the payment until you get this endpoint

public-api.wordpress.com/rest/v1.1/me/transactions? ██████ 5. create group request and duplicate until 1-15 times 6. change parameter "meta" to any other name 7. after complete changing meta, send all request with Group (parallel)

████ 8. free domain will buy more than 1

████████

Supporting Material/References:

detail PoC on the attachment below

Impact

user can create more than 1 free domain in wordpress

The original report as published on HackerOne, by root_geek280. 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 server checked the free-domain eligibility and processed the purchase without an atomic lock, so parallel requests with different 'meta' values each passed the check.

Impact

A user could obtain more than one free domain from WordPress.com, bypassing the intended one-per-user limit.

What the attacker needed

A free Gravatar account; access to a tool that sends parallel requests

How it was found

  1. Create a free account in Gravatar.
  2. Log in and select the free custom domain claim option under My profile.
  3. Complete the payment flow until reaching the transactions endpoint.
  4. Create a group request and duplicate it 1 to 15 times.
  5. Change the 'meta' parameter to another name.
  6. Send all requests in parallel as a group.

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 but then acts on it without locking, so sending many requests at the same moment can slip past the check. Here, the website offered one free domain, but by firing several requests in parallel with a changed parameter, the user got several free domains.

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 root_geek280

View all

3 more disclosed reports, best first.

More from Automattic

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.