Skip to content
Open redirect Disclosed report Beginner

Open Redirection Security Filter bypassed

The application's open redirect filter could be bypassed by crafting a URL that contains the required domain string and ends with an image extension, allowing an attacker to redirect users to an arbitrary site. An attacker could use this to send victims to a malicious domain.

securityidiots Follow

Originally disclosed on HackerOne

  • Fixed in 10 days
  • Disclosed after 5 months

Hi,

The application is vulnerable to Open Redirection using a basic filter bypass which it was using for security against open redirection.

Here is the vulnerable link: https://vimeo.com/tools/edit?image=http://securityidiots.com?vimeocdn.com/.png

Weakness in filter against Open Redirect.: Actually the application is using the below given filters against open redirection.

  1. URL must contain "vimeocdn.com/"
  2. It should end with an image extention for example jpg, png etc

The problem with the above filter can be seen in my payload, as i included both of the requirements and still redirected the user to my url.

Solution : Below changes can be made to the security. If "https://f.vimeocdn.com/" is the URL for images then hardcode it and take the rest of input from GET so that in any case we will have "https://f.vimeocdn.com/" before the URL and user wont be able to do a open redirect to any other domain.

The original report as published on HackerOne, by securityidiots. 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 filter only checked that the URL contained a specific domain string and ended with an image extension, without validating the actual destination host.

Impact

An attacker could redirect users to an arbitrary external site of their choosing.

What the attacker needed

Victim clicks a crafted link

The fix

The fix should hardcode the trusted image domain prefix and only accept the remaining path from user input, so the destination cannot be changed.

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 parameter and sends you to another site without checking it properly. Here, the site tried to block this by requiring the link to contain a certain domain and end with an image file extension, but an attacker can include those in a link that still goes to their own site. This means a victim could click a trusted-looking link and end up on a malicious 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 securityidiots

View all

1 more disclosed report, best first.

More from Vimeo

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.