Skip to content
OAuth / SSO Disclosed report Intermediate

oauth misconfigration lead to account takeover

The report claims a misconfiguration in Reddit's Google OAuth login flow allows an attacker to register a new account using an email address that was previously used to sign in with Google. The author asserts this could lead to account takeover, but provides no evidence of how the attacker would gain access to the victim's account.

greymanx1 Follow

Originally disclosed on HackerOne

  • Disclosed after 5 months

Summary:

misconfigration in aouth 2.0 login with google account in "accounts.reddit.com"

Impact:

misconfigration leads to account takeover

Steps To Reproduce:

  1. go to "https://accounts.reddit.com/".
  2. and login with your google account.
  3. after login, logout from your account.
  4. after logout go to "https://accounts.reddit.com/account/register/" and register with email you signed in before in google account oauth.
  5. as like you see it's created a new account
  • [attachment / reference]

Impact

attacker can login with any user's email thats lead to account takeover

Attachments

chrome_wcXcUrJZ23.mp4 From the original on HackerOne
chrome_sY8I5jGKgT.png
chrome_sY8I5jGKgT.png

The original report as published on HackerOne, by greymanx1. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely the OAuth login flow does not properly link or verify existing accounts, allowing duplicate registration with the same email.

Impact

The author claims an attacker could log in with any user's email, leading to account takeover, but no proof or mechanism is provided.

What the attacker needed

A Google account; access to the Reddit accounts site

How it was found

  1. Go to the Reddit accounts login page.
  2. Log in using a Google account.
  3. Log out of the account.
  4. Go to the registration page and register using the same email address that was used for the Google login.
  5. Observe that a new account is created.

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 sign in with Google, the website trusts Google to confirm your email. This report says that after logging out, you could create a new account with the same email, which might let someone else take over that account. However, the report does not show how an attacker would actually do this.

What is OAuth / SSO?

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.

More by greymanx1

View all

2 more disclosed reports, best first.

More from Reddit

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

OAuth and single sign-on flaws

The lesson behind this report.

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.