Skip to content
Open redirect Disclosed report Beginner

Safe Redirect Bypass

A URL containing a null byte bypasses the safe redirect mechanism and sends the victim directly to an attacker-controlled site. The reporter suggests the bypass may be related to a previous fix.

try_to_hac Follow

Originally disclosed on HackerOne

Bounty$560 Low View original
  • Triaged in 47 hours
  • Fixed in 10 days
  • Paid in 14 days
  • Disclosed after 44 days

Hello Team,

Summary: The url below bypasses the safe redirect and redirects directly to the malicious website. http://evil.org/%00

The reason for this may be the fix in the report #921286.

Steps: Tweet the url below: http://evil.org/%00

Thanks! @cyanpiny

Impact

The attacker can direct the victim directly, bypassing the safe redirect to the website.

The original report as published on HackerOne, by try_to_hac. 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 did not correctly handle a null byte in the URL, allowing the check to be bypassed.

Impact

The attacker can direct the victim directly, bypassing the safe redirect to the website.

What the attacker needed

Victim clicks a link

How it was found

  1. Tweet the URL containing the null byte.

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.

A safe redirect is a feature that checks where a link is taking you before sending you there, to stop attackers from using a trusted site to send you to a bad one. Here, adding a special invisible character (a null byte) to the end of the address confused that check, so the site sent the visitor straight to the attacker's page.

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 try_to_hac

View all

4 more disclosed reports, best first.

More from X / xAI

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.