Insecure OAuth redirection at [admin.8x8.vc]
The OAuth flow on the meetings admin application did not properly validate the redirect location, so the authorisation code could be sent to an arbitrary domain. An attacker could use a leaked code to log into a victim's account.
Originally disclosed on HackerOne
- Triaged in 1 hour
- Fixed in 7 days
- Disclosed after 3 months
Summary by the program
The meetings admin application performed an insufficient validation of the specified redirect location during OAuth negotiation.
Summary by the researcher
There was an improper redirection in "admin.8x8.vc" oauth that lead to takeover the admin.8x8.vc SSO accounts , When trying to adding an admin account in admin.8x8.vc you'll get a redirection to make authentication with your gmail account, and this redirection was not validated ,which leak the code token to whatever domain,, hacker have the ability to use these codes to log into the victim's account
- Vulnerable parameter : successRedirectUrl >> was accepting any domain to send the oauth secret login codes
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
The OAuth redirect parameter (successRedirectUrl) accepted any domain instead of only trusted ones, so the authorisation code was delivered to an attacker-controlled location.
Impact
An attacker could obtain the OAuth code and use it to take over the victim's admin SSO account.
What the attacker needed
Victim starts the OAuth login flow; attacker can lure victim to a crafted link
How it was found
- Start adding an admin account on the admin application.
- The application redirects to Google for authentication.
- Observe that the successRedirectUrl parameter is not validated and accepts any domain.
- Set the redirect to an attacker-controlled domain to receive the OAuth code.
- Use the leaked code to log into the victim's account.
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 site sends you to Google and then Google sends you back with a short-lived code that proves who you are. This site let the attacker choose where that code was sent, so the attacker could receive it and use it to sign in as the victim.
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.