Persistent Unauthorized Administrative Access on All Organization Repositories via RC in User Conversion to Organization
A race condition during conversion of a user into an organization on GitHub Enterprise Server could allow an attacker administrator access.
Originally disclosed on HackerOne
- Triaged in 5 days
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 6 months
Summary by the program
A race condition in GitHub Enterprise Server was identified that could allow an attacker administrator access. To exploit this, an organization needs to be converted from a user. This vulnerability affected all versions of GitHub Enterprise Server since 3.7 and was fixed in version 3.7.19, 3.8.12, 3.9.7, 3.10.4, and 3.11.1.
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 gain administrator access, but only on GitHub Enterprise Server instances where a user is converted into an organization.
What the attacker needed
GitHub Enterprise Server 3.7 or later; ability to convert a user to an organization
The fix
The race condition was fixed in GitHub Enterprise Server versions 3.7.19, 3.8.12, 3.9.7, 3.10.4 and 3.11.1.
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 is a timing flaw where two actions happen at almost the same moment and the software handles them in the wrong order. Here, converting a user into an organization could be raced so the attacker gains administrator access.
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.