Skip to content
Open redirect Advisory Beginner

GHSL-2020-126: Open URL redirect in Orange Forum 1.x.x

The login handler in Orange Forum 1.x.x only checked that the redirect URL started with a slash, so a URL starting with two slashes was treated as local. An attacker could send a crafted link to the login page with a next parameter pointing to an external site, and after the victim logged in they would be redirected to that external site.

ghsecuritylab Follow

Originally disclosed on GitHub Security Lab

There exists an Open URL redirect vulnerability in the 1.x.x branch of Orange Forum. An attacker can send an Orange Forum user a crafted link targeting the login page of Orange Forum, with a next query parameter of the form //evil.com.

ghsecuritylab, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

The login handler checked only that the redirect URL started with a slash, which does not prevent protocol-relative URLs that start with two slashes from redirecting to an external domain.

Impact

The vulnerability could lead to information disclosure and potential client-side exploitation, though the text does not specify further details.

What the attacker needed

Victim clicks a link; victim logs in

The fix

The 1.x.x branch was discontinued and no fix was provided; users should update to the 2.x branch.

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.

When you log in to a website, it often sends you back to the page you came from using a hidden address in the link. This report shows that the site only checked whether that address started with a slash, which is not enough to keep it on the same site. An attacker could make the address start with two slashes, which browsers treat as a different website, so after logging in you would be sent to the attacker's 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 ghsecuritylab

View all

132 more disclosed reports, best first.

More from GitHub Security Lab

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.