Skip to content
Open redirect Disclosed report Beginner CVE-2021-22873

Open redirect in ck.php and lg.php

The lg.php and ck.php scripts in Revive Adserver accept destination parameters that cause an open redirect. An attacker could craft a link on the trusted domain that sends users to a malicious site.

mbeccati Follow

Originally disclosed on HackerOne

Medium 5.4 View original
  • Fixed in 2 hours
  • Disclosed after 22 hours

An opportunity for open redirects has been available by design since the early versions of Revive Adserver's predecessors in the impression and click tracking scripts to allow third party ad servers to track such metrics when delivering ads. Historically the display advertising industry has considered that to be a feature, not a real vulnerability.

The lg.php and ck.php delivery scripts are subject to open redirect via either dest, oadest and/or ct0 parameters.

Impact

Users seeing a trustworthy domain could be redirected to a malicious URL without realising.

The original report as published on HackerOne, by mbeccati. 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 tracking scripts take a destination URL from a request parameter and redirect to it without checking that it points to an allowed domain.

Impact

Users seeing a trustworthy domain could be redirected to a malicious URL without realising.

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 lets you put any web address in a link and it will forward visitors there. Because the link starts with the trusted site's name, people may click it thinking it is safe, but they end up on an 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 mbeccati

View all

2 more disclosed reports, best first.

More from Revive Adserver

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.