Race Condition And Broken Access Control On Developer Dashboard
A developer dashboard form that should only be submitted once per account could be submitted repeatedly by sending many concurrent requests, and the email field could be tampered with so a form was submitted on another user's behalf. An attacker could block a victim from ever submitting their own app request and create multiple requests per account.
Published on infosecwriteups.com
In the vast landscape of the digital world, security is the cornerstone of trust. Just as a sturdy lock secures our physical belongings, robust digital security safeguards our online identities.
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 one-submission-per-account rule was enforced with a check-then-act pattern without locking, and the email field was trusted from the client instead of being taken from the session.
Impact
A victim could be locked out of ever submitting an app request, and an attacker could create many requests per account; the text does not say whether the team treated either issue as more than medium.
What the attacker needed
A free account on the main domain; victim's email address known; ability to intercept requests
The fix
The form should take the email from the logged-in session rather than the request, and the single-submission rule should be enforced atomically so concurrent requests cannot all pass.
How it was found
- Log in on the main domain and open the developer dashboard.
- Open the My Apps tab to reach the app request form.
- Intercept the form submission request and change the email field to a victim's address.
- Send the request to the intruder and fire around 100 concurrent requests per second.
- Check the mailbox for confirmation emails and count the successful submissions.
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 is when a program checks something and then acts on it, and if many requests arrive at the same moment the check can pass for all of them. Here the site meant to allow only one app request per account, but firing many requests at once let about half of them through. Separately, the form trusted an email address sent by the browser, so someone could change it to another person's address and submit on their behalf.
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.