Slashdot Mirror


Google 302 Exploit Knocks Sites Out

clsc writes "The exploit: Redirect via 302 to another page of your choice, then watch as the URL of your redirect script replaces the URL of that carefully selected page in Google's search results. Once this happens, feel free to redirect any visitor that is not Googlebot to any other page of your choice. Also applies to other search engines as well (not Yahoo! though)."

94 of 410 comments (clear)

  1. Yikes! by LinuxGeek · · Score: 5, Funny

    Web wide malware. The return of Goatse cannot be far behind... Pun intended.

    --

    Kindness is the language which the deaf can hear and the blind can see. - Mark Twain
    1. Re:Yikes! by Silverlancer · · Score: 5, Funny

      Apparently slashdot has been hit! A mischevious hacker has added a second "your" to the article:

      "The exploit: Redirect via 302 to another page of your choice, then watch as the URL of your your redirect script..."

    2. Re:Yikes! by hanssprudel · · Score: 4, Insightful

      More seriously: How many of you have needed to log in to a machine remotely from some Windows PC, and just googled for "putty" and used the first link? Imagine how many machines you compromise by simply replacing putty's homepage in the rankings.

  2. danger! by Neuropol · · Score: 2, Funny

    #15) Optional: For mischievous webmasters only: For any other visitor than "Googlebot", make the redirect script point to any other page free of choice.

    heh. tubgirl abounds!

    1. Re:danger! by Klar · · Score: 2, Funny

      *puke*

      hah, someone wrote the address to that site on the board in our computing lab in permanent ink. Was funny to see how many people went to it.

  3. Splendid by Netsensei · · Score: 5, Insightful

    1. post how to generate more traffic to one's website by exploiting a flow in google on /.
    2. show a "random" ad (336px by 280 px) promoting 'google adsense' clearly stating "how to turn your website into a revenue generator in minutes" at said post.

    ...

    3. $$$

  4. goog by kloidster · · Score: 5, Funny

    SELL SELL SELL SHORT!!!!

    1. Re:goog by _Sharp'r_ · · Score: 4, Informative

      I know you are joking, but this problem pre-dates the IPO.

      The basic issue is that not only can purposeful individuals kick you out of the serps with a simple 302 from a higher pagerank page, but people who use 302 redirects to track outgoing links from their site (and several content management software packages do this by default) can accidently do the same thing and there isn't anything the real webmaster can do about it.

      It's been discussed in much greater detail in a thread at webmaster world for a while, as well.

      --
      The party of stupid and the party of evil get together and do something both stupid and evil, then call it bipartisan.
  5. yawn by evenprime · · Score: 5, Funny

    boy, sending me to the wrong page is such a scary and horrible thing to do. Luckily my browser came equipped with the special "back button" anti-malware plugin.

    --

    "Weapons should be hardy rather than decorative" - Miyamoto Musashi
    I think that goes for OS's too
    1. Re:yawn by Chris+Kamel · · Score: 2, Insightful

      it will be when your 14 year old boy searches for something for his research paper and gets redirected to pr0n instead.

      --
      The following statement is true
      The preceding statement is false
    2. Re:yawn by goldspider · · Score: 5, Funny

      Obviously you've never tripped a well-concealed Goatse landmine. No browser is equipped to deal with that kind of damage!

      --
      "Ask not what your country can do for you." --John F. Kennedy
    3. Re:yawn by R.Caley · · Score: 5, Funny
      it will be when your 14 year old boy searches for something for his research paper and gets redirected to pr0n instead.

      God knows, 14 year old boys need to be tricked to make them look at porn.

      --
      _O_
      .|<
      The named which can be named is not the true named
    4. Re:yawn by Ziviyr · · Score: 2, Insightful

      Gotta be nuts to let kids roam unsupervised about the net.

      --

      Someone set us up the bomb, so shine we are!
    5. Re:yawn by LiquidCoooled · · Score: 2, Interesting

      Actually, Lynx is.

      But then again, I'm just being pedantic.
      This hijacking thing is becoming a real PITA, and his recommendations to the search engines at the end of the article are reasonable.

      The fix i personally recommend is simple: treat cross-domain 302 redirects differently that same-domain 302 redirects. Specifically, treat same-domain 302 redirects exactly as per the RFC, but treat cross-domain 302 redirects just like a normal link.

      --
      liqbase :: faster than paper
    6. Re:yawn by fshalor · · Score: 2, Funny

      Just as long as M$ or someone else doesn't patent the use of the "back" button for evading this sort of ware attack. All it would take was calling it the anti-malware function or something, and we're tanked.

      I'm sure google will straighten themselves out in a few days. It's what they do. :)

      --
      -=fshalor ::this post not spellchecked. move along::
    7. Re:yawn by Anonymous Coward · · Score: 5, Insightful

      I don't know if you're a father or something, but I was less than 10 years old when I first looked at porn and it was love at first sight! That did not make me a sick pervert: I'm a engineer now and I don't regret a second having looked at porn magazines in my youth.

    8. Re:yawn by eno2001 · · Score: 4, Funny

      That's OK. I had mod points and I did it. Oh wait... ;P

      --
      -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
    9. Re:yawn by Gruneun · · Score: 2, Funny

      it will be when your 14 year old boy searches for something for his research paper and gets redirected to pr0n instead.

      Is that what he told you? "No, Dad, I was just trying to do a research paper. I had nothing to do with it!"

    10. Re:yawn by MadMartigan2001 · · Score: 5, Insightful

      Hmmm, lets see if we can calculate this...

      Research paper = good
      Porn = bad
      Young boy = Becomming a sexual being

      Grand total = Neurotic young man who feels guilty for acknowledging his sexual feelings.

      Why is it so hard for some people to acknowledge the simple fact that young people of all ages have sexual feelings that are natural. And to repress those feelings and smother them in guilt is a very very damaging thing to do.

      OH ya, I forget, all the fundamentalist (pick any religion) know exactly how we are all supposed to feel. Excuse me while I go puke!

    11. Re:yawn by VanillaCoke420 · · Score: 4, Funny

      As a former 14 year old boy I can only say that if I had internet at that age, I would not need to be tricked into going to those websites...

    12. Re:yawn by Anonymous Coward · · Score: 5, Funny

      "I swear Dad, I was just looking up stuff for my... uh... research paper, when suddenly, I was redirect to goatse!"

      "That's fine, but why is that wine bottle shoved in your ass?"

      "It was a one in a million shot, I tell ya..."

    13. Re:yawn by lpangelrob2 · · Score: 4, Insightful
      Is mentioning porn = good and fundamentalist religion = bad the way to get modded up here now? Odd. Allow me to balance this rant.

      Sex is good. Frankly, sex is great. Honestly, it's one of the best things that I've ever experienced. :-) And since it is great, these vague notions of "fundamentalist religions" that you cite never actually say "sex is bad". They do put conditions on sex, but it's up to the individual to follow them and I get the impression you aren't bound by these conditions in any event.

      Porn is porn. I'm not really going to put any moral value to it, but if you can watch it without unhealthily raising your expectations for real world women, or if you can be with real world women at that point without thinking of the porn... more power to you. Some couples say it helps their sex life, but then who are you really making love to? Your spouse or your fantasy?

      There are a couple thousand different ways this conversation can go from here (including offtopic :-) but I'll quit for now.

    14. Re:yawn by john.mull · · Score: 5, Insightful

      [diatribe]

      Having the feelings is natural. Natural as in God gave them to us as a part of our physical being. There might be debate as to whether they are there for procreation only, which depends on your version of extremism. However, the feelings ARE natural and purposefully put there.

      That does NOT mean that they should be acted on. As a fallen creature, we also have the urges to lie, cheat, steal, hurt others, and even hurt ourselves. These tendencies are seen negatively and should be. We do need to edit our responses to our feelings, sexual or not.

      Choosing to feel how I want - now that's complete freedom. Unfortunately, we aren't given that freedom. Instead, we choose between right and wrong. A moral choice based on morality which can not be defined independly from God.

      [/diatribe]

      End product? Surpression is not the only alternative to acting on them. Elimination of temptation is a good way also. Don't watch that National Geographic special on that lost Amazon tribe. Don't buy the Sports Illustrated swim suit edition. (You should have seen the look on the Best Buy cashier's face (a guy), when I demanded that he remove the SI software/magazine display from the counter. It was offensive. He thought I was kidding. I was not. It was a priceless look.)

      You can choose to avoid the temptation. Divert your eyes. Divert your thoughts. What are the guidelines? Not mine to say, but it can be done.

      john.mull

      --
      Isaiah 43:19 (NCV)
      Look at the new thing I am going to do. It is already happening. Don't you see it?
    15. Re:yawn by BoomerSooner · · Score: 5, Insightful

      Because we live in Conservative America where a breast is a horrible blight on society. I love going to Europe where shower commericals show nude women and noone seems to give a shit. Not to mention people on the beaches.

      What the fuck is wrong with people in this country. Oh yea, sex is evil & a sin if it's not for procreation. Religion is the root of all evil.

    16. Re:yawn by karnal · · Score: 2, Insightful

      You definitely need laid.

      By a man.

      Also, in the end of your rant, you choose to tell us that we can choose to avoid the temptation.

      But prior, you're asking a Best Buy employee (who has no say on what gets placed at the counter to begin with) to remove the Swimsuit Issue.

      Does it feel good that you made someone squirm? Try giving up that temptation the next time you feel all high and mighty. Making people feel uncomfortable is a temptation as well.

      --
      Karnal
    17. Re:yawn by MythoBeast · · Score: 4, Insightful

      I hate to be the one to break this to you, but most people fantisize during sex. Men and women both.

      Porn doesn't raise people's expectation of the habits of real women any more than romantic movies raise women's expectations of real men. They do a little, but then again there are a few real men and women who take a clue or two and get ideas from these media in order to help please their spouses, girlfriends, whatever.

      As far as 14 year olds seeing porn is concerned (trying to get a little bit on topic), I'm firmly convinced that our country's simultaneous demonization and glorification of sex is one of the things that makes kids curious about it. I really wish that both groups would just stop it and start teaching children about sex as a natural human function that needs to be performed with caution and discression.

      --
      Wake up - the future is arriving faster than you think.
    18. Re:yawn by ShamusYoung · · Score: 4, Insightful

      Porn doesn't always mean nice shots of bare-breasted hotties. It ALSO can mean "married lactating grandmas doing their first anal with an underage donkey!"

      If someone is doing a malicious redirect, I expect they would rather show you the latter and not the former. In either case, viewing ANY porn image can get you fired or otherwise in trouble in the right (wrong) situation.

      Someone mentioned using the BACK button. Great thinking, assuming you know you've been redirected. If the page looks right and behaves properly, how many people will notice they have been redirected to www.nat1onalbank.com, and enter their personal info. Ooops! Oh well. The BACK button can let me take back my password, right?

      Right?

      --
      --This sig is in beta. Please let us know abut any errors you find.
    19. Re:yawn by MadMartigan2001 · · Score: 4, Insightful
      "we also have the urges to lie, cheat, steal, hurt others, and even hurt ourselves"

      Sorry, I do not have those feelings. If you do, you should seek help. What your feeling is not natural, nor is it healthy. And scariest of all, when talking about natural sexual desire, you use the analogy of "lie, cheat, steal, hurt others" as examples of similar human behavior. Now that, is really the telling part of your views about sexual desire, creepy.

    20. Re:yawn by NanoGator · · Score: 4, Funny

      "t will be when your 14 year old boy searches for something for his research paper and gets redirected to pr0n instead."

      "Son! What are you looking at? Is that ... Porn!?!"

      "I told you! I'm working on a report!"

      "With naked women?!"

      "It's a History report, so I hit the History button on your computer!"

      --
      "Derp de derp."
    21. Re:yawn by Civil_Disobedient · · Score: 4, Insightful

      if you can watch it without unhealthily raising your expectations for real world women, or if you can be with real world women at that point without thinking of the porn... more power to you.

      And if you can't, you'll probably have trouble getting/maintaining a real-life GF, which will make you d/l more porn, etc. ad. infinitum.

      But so what? People can choose all sorts of ways to make themselves unappealing to the opposite sex. Maybe the moral majority should start a campaign against leisure suits.

    22. Re:yawn by nacturation · · Score: 4, Funny

      And if you can't, you'll probably have trouble getting/maintaining a real-life GF, which will make you d/l more porn, etc. ad. infinitum.

      At first I thought you wrote "a real-life GIF". Talk about misreading!

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    23. Re:yawn by robertjw · · Score: 4, Insightful

      And since it is great, these vague notions of "fundamentalist religions" that you cite never actually say "sex is bad".

      Even though we are in serious OT territory here, I thought I would throw my two cents in. Before I start, let me make it very clear that I am a member of a "fundamentalist religion", I grew up Methodist, and have been part of a non-denominational congregation since I was 15. That said, I don't completely agree with everything the fundamentalists believe, and sex is one of the items at the top of the list that I have issues with.

      Fundamentalists may not teach the "sex is bad", but they do strike a serious fear of sex in the minds of all of their teenagers. I grew up believing that having sex outside of marriage is probably the worst sin you could commit. Now I personally don't think teen sex is a good thing, really, who wants a baby at 17, but the church tends to go so far that they create (as anothe poster commented) this air for mystery about the whole thing. The church I went to often discouraged dating, kissing, being alone with someone of the opposite sex, anything that could possibly lead to sex. The problem with this is it also screws up much of a kid's psychological and sexual maturity. If you follow their rules, you never gain the experience needed to be succesful in relationships down the road. If you don't you are an outcast and a bad kid.

      Why do you think that the Christian church in America has a higher divorce rate than the general population? These kids are taught that you have to be married to have sex, and it's evil to date, so they get married at 18 to the first nice christian girl the find, just so they can sleep together. Five years they figure out that they really don't like each other, or one of them wants to go sow some wild oats, so they get divorced. I've seen in many times.

      I don't know what the right answer is, but the fundamentalist church is alienating itself from the common man by focusing on issues that either aren't important, aren't a sin or just aren't worth fighting about. They focus on things like sex, drinking, smoking, bad words and homosexuality, but ignore things like lying, cheating, stealing, and greed.

    24. Re:yawn by ltbarcly · · Score: 3, Funny

      I base my morality on the teachings of the tooth fairy.

    25. Re:yawn by Guppy06 · · Score: 3, Informative

      "I demanded that he remove the SI software/magazine display from the counter."

      Best Buy owned the magazine stand, the counter, the time of the person you were outright harassing, the building the exchange took place in, the merchandise you were holding in your hand until you handed over your money for it... in short, it's their private property! If you don't like it, go away!

      I'm no fan of T&A magazines, if for no other reason than because it's a lame and overused marketing gimimck. But you ask someone to change what they're doing in their own store, you do not demand. And if they say "no," that's the end of the matter. You have no right to dictate the lives and decisions of other people, no matter what your religion may tell you.

      "Divert your eyes. Divert your thoughts."

      Do what you will with your eyes and thoughts. Leave mine alone.

    26. Re:yawn by Jim_Callahan · · Score: 2, Insightful

      So you're saying that he should express uncertainty about something he's certain about? Oh, yeah, that would really make him more honest. Besides, you do the same thing he does in your own post. If you really lived by the philosophy you push here, you'd be saying "that which I believe can never be known by human beings," rather than just flat out asserting things.

      Just a little counterflaming to remind you guys that anti-religion has become just as ridiculously dogmatic as religion. (Bwahahaha)

      --
      ...it's really a sad day for America when we require a goddamn ACT OF CONGRESS to make our DVD players work properly. ~
    27. Re:yawn by Woody77 · · Score: 2, Insightful

      If you have an addictive personality, anything can be addictive and ruin your life.

    28. Re:yawn by snorklewacker · · Score: 4, Insightful

      Wow, thank you for that eloquent summation. It so well summarizes what I was taught, what I believed, and why I later repudiated utterly the entire belief and community that reinforced this warped worldview.

      You want to remove your temptations? Stay the fuck home and leave the rest of us alone then.

      --
      I am no longer wasting my time with slashdot
    29. Re:yawn by Frank+T.+Lofaro+Jr. · · Score: 2, Funny

      They focus on things like sex, drinking, smoking, bad words and homosexuality, but ignore things like lying, cheating, stealing, and greed.

      Sometimes they don't ignore those bad things, but embrace them. Remember the Jim and Tammy Faye Baker scandal?

      --
      Just because it CAN be done, doesn't mean it should!
    30. Re:yawn by d34thm0nk3y · · Score: 4, Insightful

      I am a member of a "fundamentalist religion", I grew up Methodist, and have been part of a non-denominational congregation since I was 15. That said, I don't completely agree with everything the fundamentalists believe,

      Then you are not a fundamentalist. Nor would I consider a "non-denominational congregation" a fundamentalist church in general.

      Is mentioning porn = good and fundamentalist religion = bad the way to get modded up here now? Odd..

      As for the GP the answer is yes because it is true.

    31. Re:yawn by mysticgoat · · Score: 4, Insightful

      There is a definite difference between being certain in your faith (internally) and claiming as fact (externally) that which cannot be tested or demonstrated by human means. Yes, there are human limitations, but this is not my belief, since I can demonstrate it with the same solidity that I can use to demonstrate the facts of gravity:

      For instance, we have an inability to know Pi with absolute precision. Perhaps a god could know Pi with perfect precision, or perhaps not... but there are proofs that it cannot be known within human experience. Another instance: not only can we not measure our ability to use our human imagination, we cannot even conceive of a yardstick that would allow such a measure. We are limited in our ability to comprehend this core part of our nature.

      This argument has been presented so many times before, and in so many different formal logical systems, that it can be accepted as a kind of universal axiom (like Plank's Constant, for instance). You can get to it as an extension of the cosmologist's anthropic principle, but there are also ways to get to it from any world view that is not arbitrarily dismissive of new information about the world.

      Someone needs to mod this as "-1 infantile philosophy". I think I've been suckered by trolls...

    32. Re:yawn by 0x000000 · · Score: 2, Insightful

      Americans are so uptight about what they see. In europe we do not like violence, movies on TV can have all the nudity they want, but violence is looked down upon.

      When I go back to the netherlands and i come over with a set of new movies i got in the US, most people i go to visit won't let their kids watch the movies. If i brought back a normal film from The Netherlands people in the US would be disgusted, and probably sue the crap out of me.

      We were all born naked, it is our natural bodies. What is wrong with that?

      --
      cat /dev/null > .signature
    33. Re:yawn by chl · · Score: 2, Interesting

      Quote: [Fundamentalist religions] do put conditions on sex,...

      This has to be the understatement of the month. Sex is what people very much want to do. Religions usually restrict their members to have sex with only one person ever, of the opposite sex, and only for reproduction. These are very severe restrictions that people only put up with because religions hold their eternal soul hostage, i.e. you don't do as we say, you go to hell. Most religions are guilty of this abuse, and I do not like them better for it (to put it mildly).

      Quote: ...but it's up to the individual to follow them

      If you do not mind being excommunicated/told you'll go to hell/publicly called a whore/stoned to death. Surely, religion has no adverse effect on people who do not obey.

      chl

    34. Re:yawn by ms139us · · Score: 2, Funny

      That did not make me a sick pervert: I'm a engineer now

      The distinction between sick pervert and engineer being what?

      Ducks...

  6. Google can't be wrong by Anonymous Coward · · Score: 5, Funny

    Insert MS blame here

  7. The dark path by lanc · · Score: 2, Insightful


    sure. Do some 302 redirect-statistic-hack. Make money. Cheat your customers. No it's no excuse that other ones are doing it as well, bad attitude.

    We are the Borg of LiarMarketing. Resistance is futile, human.

    come on - get a life, be straight.

    --
    "First they ignore you, then they laugh at you, then they attack you, then you win." -- Mahatma Gandhi
    1. Re:The dark path by filmmaker · · Score: 5, Insightful

      This is totally true.

      There are basically two schools of thought in SEO as I've seen it. You can either try and be everywhere (spamming by creating zillions of pages and links) or you can be interesting (like this blog; people want to come here, instead of needing to be tricked).

      Unfortunately, most people are about as interesting as watching grass grow, and they know it. So they spam the search engines and aim for the lowest common denominator. Sad, really.

  8. Oracle Application Server by sinator · · Score: 3, Interesting

    Oracle 9iAS and 10gAS are VERY heavy on the 302 redirects (as a way to moderate traffic using mod_oc4j).

    Most of the redirects are innocuous, for example with an application whose context-root is /foo, you'd see a redirect from http://www.example.com/foo to http://www.example.com/foo/, but I can see this product borking up search results as its use becomes pervasive in the enterprise.

    Since the product can't be changed, I'd probably change Google's behavior.

    --
    Three Step Plan:
    1. Take over the world.
    2. Get a lot of cookies.
    3. Eat the cookies.
  9. Re:everybody uses 302 by Junior+J.+Junior+III · · Score: 3, Insightful

    It's an exploit if you can't prevent someone from misusing 302, or to filter out malicious uses of 302 from legitimate ones.

    --
    You see? You see? Your stupid minds! Stupid! Stupid!
  10. Re:everybody uses 302 by Anonymous Coward · · Score: 5, Informative

    Hey look! Someone forgot to RTFA!

    You use 302 to hijack someone else's page in Google's search results. Your bogus ad infested page shows up instead of the actual content the user was searching for (and thought they were going to see), while the real website that you hijacked doesn't get any more Google traffic. That's the exploit.

    Dumbass.

  11. WTF by anthony_dipierro · · Score: 2, Interesting

    How is this hijacking? How is this any different from me simply adding the text and title of the other page to my page? Sure, I can change the redirect later, or change it for anyone except for googlebot, but I can do that with the content just as easily (more easily, in fact).

    Furthermore, I suspect google has at least a few bots which don't announce themselves as googlebots just to check for such discrepancies.

    1. Re:WTF by LiquidCoooled · · Score: 5, Insightful

      If the googlebot scans the redirected page and assigns weights based on the end result page, but assigns the ranking to your original page, then you are essentially stealing pagerank from the proper host.

      That is my understanding of the problem, and part of the reason why redirects appear to get higher rankings than simply copy and pasting somebodies content.

      As for covert googlebots, I'm sure they exist as R&D items, but doubt they would be setup in the manner you describe.

      --
      liqbase :: faster than paper
    2. Re:WTF by gl4ss · · Score: 4, Informative

      from tfa:
      *it allows a hijacking website to replace pages belonging to target websites in the Search Engine Results Pages*

      that's what it does. think about it for a while. sure they could have protection but at the time it seems they DO NOT.

      *What does it look like?
      The Search Engine Results Pages ("SERPs") will look just like normal results to the searcher when a page hijack has occured. On the other hand, to a webmaster that knows where one of his pages used to be listed, it will look a little different. The webmaster will be able to identify it because (s)he will see his/her page listed with an URL that does not belong to the site. The URL is the part in green text under listings in Google.*

      a lot of people use google as a sort of bookmarks page(with keywords they remember), potentially this could hurt them. what it more likely happens if it isn't fixed is that advertisers start to pollute the results even more, eventually leading google to be useless.

      --
      world was created 5 seconds before this post as it is.
    3. Re:WTF by slimak · · Score: 3, Funny
      a lot of people use google as a sort of bookmarks page(with keywords they remember)

      I didn't even realize that I did this until I read your post. Not that anyone cares, but I only have 4 or 5 regular bookmarks; the rest of the pages I need to goto I either a) remember because the url is so easy or i go there so much (e.g., slashdot, orderyourrussianwife.com, etc) b) do a search for them as needed (e.g. martin vetterli's homepage), or c) use the url auto-complete in the browser.

  12. Seems like by kc0re · · Score: 4, Funny

    Seems like all the hackers are struggling now-a-days. There are no "good" exploits coming out anymore. No directory Unicode transversals.. No Code Red, No Nimda. Not even SQL Slammer...
    We haven't had a good exploit/0day in how long? Since the Webdav exploit? Or the RPC DCOM? Now we have to use Google, phishing techniques, and URL redirection. We are scraping the bottom of the barrell apparently.

  13. Follow the advice by Redwin · · Score: 2, Insightful

    In the article is says:

    "For this to happen, we need to put some pressure on the search engines."

    Such as posting it on /. I'm sure that would create attention!

    --
    Warning, comments may not have been passed by the sanity department of my brain.
  14. Fake Banks by Anonymous Coward · · Score: 4, Insightful

    The use of the exploit isn't just to childishly send people to Goatse - it's about money. What happens when you go to your bank's website and get redirected to an identical-looking website that steals your information?

    1. Re:Fake Banks by SmurfButcher+Bob · · Score: 4, Interesting

      You need to OWN the site that was searched. This is no different than keyword bombing tricks of old; it is merely a bait-and-switch.

      Not news.

      --

      help me i've cloned myself and can't remember which one I am

    2. Re:Fake Banks by Taladar · · Score: 3, Informative

      You can do nothing with this that couldn't be done better with DNS Spoofing so it is not as if the problem was a new one...

    3. Re:Fake Banks by millette · · Score: 4, Insightful

      euh, ssl certificates ?

    4. Re:Fake Banks by kryonD · · Score: 2, Informative

      "You get what you deserve for going to your bank via Google?"

      I use google all the time if I'm on someone else's computer since my bank has a strange URL.

      However, if you search for say "Chevy Chase Bank" and then click on a link where the address clearly has nothing to do with Chevy Chase...well, Darwin had some things to say about that.

      --
      I've dirtied my hands writing poetry, for the sake of seduction; that is, for the sake of a useful cause. --Dostoevsky
    5. Re:Fake Banks by That's+Unpossible! · · Score: 4, Informative

      You need to OWN the site that was searched. This is no different than keyword bombing tricks of old; it is merely a bait-and-switch.

      Not news.


      I agree it's old, even the guy that wrote the article admits it goes back a few years. But you are wrong about how it works. These aren't just extra pages ... these pages can actually REPLACE yours in the search results, since Google sees the two pages as duplicates of each other, but doesn't realize it has been "tricked."

      --
      Ironically, the word ironically is often used incorrectly.
    6. Re:Fake Banks by R.Caley · · Score: 5, Insightful
      I use google all the time if I'm on someone else's computer since my bank has a strange URL

      You access your bank from a computer you don't have complete control of?

      Have you considered tapdancing in minefields as an alternative?

      --
      _O_
      .|<
      The named which can be named is not the true named
    7. Re:Fake Banks by jwin1020 · · Score: 2, Insightful

      Of course hacking the root DNS servers is just a _little_ harder than putting up a web page with a redirect.

    8. Re:Fake Banks by vperez · · Score: 3, Insightful

      Anyone who uses Google to search for their bank instead of getting the URL from their bank statement needs to be taught better.

      Users need to be a lot less trusting of things online, especially if its the result of a search.

    9. Re:Fake Banks by Donny+Smith · · Score: 2, Insightful

      > euh, ssl certificates ?

      Errr, SSL certs what?

      Once you get directed to a fake site, you can SSL all you want.

      99% of people NEVER check SSL certificates but instead choose to continue encrypted access because that's the easiest thing to do.

      And not to mention that most (financial enterprises excluded) SSL sites are self-signed, so there's no fucking point of looking at that crap anyway (morons who run unimportant mailing list archives on HTTPS instantly sprint to mind).

  15. Can I use this to knock out a fraudulent site? by Buran · · Score: 4, Interesting

    A site registered and hosted using stolen funds from my credit card is still online following phoned and faxed demands for revocation and refund sent to the registrar/host. Can I somehow use this to send an entire domain to a black hole until the hosting/domain are revoked? It wouldn't be hacking, but it would make me feel a lot better to see the scammers knocked offline. If no one can get to them on google, they can't get any scam income. And what are they going to do -- sue me? That just would result in my slapping them with *criminal* charges as well as a motion for dismissal and a countersuit.

    1. Re:Can I use this to knock out a fraudulent site? by That's+Unpossible! · · Score: 2, Funny

      A site registered and hosted using stolen funds from my credit card is still online following phoned and faxed demands for revocation and refund sent to the registrar/host. Can I somehow use this to send an entire domain to a black hole until the hosting/domain are revoked?

      No, only posting their link on Slashdot would have that effect.

      --
      Ironically, the word ironically is often used incorrectly.
  16. I hope Google et al don't support IDN by G4from128k · · Score: 2, Interesting

    In the Google example shown in TFA, its "easy" to spot a hijack by looking at the URL. But if Google or other search engines were to support IDN (Internationalized Domain Names), then it would be even easier for a criminal to hijack a bank's login page with the IDN browser exploit.

    --
    Two wrongs don't make a right, but three lefts do.
  17. No 302? by Anonymous Coward · · Score: 2, Informative

    Sheesh. What a description. Couldn't he just say:

    Create page that, when accessed by Googlebot, creates its own HTTP connection to a different, highly ranked page, and returns its contents to the Googlebot, but retuns your contents to everyone else than Googlebot.

    Ooops - no 302 needed? Houst^H^HGoogle, we have a problem.

  18. Fun by stang7423 · · Score: 4, Interesting

    Wow. That's a fun exploit... I can't wait to go tell my boss why our site links to a pron site on google.

    All kidding aside this could be a major problem for some of the more controversial websites. Akin to the Googlebombing that was just mentioned yesterday this could be the next major attack scheme on the net. Imagine a pro-life site subverting a pro-choice site, Neo-nazi's subverting a site intended for Jewish children, the US government subverting Al Jazera...

    Not a whole lot of fun IMHO. I trust google to return what I search for, if this changes I and a whole lot of other nerds are going to be left wandering aimlessly around the net.

  19. good news for the bombers.... by teksno · · Score: 2, Interesting

    well i guess this could be good news for the blogging google bombers..... http://slashdot.org/article.pl?sid=05/03/15/003522 5&tid=217&tid=1 they might actually get something done about the spam.

  20. Further Reading by mike2R · · Score: 5, Informative

    The main thread about this on WebMasterWorld is over 500 posts now.. lots of good info there.

    --
    This sig all sigs devours
  21. Bollox by pgregg · · Score: 2, Insightful

    It doesnt replace the URL at all. My reading is that google simply adds a new page in the database for the url you gave it. In this regard, how is this any different to a wget --mirror on the attempted "hijacked" site? Maybe more efficient but the net result is you are just trying to blag google hits of someone else's content.

    PageRank _should_ sort this out as I'm sure lots more people will be linking to news.bbc.co.uk than to r.example.tld/foo/rAndoMLettERS (from the example).

    Storm in a [child's] teacup.

    1. Re:Bollox by julesh · · Score: 2, Insightful

      My understanding is that it adds the PageRank of the page you redirect to, and applies it to your site. So, you appear in the listing right next to the site you linked to, above it if you have a pagerank of your own to add. If you just copied the content, then you'd end up with your own page rank only, throwing you down at the bottom of the list somewhere...

    2. Re:Bollox by Patrick13 · · Score: 3, Informative
      It doesnt replace the URL at all. My reading is that google simply adds a new page in the database for the url you gave it. In this regard, how is this any different to a wget --mirror on the attempted "hijacked" site? Maybe more efficient but the net result is you are just trying to blag google hits of someone else's content.

      PageRank _should_ sort this out as I'm sure lots more people will be linking to news.bbc.co.uk than to r.example.tld/foo/rAndoMLettERS (from the example).

      Storm in a [child's] teacup.

      I have seen this exploit used in a variety of ways.

      For instance, this kind of redirect could be used to highjack Amazon.com - the user types in Amazon into a search box, sees the title and snippet that matches amazon, clicks it, the hijacker gets affiliate commission credit for sending people to amazon.com.

      Basically the 302 link makes the linking site appear to host the target site's page, and it replaces it in the search results.

      You can pretty much do it for any site. In the case of Amazon, they'd likely void your affiliate commissions - if they noticed (which they would eventually) but if you did it for a few days before, say, Christmas, and took it down after it worked, you might net 8 - 15K in a single day.

      Another danger is a malicious site whose redirect page sniffed for JavaScript. User Agents with JS deactivated would redirect straight to, say, CNN, if the UA accepted JS, it could start loading one of the many spyware "tools" that forcefeed affiliate tracking cookies into the user's computer, or much worse.

      There are tens of thousands of searches for "cnn.com" in the search engines a day - even if the highjacker was able to only replace CNN for a day, the harm would be widespread.

      Unfortunately, the Google PageRank is not considered when ranking the sites, as Google basically considers www.example.com/302.php?www.cnn.com to actually be www.cnn.com - it will show CNN.com's backlinks when your query backlinks for the hijack url, for example.
      --
      ::.. check out some Cell Phone Reviews
  22. This is just plagiarism/cloaking by manmanic · · Score: 2, Informative
    "Sometimes the target page will win, sometimes the redirect script will win. Specifically, if the PageRank of the target page is lower that the PageRank of the hijacking page, it's most likely that the target page will drop out of the SERPs"

    This means that you can't reliably hijack the page unless you have a higher PR than it. But if you have a higher PR than that page then could just as well copy its content, then wait till you're spidered, then substitute for whatever you want.

    In other words, this is nothing more than another way to exploit two existing problems: (a) that you can steal anyone's content on the web (though see this for a way to detect it) and (b) you can cloak your site for the search engines (though I'm sure they notice that too).

    In summary, there is nothing new in this whatsoever.

  23. This really is a big deal. by bigtallmofo · · Score: 4, Interesting

    Anyone that wants to steal your traffic can take advantage of this. Nearly all the sites that I have created in the last year have been purposely hijacked by this and don't show up in any Google rankings. I've learned to live with it despite contacting the jerk responsible who pleaded innocent and said he wasn't very technical and didn't know what was going on.

    Historically, good content meant good search engine placement. Now that this little trick is being more publicized, it just decreases the amount of time required for someone to hijack your entire site and remove it completely from the search engine results.

    --
    I'm a big tall mofo.
  24. Wait... by zBoD · · Score: 5, Funny

    Do you mean this is not www.kuro5hin.org ??

    --
    BoD
  25. I would read TFA... by eno2001 · · Score: 2, Funny

    ...if I COULD get to the page. But it's being redirected with a 302. ;P

    --
    -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
  26. Duplicate content by tfountain · · Score: 2, Interesting

    I've seen this effects of this first hand and it's a slightly nastier problem than people realise.

    It's not uncommon for search engines to penalise sites for duplicate content, i.e. identical content on multiple domains. So with this problem all it takes is a couple of other sites to link to you, completely innocently with a 302, and *bang*, your site disappears down the listings.

  27. Google Search Results Redirected to Ebay by Junior+Samples · · Score: 4, Interesting

    I've noticed that a lot of my google searches get redirected to an Ebay search page even though the displayed url in the search results is a non-ebay url. I checked the Google cached result and it was not the same as the re-directed page.

    It's very annoying as I haven't been able to figure out what is going on. The same Ebay search results show up under dozens of urls in the Google search results

  28. Two words by Anonymous Coward · · Score: 2, Insightful

    Windows firewall.

    Windows firewall apparently put the rubber on any bugs out there spreading rapidly. Don't lose all hope though there's plenty of viruses that can spread the old fashioned way, through email and MSN. Not even by exploiting vulnerabilities, just by suckering people.

    "Visit this URL and download and run this cool file"

    I expect a nasty IM virus someday.

    1. Re:Two words by shird · · Score: 2, Insightful

      I expect a nasty IM virus someday.

      I dont. There was a recent gdiplus bug which allowed arbitrary code to be executed through just viewing an image. This could be exploited through MSN messenger with no interaction on part of the user.

      So wheres the virus? There is none, because MS just has to block that client and force people to upgrade to connect. Centralisation can be a wonderful thing sometimes.

      --
      I.O.U One Sig.
  29. Why This is Such a Big Deal (A Summary) by Anonymous Coward · · Score: 5, Informative

    There seems to be a lot of confusion as to why exactly this is such a big deal. A lot of people saying there's no problem or that this is nothing... basically just not understanding the issue. Let me explain:

    Suppose you have a small business under the domain http://xyz.com/, and search engines bring you a lot of traffic because you rank high for keywords in your market. You have a lot of people out there linking to you, a lot of satisfied customers, good content on your site. You're always in the top 10 somewhere when people search for "xyz widgets".

    Well, this issue with Google makes it very easy -- incredibly easy -- for someone to knock your site out of the rankings entirely. And I mean for *everything*, to where searching for your own company name in quotes literally buries you hundreds of pages deep in the results. We're talking sites going from getting 1000 unique hits to 10 overnight.

    And here's the kicker: It requires absolutely no technical knowledge, no time investment, and is perfectly legal...

    All I have to do is have another domain handy that is roughly as popular as yours. And I make a "links" page, like one of those directory services, that lists your website. But instead of being a normal hyperlink, it's a CGI (or PHP or ASP or whatever) script that generates a 302 redirect to your domain... Now, these are very simple, common scripts. One-liners that you can download from cgiscripts.com and stick on your server. The original intent of these scripts is to track which links are being clicked on your site. But now they've found a new use, because when Google gets that 302, all hell breaks loose.

    See, according to the HTTP spec, 302 is a *temporary* redirect, which means Google is supposed to interpret whatever content it finds at the 302 target (your site) as really belonging to the URL of the source (my site). Google is just obeying the spec strictly here, and with devestating results. Why? BECAUSE THE DUPE FILTER NOW KICKS IN! You see, Google has a "dupe filter" that says if the same exact content is found for two unique URLs, then one of the URLs is obliterated in the rankings. Because after all, searchers don't want to be finding the same content over and over. If that happens, they'll start using a different search engine. But Google, sticking strictly to the HTTP spec, doesn't know who the content really belongs to when it gets a 302.

    So Google essentially flips a coin. And if it comes up tails, say bye-bye to your domain in the rankings. Your *entire* domain. Because the dupe filter isn't limited to just the page that the 302 is pointing to -- it applies across your entire domain.

    These 302 "exit-link-trackers" are all over the web. They've been used by webmasters for years. But it's just recently that Google has started treating 302 this way, so it didn't have any bad effect before. But now it kills you.

    The funny thing is, the solution seems pretty simple: Just stop treating 302s this way if they point to a different domain. But for whatever reason Google isn't listening. Hopefully the press that's being generated now will give them the kick in the ass that they need.

  30. I don't get it by zeath · · Score: 2, Interesting

    I don't get it. This is all just sensationalism to me. If you play with 302 redirects, something bad might happen, but there's no way to predict it (as per the article, it's an arbitrary choice based on pagerank and other internal mechanisms). To me this is just a Google equivalent of terror alert orange.

  31. It happened to me.. by Dynamoo · · Score: 4, Informative
    It happened to me, and I'm sure by accident. I have a reference page that gets about 1000 hits a day.. and all of a sudden traffic dried up. It wasn't that it had gone down - Google was suddenly sending zilch.

    Well, I knew about the 302 bug (in fact, it's been known for months in professional webmaster circles).. so, I did an allinurl:mydomain.com/mypage.htm search on Google to find the culprit. Low and behold, it was some blog page about one PR below my page with a script that redirected through a 302. The catch was that this redirect script ONLY worked if you clicked on it from the blog itself - if you clicked on it from the Google SERPs you got a 500 server error.. so in effect, Google misidentified the redirect page as my actual page and then subsequently tried to spider it from the URL directly and got a 500 error.. the result being that I was dropped from the index. Was this malicious? Hardly - the webmaster had compiled a small list of cool, useful links - not knowing that his buggy redirector was killing those sites off.

    So whaddya do? I tried emailing the webmaster but everything bounced. It looks like he was out of the country. I tried giving Google feedback, but frankly that's just like offering up a prayer to the Great Google God - so I also used the BASE HREF trick mentioned in the article, and after a few days the page came back in the index as normal. So, either that trick worked or the Google God answered my prayers. I'm guessing at the former.

    --
    Never email donotemail@WeAreSpammers.com
  32. 301 and 302 have very different meanings. by muonzoo · · Score: 4, Informative

    This "exploit" isn't very interesting and the author really doesn't seem to have a good grasp of the HTTP protocol design, the end-to-end model, or the internet in general.


    I'd be very careful before I blindly changed all my redirects to 301s. The semantics behind a 301 and 302 are VERY different and unless you want people to replace the original URI with the target in your 301s, forever, you might be entering a world of hurt.


    From RFC 2616 -- HTTP/1.1 :

    10.3.2 301 Moved Permanently

    The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs. Clients with link editing capabilities ought to automatically re-link references to the Request-URI to one or more of the new references returned by the server, where possible. This response is cacheable unless indicated otherwise.

    ...

    10.3.3 302 Found

    The requested resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client SHOULD continue to use the Request-URI for future requests. This response is only cacheable if indicated by a Cache-Control or Expires header field.

    ...

    This is a common theme in the high-tech world; Joe Hacker figures out a problem and a 'solution'. Problem is, they don't understand all the implications of the solution. That doesn't stop them from yelling loudly about the solution. Without a comprehensive explanation of the impact of the 'solution' you might be just causing yourself harm in other areas down the road.


    Education and thorough analysis are always a good idea when you are dealing with complex systems that might have emergent behaviors. This is certainly one of the bigger pet-peeves at the IETF and with the IESG.

  33. This has been known for more than 2 years now by Barnoid · · Score: 2, Informative

    as can be seen in this thread on webmasterworld:

    I have two sites, one is the main site which we'll call www.widgets.com and one is a site with a catchy name that automatically diverts to www.widget.com, we'll call this site www.widgetscatchy.com.

    Kind of confused that www.widgetscatchy.com site had a PR5 so checked the incoming links and for some reason when I check the links to this site is shows www.widgets.com's links instead of it's own. Even when listing the site Google states 'Searched for pages linking to AYdabadfa:www.widgets.com/' instead of 'Searched for pages linking to AY4cSZStU-0J:www.widgetscatchy.com/'

    The sites are using the same hosting company but they're both two completely seperate accounts and have completely different content.

    Why has Google amalgamated these two sites links? I'm just slightly worried that Googlebot will drop the pair of the sites from the index if it decides that the two sites are the same.

  34. Sombody has to say it by marvin2k · · Score: 4, Funny

    *waves hand*
    "This isn't the webpage you are looking for."

  35. Nothing new? by sphen · · Score: 2, Interesting

    A quick search on Google gave me this link:

    http://www.tonyspencer.com/mt/archives/2004/12/t ra cker2php_pag_1.htm

    This has clearly been documented before. I'm surprised it has not been fixed after all this time. The slashdot post and the clsc.net page gave me the impression this was something new.

  36. preview with Google cache by whovian · · Score: 2, Informative

    Tired of having search results hijacked to other web portal search engines or what-not, I have pretty much resorted to previewing my search results. I tend to skip over pages that, for one reason or another, do not have a link to the cached page.

    --
    To-do List: Receive telemarketing call during a tornado warning. Check.
  37. But why not use it for good purposes? by MrHanky · · Score: 2, Funny

    It would be nice if someone did something like this to the CherryOS "developers".

  38. The only problem I see.... by Transcendent · · Score: 3, Informative

    Easiest way to fix it is to not follow 302's since 302 means "The requested resource resides temporarily under a different URI."

    I would imagine that this could cause a problem with getting a website into the listing that is in the process of moving, but if Google simply waited until it's an actual 200 status code, then redirections would get ignored (since they're not .

    From the W3C document:
    The temporary URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).

    Again, and since even the temporary URI doesn't have to be given, 302's should be ignored. Even 301's and 303's are not acceptable since the new URI doesn't have to be given.

    The harder way to fix it is to only accept 3xx response codes that give the new URI in response. Even then, I assume it's possible to still fake a 200 response code if you modify the http daemon, and make a transparent redirection... thus fooling the search engine in every respect.

    In my opinion, I don't see a way around it unless you include signature files or such... but even if you used and SSL connection, it's probably still exploitable.

    I guess you're damned any way you look at it.

  39. Part of the reason for this... by ArtStone · · Score: 2, Informative

    I started writing a spider way back when I first found out about the internet (1995ish) as a learning experience and have continued to tweak it over time, although it is not yet a commercial product.

    The problem the spider has to deal with in trying to organize and rank the results is that there is an inherent problem with the way web servers handle default web pages for a domain or a directory:

    http://www.xyz.com/ actually pulls up http://www.xyz.com/index.html (because apache or the web server has been told to use index.html if no page component is in the URI) - but there is no requirement to communicate the "index.html" page name to the client, and very few servers actually do that (if they do, you'll see the URL change in the browser)

    Some of the incoming links point to just the doemain, other links point to the fully qualified URL. More than likely, your spider will eventually follow both and then receive web pages that are nearly identical.

    At some point, xyz.com discovers php (yea!)... but they have traffic and page rank associated with index.html. They put up a 302 redirect to point index.html -> index.php

    Or they symlink index.html to index.php and tell php to parse index.html even though the extension is .html...

    So from google's perspective:
    http://xyz.com/
    http://www.xyz.com/
    http://xyz.com/index.html
    http://www.xyz.com/in dex.php
    http://www.xyz.com/index.html
    http://xyz .com/index.php

    all return identical content and the web has links pointing to every one of those names (and those links almost never go away or are corrected once created). From the Search Engine's perspective, which is the "real" URL/URI for the page?

    Google (and the visitor) generally would like the answer to be

    http://www.xyz.com/

    Using the BASE URL tag tells Google the actual page name and clears up any ambiguity, which is why using one partially fixes the problem in some cases.

    <head>...<base href="http://www.xyz.com/index.php"></head>

    Now, let's make it uglier:

    Ecommerce web site is installed in subdirectory, but wants its main page to be the "default" page for the domain - referral tracking and cookie management depends on this - however the web pages rely on the package existing in a subdirectory of the document root:

    Actual URI is http://www.xyz.com/ecommerce/index.php

    How do you get to that page as the default without confusing the search engines or losing the referring URL? Possible answers:

    1) Use a meta refresh - doing that loses tracking information, as the landing page becomes the referring page. Google will also not be happy as this looks like a doorway page, and the redirect page itself has no real "content" to index
    2) Use a 301 redirect - Bzzzzt - wrong answer - if you do this, you'll telling the world that http://www.xyz.com/ no longer exists in all perpetuity.
    3) Use a 302 redirect - clears up tha ambiguity, however confusing Page Ranking at least temporarily - since your incoming links mostly point at http://www.xyz.com/, not http://www.xyz.com/ecommerce/index.php
    4) Use a Base Ref on /ecommerce/index.php identifying itself as the true identity of that page. If at some point, you change from php to to the next great scripting language, the change to the base href will pick that up. I would HOPE that the Google duplicate detection considers the BASE URI to be authoritative as long as it matches the domain, and drops all other identical pages.
    5) Have the web server return a content-location: header. This is similar to the base URL, except it is done at the http level not within the HTTP. content-location: can either be relative to the request or absolute. It isn't authoritative, but could be helpful. In general, a cross-domain content-location header would have to be ignored, otherwise you would have the same exploit... you request

    --
    Final 2006 "Proof of Global Warming" US Hurricane Count -> 0