Easy Bounties With Open Redirects
Several endpoints accepted a user-controlled destination URL (a `next` parameter after login, and image URL fields for events and groups) without validating it, so a victim could be sent to an attacker-controlled site. The author found the same mistake on a second subdomain and in two image-upload features.
medium.com
Published on medium.com
My name is Yahya Hammam, and I enjoy hunting for security vulnerabilities and exploring how a single finding can sometimes reveal a wider attack surface.
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 used user-supplied URLs for redirects and image sources without validating that they pointed to an allowed domain.
Impact
An attacker could redirect users to an attacker-controlled site after login or via event and group images, which could be used for phishing; the text does not claim any further impact.
What the attacker needed
A free account; victim clicks a crafted link; victim logs in
The fix
The text says the first issue was resolved by the security team, but does not describe the fix; generally, redirect destinations and image URLs should be validated against an allowlist.
How it was found
- Create a valid account and log out.
- Craft a login URL with an external destination in the next parameter.
- Visit the crafted URL and log in.
- Observe the redirect to the external domain.
- Create an event, intercept the image update request and change the picture value to an external URL.
- Open the event image in a new tab and observe navigation to the external site.
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.
An open redirect is when a site takes a link from the address bar or a form and sends you there without checking it is safe. An attacker can make a link that looks like it belongs to the real site but actually lands on a fake page, which is useful for phishing. Here the site trusted a 'next' value and image URLs too much.
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.