Skip to content
Open redirect Disclosed report Beginner

prevent %2f spoofed URLs in profile statement

A URL containing an encoded slash before an @ symbol made a link appear to point to gratipay.com while actually navigating to google.com. An attacker could use this to redirect users to malicious sites through social engineering.

007divyachawla Follow

Originally disclosed on HackerOne

  • Disclosed after 16 months

https://gratipay.com%[email protected] on clicking on this url this link will take to the google.com or any other malicious url. On seeing it will look like the link will take to the gratipay but onclicking the url it will redirect to the malicious site.Attacker with the help social engg. techniques will able to redirect the user to any Ransomware site for they nefarious purpose

POC:- Click on the link it will redirect to google.com

Fix:- The hostname must end in %2f, which gets URL-decoded to /. This ensures that the browser only sends the request to the intended host.

The original report as published on HackerOne, by 007divyachawla. 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 application did not properly validate or normalise URLs, allowing an encoded slash to alter how the browser interpreted the hostname.

Impact

An attacker could use social engineering to redirect users to malicious sites, potentially leading to ransomware infections.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Create a link with the format gratipay.com%[redacted]
  2. Click the link
  3. Observe that the browser navigates to google.com instead of gratipay.com

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 link can be crafted so it looks like it goes to one site but actually goes to another. This tricks people into visiting harmful pages.

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 from Gratipay

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.