Invite tokens have Insufficient entropy in GHES Management Console
Invitation tokens generated by the GHES Management Console had insufficient entropy, so an attacker who knew a user invitation was pending could brute force the token and take over the pending account creation. The issue affected all GHES versions since 3.8 and was fixed in later releases.
- Triaged in 32 days
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 3 months
Summary by the program
An insufficient entropy vulnerability was identified in GitHub Enterprise Server (GHES) that allowed an attacker to brute force a user invitation to the GHES Management Console. To exploit this vulnerability, an attacker would need knowledge that a user invitation was pending. This vulnerability affected all versions of GitHub Enterprise Server since 3.8 and was fixed in version 3.8.12, 3.9.7, 3.10.4, and 3.11.1. This vulnerability was reported via the GitHub Bug Bounty program.
Summary by the researcher
Invitation tokens generated by the Github Management Console had low entropy allowing an attacker to iterate over the low number of potential combinations in order to take over a pending user account creation. To exploit this vulnerability, an attacker would need knowledge that a user invitation was pending.
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 who knew an invitation was pending could brute force the token and take over the pending user account creation.
What the attacker needed
Knowledge that an invitation is pending
The fix
The vulnerability was fixed in GHES versions 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.
When you invite someone to a system, it creates a secret code (a token) that the invitee uses to accept. If that code is too predictable, someone else can guess it. Here the codes had too few possible values, so an attacker could try them all and hijack the invitation.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.