TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Open redirects – a vulnerability class no one but attackers cares about

154 pointsby a1aover 6 years ago

14 comments

tptacekover 6 years ago
I don&#x27;t know, I think this case is pretty flimsy. In practice, the value of an open redirect against modern applications is for &quot;phishing&quot;. But speaking as someone who has dealt with several ATO dramas over the past two years: users will click on anything. They&#x27;re not hovering over links to make sure they&#x27;re safe.<p>Open redirects are worth fixing, but they&#x27;re a lot more common than I think people expect they are. I think the severity:low the &quot;good&quot; (unconstrained, straightforward links, persistent, across all browsers) ones get is well measured.<p>I see open redirects as sort of the archetype of the &quot;t-shirt vulnerability&quot; --- the one the bug bounty sends you swag, instead of cash, for finding.
评论 #18822396 未加载
评论 #18822054 未加载
评论 #18822846 未加载
评论 #18822020 未加载
评论 #18825427 未加载
wtracyover 6 years ago
A decade ago people were using Google redirects to lure people into visiting shock sites.<p>Back then, it seemed reasonable to not consider this a real security flaw. Now that everyone has a Google account, the possibility of credential theft seems like something worth taking seriously.<p>At the very least, either host the redirect on a domain that is clearly distinct from the domain users log into, or ignore the destination parameter if the referrer is not a trusted source.<p>Now I&#x27;m wondering if this is also a potential vector for DDoS attacks against a third party. Widely distribute links &quot;to a cute puppy on Instagram&quot; that redirect to a URL that triggers a resource-intensive search operation on the victim&#x27;s server? (Bonus points if the redirect points to a page that loads an actual cute puppy in one frame, and targets the victim with a 1-pixel frame.)<p>It sounds like a stretch, but I can&#x27;t rule the possibility out. Even if it can&#x27;t be used to launch a DDoS, I could see it being used for advertising fraud.
评论 #18822037 未加载
TomAnthonyover 6 years ago
The problem is that often Open Redirects can be leveraged in unexpected ways, beyond the conventional attacks listed.<p>I have previously been awarded a bug bounty by Google for an issue that leveraged open redirects on victim sites to hijack their link equity (PageRank): <a href="http:&#x2F;&#x2F;www.tomanthony.co.uk&#x2F;blog&#x2F;google-login-hijack&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.tomanthony.co.uk&#x2F;blog&#x2F;google-login-hijack&#x2F;</a><p>It would have allowed a non-trivial financial impact on victim companies.<p>Secondly, I submitted an issue to Google which leveraged open redirects on their properties to hijack the login flow (i.e. a user is on an official Google page, selects a user and is redirected to an attacker for the password prompt - halfway through the login flow, when a user has likely already established they are on a real site): <a href="http:&#x2F;&#x2F;www.tomanthony.co.uk&#x2F;blog&#x2F;google-login-hijack&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.tomanthony.co.uk&#x2F;blog&#x2F;google-login-hijack&#x2F;</a><p>Sometimes open redirects are unavoidable, but all too often they aren&#x27;t necessary and so it is simply lazy to not fix them and point to Google and others who mark them as WONTFIX as reason not to bother doing so yourself.
arkadiytover 6 years ago
Surprised the author doesn&#x27;t mention oauth - open redirects are the achilles&#x27; heel of oauth flows and allow for full account takeovers. It is very common.
评论 #18822798 未加载
edentover 6 years ago
They&#x27;re also really useful for evading spam filters. I found[1] a bunch of government domains with open redirects.<p>Spammers were sending out emails containing links to `example.gov.uk&#x2F;redirect?url=dodgy-viagra.ph` - and certain spam filters were trained to whitelist &quot;trusted&quot; domains.<p>You also see a lot of open redirect abuse on forums - especially where they&#x27;re configured to only show the first few dozen characters of a link.<p>[1] <a href="https:&#x2F;&#x2F;www.openbugbounty.org&#x2F;researchers&#x2F;edent&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.openbugbounty.org&#x2F;researchers&#x2F;edent&#x2F;</a>
quangioover 6 years ago
Open redirect alone doesn&#x27;t look dangerous. But combining it with another vulnerabilities like OAuth misconfiguration -&gt; account takeover. I wrote a blog about this common mistake some time ago: <a href="https:&#x2F;&#x2F;pwn.netlify.com&#x2F;open-redirect-to-oauth-token-theft.html" rel="nofollow">https:&#x2F;&#x2F;pwn.netlify.com&#x2F;open-redirect-to-oauth-token-theft.h...</a>
codezeroover 6 years ago
If you ever get a third party penetration test, this is like, the first thing they find. To say &quot;no one but attackers cares about,&quot; is pretty nonchalant – we immediately patched up this clearly bad attack vector, despite it not being extremely likely to manifest as a serious problem to us, because, like, you should just do that.
评论 #18823688 未加载
hayksaakianover 6 years ago
Open redirects are also used for SEO spam to hijack domain authority and other nefarious purposes.<p>It&#x27;s silly that these big tech companies won&#x27;t fix them.
GlitchMrover 6 years ago
I once reported an open redirect attack to GitHub, and they were like, nah, WONTFIX. I believe the issue still exists.<p>That said, how useful is an open redirect attack really?
评论 #18824733 未加载
userbinatorover 6 years ago
Open redirects are also used to prevent referrers from propagating through. In that sense, they&#x27;re very useful for anonymisation.
评论 #18822138 未加载
评论 #18823335 未加载
评论 #18823681 未加载
tikumoover 6 years ago
You could just add some kind of hash based on the redirect url and check that, to ensure that it can&#x27;t be altered.
评论 #18823228 未加载
ggggtezover 6 years ago
I don&#x27;t think most browsers support redirect to javascript anymore. Maybe IE?
评论 #18823717 未加载
foobar_over 6 years ago
Is there a definitive list of attacks with prevention mechanisms somewhere ?
评论 #18824723 未加载
bronco21016over 6 years ago
Also a great tool for bypassing corporate firewall for browsing.