Skip to content
Open redirect Disclosed report Beginner CVE-2024-8021

Gradio Vulnerable to Open Redirect

An open redirect vulnerability exists in Gradio that lets an attacker redirect users to a malicious website by URL encoding. A crafted request causes the application to return a 302 redirect to an attacker-controlled site.

gradio

Originally disclosed on huntr

An open redirect vulnerability exists in the latest version of gradio-app/gradio. The vulnerability allows an attacker to redirect users to a malicious website by URL encoding. This can be exploited by sending a crafted request to the application, which results in a 302 redirect to an attacker-controlled site.

From the GitHub Advisory Database (GHSA-7v2w-h4gh-w5cv, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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 accepts a user-supplied redirect destination and does not validate or restrict it to trusted domains.

What the attacker needed

Victim clicks a crafted link

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 whatever address is in it, even if that address belongs to an attacker. Here, by encoding the address in a special way, someone can make Gradio bounce visitors to a harmful site. This can be used in phishing because the first 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 from gradio

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.