Skip to content
Account takeover Write-up Beginner

Bounty Evaluation GitHub = $15,000 US Dollars

The GitHub login email verification code could be brute-forced because no rate limit was enforced on the number of attempts. An attacker could try many codes until the correct one was found, potentially bypassing email verification.

Taniya Agarwal Follow

Published on medium.com

Bounty$15,000 View original

I found the bug on GitHub website where, I bypassed the login authentication. In this walk through I will show it was done.

Taniya Agarwal, on medium.com

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

Impact

An attacker could bypass email verification and potentially access accounts, which is significant because GitHub accounts are used for third-party sign-in.

What the attacker needed

A GitHub account with an email address; ability to intercept HTTP requests

How it was found

  1. Create an account on GitHub with an email address.
  2. Attempt to log in and receive a verification code by email.
  3. Capture the code submission request in Burp Suite.
  4. Configure a cluster bomb attack with numeric payloads for the code.
  5. Start the brute-force attack and monitor response sizes.
  6. Identify the correct code by matching the response size difference.

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.

When you sign in, GitHub sends a code to your email to prove it is you. The website should limit how many times you can guess that code. Here it did not, so someone could keep guessing until they got in.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More from GitHub

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.