Skip to content
Open redirect Write-up Beginner

Part 1- Exploiting Content Injection & Info Disclosure: A High-Impact Bug Worth Big Rewards!

The web application reflected arbitrary text appended to the URL path directly into the page, allowing an attacker to inject misleading content. A crafted URL could also redirect users to a malicious page that collected their IP address, system details, and browser metadata.

hackersatty Follow

Published on hackersatty.medium.com

Hi everyone! My name is Satyam Pawale, also known as @hackersatty in the bug bounty world.

hackersatty, on hackersatty.medium.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application reflected user-controlled URL path content into the page without sanitisation and allowed open redirects to untrusted domains.

Impact

Attackers could deceive users into visiting phishing sites and harvest sensitive details such as IP addresses and browser metadata, potentially leading to credential theft and fraud.

What the attacker needed

Victim clicks a crafted link

The fix

The security team addressed the issue after it was reported, and the report recommends sanitising inputs, using a strict Content Security Policy, restricting URL parameters, showing generic error messages, and allowing only pre-approved redirects.

How it was found

  1. Open the target website's home page.
  2. Append arbitrary text to the URL path.
  3. Observe that the appended text is reflected on the page.
  4. The crafted link redirects users to a malicious page that collects their information.

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 write-up has not been written yet. The Original tab links to the source.

When you type a web address, some sites copy part of it onto the page. Here, the site copied whatever was in the address without checking it, so an attacker could put a fake message like 'the site is broken, go to this link' on the real site's page. The attacker's link then took visitors to a page that secretly recorded information about their computer and location.

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 hackersatty

View all

8 more disclosed reports, best first.

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.