Skip to content
Open redirect Disclosed report Beginner

Rxss on █████████ via logout?service=javascript:alert(1)

The logout page accepted a service parameter that redirected users to any URL, including javascript URIs. An attacker could send a crafted link to redirect victims to phishing sites or run script in their browser to steal tokens and other data.

m00n_knight Follow

Originally disclosed on HackerOne

  • Triaged in 16 hours
  • Fixed in 24 days
  • Disclosed after 31 days

Description: I found open redirect and xss (Rxss) at the ██████████ logout page, https://████/██████████/logout?service=https://google.com It also allows javascript URIs, leading to Xss

Impact

Attacker can trick users to visit malicious websites or can lead to phishing and many other type of attacks, and can steal user token, IP & etc. with xss

System Host(s)

████████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Take this URL: https://███████/█████████/logout?service=https://google.com
  2. Change "https://google.com" to whatever URL you want to redirect to.
  3. Visit the URL and click on back button and you will be redirected to that site
  4. for xss replace https://www.google.com with you xss payload ex: https://██████████/██████/logout?service=javascript:alert(1)

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by m00n_knight. 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

Impact

An attacker could trick users into visiting malicious sites for phishing, and could run script to steal user tokens and IP addresses.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Take the logout URL with the service parameter set to a normal website.
  2. Change the service value to any URL you want to redirect to.
  3. Visit the URL and click the back button to be redirected to that site.
  4. For script execution, replace the website with a javascript URI payload.

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 logout page had a setting that told it where to send you afterwards. The site did not check that address, so it could point anywhere, even to a script that runs in the victim's browser. An attacker only needed to send a link to make this happen.

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 U.S. Dept Of Defense

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.