How I Exploited a Hidden Race Condition to Bypass Licensing and C
A subdomain registration page was vulnerable to a race condition, allowing an attacker to reserve more subdomains than the licensing system permitted by sending many concurrent requests. The attack was non-deterministic but succeeded with enough attempts.
Published on 0onoproblem.medium.com
Hi and welcome back to another report! My name is Ahmed Ehab though in the bug bounty community, They call me Nopr.
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 subdomain registration endpoint checked the licence limit and then created the subdomain without an atomic lock, so concurrent requests could all pass the check before any state was updated.
Impact
An attacker could reserve more subdomains than their licence allowed, bypassing the intended limitation, though the race was non-deterministic and required many attempts.
What the attacker needed
A logged-in account; access to the domain claim page; ability to send concurrent requests
How it was found
- Log in and find the page that asks if you want to claim a domain for your project.
- Capture the final HTTP request that registers the subdomain.
- Drop the request and modify it with different subdomain names.
- Send many modified requests concurrently using a single-packet attack.
- Repeat attempts until more subdomains are reserved than the licence allows.
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.
A race condition happens when a website checks a limit (like how many subdomains you can claim) but doesn't properly lock things down while multiple requests arrive at the same time. By firing many requests simultaneously, an attacker can sneak extra actions through before the system updates its count. Here, the attacker claimed more subdomains than their licence allowed.
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.