Race condition — Limits? What limits? — Webhook quota cracked (10 → 81)
The webhook creation endpoint enforced the per-user limit of 10 webhooks non-atomically, so parallel requests could each pass the check before any was counted. A regular user could therefore create far more webhooks than allowed, reaching 81 in the author's test.
2. From the attacker account, used the UI to create webhooks until the UI displayed the “limit reached” message at 10 webhooks.
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 quota check and the webhook creation were not performed atomically, so concurrent requests all passed the limit check before any creation was recorded.
Impact
A regular user could create many more webhooks than the quota allows, and because no verification handshake is required they become active immediately, which could be abused to send large volumes of outbound requests.
What the attacker needed
A regular user account; ability to send parallel requests
How it was found
- Set up two test accounts in the same workspace using separate browser contexts.
- From the attacker account, create webhooks through the UI until the limit-reached message appears at 10.
- Intercept the create-webhook request with a proxy and export its payload and headers.
- Replay the captured request in parallel and observe 201 Created responses for most of them.
- Confirm the extra webhooks are listed and active in the UI.
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 webhook is an automatic notification a service sends to another address when something happens. The site said each user could have only 10 of these, but the check was done in a way that several simultaneous requests could all slip through before the count was updated. This is called a race condition: the timing between checking and acting lets the rules be broken.
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.