Skip to content
Open redirect Disclosed report Beginner

Open Redirect on www.redditinc.com via `failed` query param bypass after fixed bug #1257753

A previously fixed open redirect on the Reddit Inc website could still be triggered through the 'failed' query parameter, because a protocol-relative value beginning with two slashes was accepted as a redirect target. An attacker could craft a link that sends a victim from the trusted redditinc.com domain to an arbitrary external site.

lu3ky-13 Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 10 days
  • Paid in 10 days
  • Disclosed after 14 months

hello dear support

i have found bypass to open redirect this submission #1257753 after the fixed by sec team

455.PNG
455.PNG From the original on HackerOne

old open redirect it;s fixed and not working this url https://www.redditinc.com/ama?action=zendesk%2fdefault%2fsubmit&redirect=74bcbfb4f9c047fb4e467dd203ca3b30f2b31216551ab9db2bf44911c029d506thank-you%2fama-form-step-1&success=thank-you%2fama-form-step-1&failed=http://evil.com&ticket_form_id=360000307211&subject=AMA+Request&name=%27%22%3e%3c%2fscript%3e%3cimg+src%3dx+onerror%3dalert%28%29%3e%7b%7b7*7%7d%7d&[email protected]&[email protected]&participants=%27%22%3e%3c%2fscript%3e%3cimg+src%3dx+onerror%3dalert%28%29%3e%7b%7b7*7%7d%7d&description=%27%22%3e%3c%2fscript%3e%3cimg+src%3dx+onerror%3dalert%28%29%3e%7b%7b7*7%7d%7d&organization=%27%22%3e%3c%2fscript%3e%3cimg+src%3dx+onerror%3dalert%28%29%3e%7b%7b7*7%7d%7d&timeframe=next-week&timezone=%28GMT-05%3a00%29+Eastern+Time+%28US+%26+Canada%29&g-recaptcha-response=03AGdBq26GE8j1nvvxRFyoLySXC_sqwwVN0y8SUOy5Dt_EpgjZ_NcTluixasj63r4R-p88FygQDqWM_xAD2usiKGStmYqRt6o7DKUbfFAoJYH_e2RQnymyCPuln8k3AKMBLEVZ_aGU0hoCqzivt7ZaZWKARPDhrSOacKG4M5O7KD7LIbDAq28NtmuK7ByV0oHsM2uUQOwSv8kfsGRh5pXjLo4No1X2tlQUmj1cy7vEPQ0TJvpWzCLnc8vmhl3tjraPCqIXYkrMuf1nqAPx_0mnggUk_jUAy21JSJVGHJroH3asn70y3wOfCr_nYNAyfWo2mm3Ar5iXNwBOkq7ERaltBj9ZSaZdcOBMTq8tfKrR1mZ0h82owoCQTno3ZXHplZ7XHhegeJDOw5F4dcLHSKmiZfUNDkRqSuCO0HfDxov2ty0FWn_y9RR45fdABD--c0dqITZEUcWqJrkx&agreement=yes this old submission

and bypass here

https://www.redditinc.com/ama?action=zendesk%2fdefault%2fsubmit&redirect=74bcbfb4f9c047fb4e467dd203ca3b30f2b31216551ab9db2bf44911c029d506thank-you%2fama-form-step-1&success=thank-you%2fama-form-step-1&failed=//evil.com&ticket_form_id=360000307211&subject=AMA+Request&name=ergergerg&[email protected]&[email protected]&participants=ergerg&description=ergerg&organization=ergerg&timeframe=month-plus&timezone=%28GMT-07%3a00%29+Arizona&g-recaptcha-response=03AGdBq27Lwm_f_tiYnQMq03oi7u4iTRuxyKgIuJd80Atn2dslKRSRtojLo4zmE7bxWVskHfPWbwB1jhB_nFFnONPa8m3h1ad16G4olvmuj8uTGQEW_LpXhKG3bJqVepH4OVWkZTSo7-sCuhI6ZmyZDa03Ai3zrUvGUeJDUoQGDWW4WgdglWO3TqBzQt_lDcizkX2yGHxasyCkNiifMuarK2Bp6oH52kTUtdnSHoVELj6qDIw0-B1ytpJzKBodibN7txKqSA7-airAZUH7oGU6HZHlH5BW54kJluRlAbGWsL_pMoj6hwYwVFZ7xZzmktYtyHgn5e3TYvd4lUTwmMTReE1v4X0WIID41KgSj9Fcn8KYGo85w5pXY72o-BKWxirNxs_2lh9-WIITsqEL3eTIttbPueaZ5aIb7PS5R51r8nhnTygrWv6_NI8Y5LroEgATxHEch6bWq6-5&agreement=yes

i bypass and i add this //evil.com to failed=

777.PNG
777.PNG From the original on HackerOne
bandicam_2021-07-30_19-59-52-170.mp4

Impact

Open Redirect and bypass

The original report as published on HackerOne, by lu3ky-13. 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 redirect validation only blocked full external URLs but did not reject protocol-relative values starting with two slashes, which browsers treat as an external host.

Impact

An attacker could use the trusted domain in a link to redirect victims to an external site, which aids phishing; the report does not show any further harm.

What the attacker needed

Victim clicks a crafted link

The fix

The redirect target should be validated and protocol-relative values rejected.

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.

An open redirect is when a website takes a link destination from the address bar and sends the visitor there without checking it. Here the site was supposed to block this, but a slightly different form of the address slipped past the check, so a link on the real site could quietly send people to a stranger's site. That helps phishing, because the link looks like it belongs to the trusted site.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More by lu3ky-13

View all

30 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.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.