Slashdot Mirror


Security Hole Lets Lycos Run Arbitrary JavaScript

JibbaJabba writes "Securiteam is reporting that a "security vulnerability has been confirmed in Lycos's Search Engine" which "allows malicious web site owners to cause JavaScript code (or any other HTML code) to get included in the search results displayed to the end user by Lycos". They also state that "other engines are suspected to be vulnerable as well". Anyone tried google yet? The original bugtraq report by Sentry Labs is available here." Proof once again that the jerks have more spare time then the people who actually do something worthwhile.

141 comments

  1. Re:What Kinds of Malicious Code? by Anonymous Coward · · Score: 1

    Yeah, sure, Javascript is harmless. Click here for proof you're wrong.

  2. Comment out results? by Anonymous Coward · · Score: 1

    Could someone use this to embed an HTML comment character in their description to prevent further search results from being displayed?

  3. Re:yes, Rob. by Anonymous Coward · · Score: 1

    If jerking is outlawed, only outlaws will have jerks!

  4. Re:What Kinds of Malicious Code? by Anonymous Coward · · Score: 1

    EMCAScript (formerly known as JavaScript) can in fact be used to propogate spam. It is widely deployed in freely downloadable browsers such as NetScape and Internet Explorer. It is turned on by default. Struggling eCommerce web sites use applets to gather valid email addresses. In one documented case a real estate agent presented a talk on how to use a JS applet to troll casual web site browsers for valid email addresses. The thought being that anyone who spends a fair amount of time browsing online real estate ads is probably looking for a house the return to the web site is valuable: pre-self-filtered valid email addresses. The next morning you wind up with mortgage spam, moving company spam, etc. It does not take much imagination to see where such marketing ploys will go if they fall into the wrong hands. Do you actually like spam? Do you want to see more of it clogging the 'net? Then be sure to surf without turning off JavaScript in your browser.

  5. Praising security "investigators" by Anonymous Coward · · Score: 3

    I don't think I'm buying into this "they are only showing you how bad your stupid code is." reasoning anymore. ALL code is flawed, so taking advantage of it is like pushing down someone you meet on the sidewalk and saying "I am only showing you how poor your center of gravity and sense of balance are!" No, that is not a reasonable line of thinking. If you want to make something better, show the makers what's wrong, and post publicly if it is not taken care of. all of the rest of this is some kind of ego-run-amuck b.s. about trying to _be_ "Neo" hacking "the man". and it is _very_ juvinile. I spend FAR too much of my time trying to make sure that my servers are pactched and my virus files are up to date and my users are not sending out company data to outside sources that don't need to know. It takes away from a sys. adim's time that _should_ be spent watching company information flow and user environments to look for ways to help it improve the company. NOT making sure that the 13 year old kid that just got out of school isn't making sure I know that IIS has a buffer overflow problem that gives him all of my customer's credit cards. Not ALL information was meant to be free. If you disagree please feel free to apply for wireless service from verizon or AT&T and learn all about how "helpfull" these "security advisors" really are.

    1. Re:Praising security "investigators" by neoThoth · · Score: 2

      I've seen a few posting in this same manner and I can see your point. One point that I think you are missing entirely is that whether or not these bugs are reported by these security advisors, they exist. And if they exist you can bet your last dollar someone is exploiting it somewhere. What these teams do is make it public so that someone has to fix the bug. Otherwise a group of very elite folks who figured it out in the first place are going to keep using it to intrude their way into someones servers.
      People that claim to have found a bug are probobly the 10th or 11th person that found it. but at least they aren't of the mind to go find every server with that flaw and exploit the hell out of it.
      the very fine line comes with the fact that once bugs are announced it's now a race called sysAdmins vs. script kiddies. This part I agree can suck for a lot of people. Keeping up with all of this is a tough job. Then again if you don't like the job go serve fries at McDonalds.
      thothic
      [ps. that whole Neo thing is not funny. (neoThoth.. shortened to neo) I had that handle way before that no talent ass monkey let the Matrix carry his career.

    2. Re:Praising security "investigators" by btellier · · Score: 2
      So basically what you're saying is that you'd rather get hacked once a year than apply patches every few weeks?

      People who do security research are smart enough to know that they're not the only smart ones out there. When they post an advisory they do it because they know that someone out there has already found the bug, exploited it, and kept it to themselves. Sure, your chances of getting hacked after it becomes public increase many fold *if you don't apply the patches*, but at least you have a chance of defending against a known enemy.

      As far as the "let the makers know and then post publicly if action isn't taken" argument, let me give you an example: the recent Code Red worm was based on an IIS .ida extention overflow. If eEye had simply alerted MS about this issue and promised that they wouldn't post the information MS would've simply incorporated the fix into the next service pack, not wanting to raise any alarms about IIS security. In the meantime, someone else could've found the hole, written the worm and released it to the waiting internet. In that scenario no one would've been patched and the worm would've compromised ten times the servers that it did.

      In the end, posting publicly gives sysadmins the opportunity to minimize the exposure to vulnerabilities. Don't forget: just because it isn't public doesn't mean it isn't there.

      -brock

  6. Re:yes, Rob. by Wakko+Warner · · Score: 2
    The "juxtaposition" (or lack thereof) of "jerk" and "sysadmin" was meant to inspire humor.

    - A.P.

    --

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  7. yes, Rob. by Wakko+Warner · · Score: 3
    We should outlaw being a jerk.

    Then I would feel much less nervous, as a sysadmin.

    - A.P.

    --

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
    1. Re:yes, Rob. by garcia · · Score: 2

      yeah, and your users would be less pissed off too ;-)

    2. Re:yes, Rob. by 4of12 · · Score: 2


      We should outlaw being a jerk.
      Then I would feel much less nervous, as a sysadmin.

      O, right, I am *so sure*.

      Have you even thought about this for a minute?

      Some of our ver best sysadmins are jerks!

      Where would that leave us?

      I'll tell you where: with clueless nice-guys running the computers, that's where!

      --
      "Provided by the management for your protection."
  8. Re:This adds nothing to the original post by Tim+Macinta · · Score: 2
    The first two things you mention are as harmless as the original poster said already, and additionally they're already possible to do now! By doing the same things people do to get their site to be in the first 10 hits.

    I don't think there there is another means presently known to redirect the user directly from the list of results within a search engine before the user ever actually clicks on any of the results. Maybe you misunderstood what I wrote or I wasn't clear in what I meant - or maybe I'm misunderstanding you now. How can you go about redirecting users from the page within the search engine that shows the first few results without using this Javascript exploit?

    How the things that I listed differ from the things listed by the original poster are that the original poster considered the most nefarious possibility of redirection to be an annoyance (in the same way that porn sites flood you with annoying popups [from what I've heard]) whereas I suggested that a much worse use of redirection would be to deceive the user. The key is that the user thinks he is still on Lycos when he is not and this opens up a whole can of worms. Perhaps you consider this "harmless" because you think people who don't look up at the URL location of each web page they visit are stupid, but when you click on the "Search" button of your favorite search engine how many times do you look up at the location to see that the results are indeed from where you expect?

    The third possibility you mention is not likely at all to work as people don't have to login to use a search engine.

    Lycos does have web based email, which quite a few people use, and I think they have some other services that require registration as well. I would wager (based on Bayes' theorom) that people using Lycos for searching are more likely to have Lycos webmail accounts than the average internet user.

  9. Re:What Kinds of Malicious Code? by Tim+Macinta · · Score: 5
    JavaScript is a relatively harmless language. While it could do something dramatic redirect the user to a porn site or display something obnoxious on the screen, I doubt that it would do anything like delete user's harddrives or give h@x0rs access to user's computers.

    Redirection could be used for more than just annoying purposes. The thought can comes to my mind right away is that it could be used for deceptive purposes:

    • Users could be automatically whisked away to one of the results without seeing any of the other results in the list. So as long as you can get your page in the top ten results for a particular keyword, you can force the user to choose your page.
    • Users are (understandably) expecting a Lycos page, so if the Javascript were to redirect the user to a page that masqueraded as a search-results page the user would be likely to assume that the page was legitimate and not biased. As an example, the "Church" of Scientology could use this bug to redirect users to an apparent Lycos results page for a search on "scientology" and they could change all of the results to be pro-scientology. Worse yet, they could change the links to anti-scientology sites to copies of the original sites which have been changed to something along the lines of "We've changed our minds. We were wrong. Scientology is not evil. All hail L Ron."
    • For users of other Lycos services, such as Lycos mail, the user could be redirected to an imposter Lycos page which would ask for a username and password. Users would be much less likely to be suspicious because they were expecting a Lycos page.
  10. Re:What Kinds of Malicious Code? by pod · · Score: 1
    * For users of other Lycos services, such as Lycos mail, the user could be redirected to an imposter Lycos page which would ask for a username and password.

    And more to the point, since JavaScript can read cookies, any active logins to the search engine site could be sent by the rouge JS to a third party.

    --

    --
    "Hot lesbian witches! It's fucking genius!"
  11. Re:So? by SJS · · Score: 1
    That's a bit disingenuous.
    Sorta. :)

    When vendors ship operating systems that are inherently insecure, they're loudly blasted for doing such, and the administrators of those systems are often held responsible for "locking down" the default-insecure configuration. This is considered well, good, and normal by a great many folks, esp. here on /.

    It may be that 90% of the people out there don't know what Javascript is, but I should hope that the percentage of /.ers that don't know anything about Javascript would be far, far, far less. I may be wrong (in fact, I probably am, considering that at least one person thought my original comment was a troll -- they're probably thinking "JAVASCRIPT RULZ DOODZ! U SUX!" when they read anything critical of Javscript or other client-side code), but I hope not.

    You can't really blame the graphical browser vendors. Many sites require javascript to do trivial operations: to follow a link, to submit a form, etc. Many of the same end-users who don't know what Javascript is or that you CAN turn it off end up being those who shout for it loudest when it is disabled. It's scary when someone, in all apparent seriousness, claims that they use $BROWSER[A] because $BROWSER[B] allows Javascript to be disabled, and they don't think that's right.

    A couple of times I've pushed further, and learned that "well, the web-developers wouldn't use it unless it was safe, so you're just full of it when you say that there are risks involved!" -- and I imagine that most of the folks who write Javascript do so because they need it to provide the behavior required by those same users.

    So, yes, it's a bit much to expect any one newbie to know enough to disable Javascript. But that shouldn't apply here, right?

    As I said, this isn't anything unexpected. Those who pay attention already disable Javscript and go around making sure the folks they care about know that Javascript can be disabled. So anyone that anyone on /. knows that has Javascript enabled either has (1) done so knowing the risks or (2) has really crappy friends/acquaintances.

    Personally, I'd be happy to have a Javascript Guru devise a better resource-consumption script than what I currently have:

    <script>s = "You asked for it"; while(1){ s = s + s; } </script>
    --
    Pick One: http://www-rohan.sdsu.edu/~stremler/sigs/sigs.html (Note - disable Javascript first!)
  12. Re:This is an incredibly common problem by Plutor · · Score: 1

    Stupid Slashdot. I tell it i want "Plain Old Text", but it still thinks < and > surround tags, and that < and > are symbol codes. Sigh.

    My middle paragraph should read:
    Unfortunately, the Lycos bug is exactly the opposite. Instead of them taking < and >s, and failing to turn them into &lt; and &gt;, the problem is that Lycos is finding web pages with &lt; and &gt;, and turning them into < and >, thus changing non-HTML into HTML. A much less common problem, and also one it seems like they have TRIED to create. Why parse the HTML symbol codes into the symbols they represent? It's a strange bug, and its obscurity is why it's taken so long to come to light.

  13. Re:Jerks, 80K? by Plutor · · Score: 1

    One could assume that you're not a grammar consultant.

  14. Re:This is an incredibly common problem by Plutor · · Score: 3

    Great job, you really addressed 90% of the issues with stupid CGI programmers. I have dealt with the same problem in CGI that I've "inherited", and it's a pain in the ass to see such a simple exploit go unpatched.

    Unfortunately, the Lycos bug is exactly the opposite. Instead of them taking s, and failing to turn them into < and >, the problem is that Lycos is finding web pages with < and >, and turning them into , thus changing non-HTML into HTML. A much less common problem, and also one it seems like they have TRIED to create. Why parse the HTML symbol codes into the symbols they represent? It's a strange bug, and its obscurity is why it's taken so long to come to light.

    One thing to note, though, is that this bug probably would have been found months, if not years, ago if Lycos was OSS.

  15. Re:Two things... by valmont · · Score: 1
    .... yup, i agree with you ... just make sure you don't "slip" on the wrong button when prompted ;] ....

  16. Re:Javascript once again by valmont · · Score: 1
    user input validation is not the *only* thing you can do with javascript to minimize server-side processing and save precious CPU cycles. But i'd be revealing trade secrets if i told you what else.

    just think.

  17. Re:Why don't they make JS secure by valmont · · Score: 2
    See comment #85 below, but keep in mind that most people do have javascript enabled, that javascript is a good thing to have enabled as it can often save a lot of unnecessary client-server requests and greatly improve a site's usability.

    The danger comes from sites that base their authentication schemes on persistent cookies after the user has signed-on once.

    Such cookie basically tells the server "hey i'm the right guy now gimme my personalized page".

    You can use javascript to sniff the cookie via document.cookie and send that value to a cgi script that'll store it.

    heh fun.

  18. google is safe. Some WebMail sites affected by valmont · · Score: 4
    Some prominent web-based email sites like hotmail had a similar security-hole in their "dictionary" feature, which would allow a malicious user to paste an apparently harmless link in an email, because the link would be within the hotmail domain.

    Once the user would click on that link, it would take them to the spell-checker interface of hotmail, but the 'word' passed to that CGI is actually HTMLcode that gets "echo'ed" as part of the "result page", just like any dictionary interface would do. That HTML code could be a SCRIPT tag downloading a .js javascript file from the perpetrator's server (to keep it clean) which could very well sniff a user's document.cookie and change the location of some hidden image on the page or pop a window by making an HTTP request to some evil CGI and passing the value of that document.cookie string as a parameter and store it in some text file.

    The victim's cookie string most likely contains information that tells the server "hey i'm authenticated" so all it takes is for the evil person to reproduce that cookie.

    As I browse the web, I find such vulnerabilities on member-driven sites all the time, some times I warn the webmaster, some times I don't bother, but it can potentially be pretty nasty. I even got a t-shirt from some mildly popular online community fedexed to me once after I rode their asses likes a madman so they'd finally plug a really *really* bad similar hole.

    I found one in some remote feature of yahoo a few weeks ago, but its very small and I doubt anyone else would find it.

    The rule of thumb to always follow as you design your web application, is "what is that HTML i'm sending to the user made of?". "is there any content in there that is taken from any kind of user input?". "if yes, am I filtering out all angled brackets?". "if i am allowing for user-input HTML content, am i filtering all unnecessary tags and among the tags i'm allowing am i filtering all unnecessary attributes (onload,onmouseover,onclick)?"

  19. Re:Moderation by unitron · · Score: 2
    It's not an exact science by any means, but flamebait is generally designed to irk people and draw a lot of angry replies, i.e., start a flamewar.

    A troll, on the other hand, is sometimes disguised as a somewhat coherent expression of opinion but doesn't really represent the poster's opinion, it's just designed to get a lot of people worked up replying to it so that the original poster can laugh at them wasting their time and tell himself how clever he is for having done so.

    What they have in common is the level of maturity (low) and the lack of positive contribution to the discussion.

    And then there are the 12 year olds who keep trying to sneak in links to stuff other than that to which the link appears to lead, and all the other posts associated with those posts, which are just another immature attempt to annoy people and waste their time. Off-topic covers these just fine.

    None of this necessarily has anything to do with how posts actually get moderated.

    --

    I see even classic Slashdot is now pretty much unusable on dial up anymore.

  20. Re:So? by ewhac · · Score: 4

    Anyone who enables javascript is asking for trouble.

    That's a bit disingenuous. JavasCrypt is enabled by default in all graphical browsers. 90% of people out there don't even know what it is, much less how to turn it off (turning it off in Netscape is fairly easy, but turning it off in IE is extremely non-obvious, even if you know you're looking to kill JavaScript).

    Schwab

  21. Re:This adds nothing to the original post by ragnarok · · Score: 1

    3. Bayes Theorom. A probabilistic method of medical reasoning.

    à
    This is a way to decide how to treat disease by knowing about the rate of the disease and how good your test is.

    à
    Diagnosis based on:


    Prior Odds (or base rate of disease)

    .....This can tell you something about the probability of 1 person having a disease because it gives you the probability of the population having the disease.


    Characteristics of a diagnostic test (sensitivity and specificity)

    .....This can tell you how accurate a positive or negative test outcome is. (the sensitivity can tell you how often the test will positive in a person with disease; the specificity can tell you how often the test will be negative in a person without disease.)

    à
    Here is a scenario: You work in an area with a relatively high rate of Lyme disease. You have a test for Lyme disease and a patient you want to test. You could decide whether your patient has Lyme disease simply on how common Lyme disease is (prior odds). With the test as the diagnostic tool, you could only base your diagnosis on the outcome of the test and how good the test is. Using both pieces of information is a better approach.

    à
    Know Sensitivity and Specificity. (As defined in the basic experimentation lecture)

    à
    Bayes Theorom can also help you to update your decision-making when new info comes around.


    --
    Search first, ask questions later.
  22. Logical paradox. by Lemmy+Caution · · Score: 2
    Ack.

    Wait a sec. If girls only go out with jerks, and never with "nice guys," that would mean that sys admins would be getting all the girls. And I know that ain't so.

  23. Re:What Kinds of Malicious Code? by k8to · · Score: 1

    I dunno, I'm not sure that a little 69 really ever caused anyone harm.

    --
    -josh
  24. Re:javascript gripe by Dr.Dubious+DDQ · · Score: 3
    you can't just disable javascript's ability to open new windows whilst leaving the rest of its abilities intact. grrrr.

    That's it. End of story. If browsers let you do that, we'd all be happy.

    What? I can't? Shoot, I'd better turn that off then! :-)

    Konqueror has exactly this option - you can tell it to disallow opening new windows completely, to have it ask, or to allow javascript window.open() always. Handy little feature...


    ---
  25. Two Better Words: by ethereal · · Score: 1

    How about "wrong story" instead? How did this get moderated up, anyway?

    Remember: it's a "Microsoft virus", not an "email virus",

    --

    Your right to not believe: Americans United for Separation of Church and

  26. Two words.... by gatkinso · · Score: 2


    "Search warrant."

    Fly away, little BSA bird.

    --
    I am very small, utmostly microscopic.
  27. Re:Why don't they make JS secure by cygnus · · Score: 2
    I wouldn't call HTML a language



    Hyper Text Markup Language

    it's a stateless language, but a language nonetheless.

    --
    Just raise the taxes on crack.
  28. Re:What Kinds of Malicious Code? by cygnus · · Score: 2

    jeez, thank goodness you're on the good side, or at least it would seem..

    --
    Just raise the taxes on crack.
  29. Javascript once again by Midnight+Thunder · · Score: 3
    This once again proof that running JavaScript on the client end is bad. I am one of those people who turn JavaScript off the most part, though there are one or two web-sites that I have to turn it on if I want to get beyond the first page. I would love it if Mozilla provided an option for only having JavaScript activated for certain sites.

    I am a believer in the thin-client approach to web-pages and that is if you can't do it on the server and you can't use HTML for your web page then you are probably doing something wrong. This is my opinion and you don't have to share in it.

    --
    Jumpstart the tartan drive.
    1. Re:Javascript once again by Michael+Marxmeier · · Score: 1
      That's one cool feature in Konqueror; it let's you turn of just the javascript window.opn function.

      So does Mozilla AFAIR. It just lacks a nice GUI and you need to edit your prefs.js.

    2. Re:Javascript once again by SCHecklerX · · Score: 1

      http://www.mozilla.org/projects/security/component s/configPolicy.html

    3. Re:Javascript once again by tb3 · · Score: 3

      That's one cool feature in Konqueror; it let's you turn of just the javascript window.opn function. So all of javascript works, but no pop-ups, pop-unders or whatever. It would be nice if the other browser manufacturers would let you turn off certain parts of javascript, but they're advertisers, too, so you know they won't.

      --

      www.lucernesys.comHorizon: Calendar-based personal finance

    4. Re:Javascript once again by Genetically+Enginerd · · Score: 1

      anyscript once again... I concur that the thin client is probably the real solution to a lot of the security issues that plague the internet today. VBScript, JScript, Word and Excel macros, etc., etc., etc..

      --
      Does the income I've derived from working with Unix belong to SCO?
    5. Re:Javascript once again by p_trinli · · Score: 1

      www.webwasher.com works well for Windows browsers.

      --
      Aaron J. Shaver
      http://aaronshaver.com/

  30. Jerks? by rw2 · · Score: 3
    Finding security holes is exactly why open source security works better than security through osbcurity for crying out loud! You should be thanking those guys instead of using your site as a soap box to bully them into thinking like a Taco.

    And re-read Steven Levy's book Hackers while you're at it.

    --
    Poliglut

    1. Re:Jerks? by thrig · · Score: 1

      Running JavaScript on a web browser is like leaving the windows to your apartment open in the projects, not some small innocent country house. JavaScript has been exploited in the past, and will be in the future.

      Personally, I surf with JavaScript disabled by default, which kills those pop-up windows (bonus!).

    2. Re:Jerks? by thrig · · Score: 1

      Sandboxed. Heh.

      http://www.google.com/search?num=100&lr=lang_en& q= JavaScript+file+exploit

    3. Re:Jerks? by Fishstick · · Score: 2
      >Finding security holes is exactly why open source security works better than

      >>Are you stating that open source software is 100% secure?

      Didn't sound like it to me. Sounded more like a rationale for making exploits public... so lots of people can think about a way to fix the problem. Calling people jerks for demonstrating an exploit of a security vulnerability seems counter to the prevailing attitude among those who think hiding security problems is an exercise in futility.

      >Moderators, can we please start marking messages that state "this wouldn't happen if it was open source" as "Troll".

      Whoa... you might want to have that knee looked at. :-)


      ---
      Hi! How are you?
      I send you this .sig in order to have your advice

      --

      There is much cruelty in the universe, John.
      Yeah, we seem to have the tour map.

    4. Re:Jerks? by scott1853 · · Score: 3

      Are you stating that open source software is 100% secure?

      People find holes in proprietary systems all the time. Hell, I've gotten a couple hundred MS security bulletins over the last 2 years sitting in my inbox, none of which MS has discovered on their own. The holes in proprietary systems simply get more exposure because it's fuel for all the open source zealots and a large part of corporate america uses the closed systems.

      Moderators, can we please start marking messages that state "this wouldn't happen if it was open source" as "Troll".

      Just to be an idiot and delve deeper into this arguement, are you stating that if it was open source, you'd do a line-by-line audit of the code to make sure it was something you felt was secure and you want to run? Let's face it, everybody that advocates open source just assumes everybody else is testing it. How many people have done a complete code audit of any Linux app before they installed it. None. This could also be due to the fact that most Linux apps haven't made it to that 1.0 mark yet and maybe the users expect what they get. It's a good argument that "it's still in BETA" when somebody points out a security hole in something.

    5. Re:Jerks? by thaigan · · Score: 1

      Just a thought: I think what the Taco was actually trying to say that if anyone took advantage of this, that person would be a jerk, not the people that discovered it. I realize that isn't what he said, but I think it's what he meant.

      --

      42
    6. Re:Jerks? by Deskpoet · · Score: 2

      Yes, it was, but Taco's appelation of jerks--with the specification that they're not doing something worthwhile--is a bit specious, or perhaps more exactly, personally myopic.

      I realize this is hairsplitting, but I'm sure the creators of such "malicious" acts have fully justified reasons for what they're doing, even if those reasons are only justifiable to themselves. They *ARE* doing something worthwhile, in this sense; their actions just aren't worthwhile to Taco.

      Now, if one wishes to attack said individuals on a stictly moral basis, I think that is perfectly justified.

      --
      "The more corrupt the state, the more numerous the laws."--Tacitus, The Histories
    7. Re:Jerks? by hearingaid · · Score: 1

      dreamweaver's not idiot-proof, bizarre though that may seem.

      I've watched idiots struggle with it.

      frontpage on the other hand is sensible-proof. I think you're going for HomeSite. :)

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

    8. Re:Jerks? by Chibi · · Score: 2

      I believe the "jerks" reference is to the people writing the malicious JavaScript code, and not the people reporting it. :)

      --
      If all you have are silver bullets, everything looks like a werewolf.
    9. Re:Jerks? by ccarr.com · · Score: 2

      In The Cuckoo's Egg, Cliff Stoll asks (I paraphrase) "If you lived in a small town where nobody locked their doors, would you thank the first burglar?"

      OK, the Internet isn't a small town any more, but one has to wonder where it all ends? As black and gray hats keep upping the ante, just running a simple web site requires more and more vigilance. IMHO, they have already succeeded in making the web an experts-only club.

      That said, this security hole does not seem to have been exploited by anyone. It appears that it was stumbled upon. So I don't know what Jerks Taco is referring to here. Did I over-look something?


      --
      I don't know half of you half as well as I should like, and I like less than half of you half as well as you deserve. BB
    10. Re:Jerks? by Dutchie · · Score: 2
      IMHO, they have already succeeded in making the web an experts-only club.

      What nonsense. The web has become SO easy to use (and to create webpages for) through such a plethora of tools (frontpage, dreamweaver, just to name a bunch of idiotproof tools). Who are the 'they' you talk about? 'black / gray hats' ? How in the world do they make the web something for 'experts'?

      Listen, most people who want to create their own webpage as beginners go to geocities or something like that. If you get a bit more advanced, you go to a somewhat more advanced hosting provider. You get your own domain even, perhaps. If you get even more advanced, you may have your own DSL line or T1 line. But by the time you get there, you are SUPPOSED to know about security and be vigilant about it.

      • Imagination is more important than knowledge.
      --
      • Imagination is more important than knowledge.

        • -- Albert Einstein
  31. *sniff* I miss NS 3 by Pope · · Score: 1
    You could turn on/off images and javascript from the freaking' menus! None of this "bury it in the preferences dialog" bull.

    Plus, it's faster then NS4 rendering /. in nested mode!

    Pope

    What? Bear is driving car? How can that be?!

    --
    It doesn't mean much now, it's built for the future.
  32. Taco can't spell? by sundae · · Score: 1
    Proof once again that the jerks have more spare time then the people who actually do something worthwhile

    Proof is a noun. Prove is a verb. Keep that in mind, will ya?

  33. Re:So? by spectecjr · · Score: 1

    That's a bit disingenuous. JavasCrypt is enabled by default in all graphical browsers. 90% of people out there don't even know what it is, much less how to turn it off (turning it off in Netscape is fairly easy, but turning it off in IE is extremely non-obvious, even if you know you're looking to kill JavaScript).

    In IE, it's under Security, which is the obvious place to have it. Particularly if you don't know *what* Javascript is; all you have to do is set your security to high - you don't have to worry about the details.

    Simon

    --
    Coming soon - pyrogyra
  34. Re:What Kinds of Malicious Code? by penguinboy · · Score: 1

    That's correct. To really annoy Win9x users, just put an tag in your websites with the SRC set to "file://c:/con/con" like this:
    <IMG SRC="file:/c://con/con">

  35. Re:So? by macpeep · · Score: 2

    How does *Microsoft* force you to enable cookies to view *Starbucks*?! Cookies were invented by Netscape anyway, you know, and there's absolutely nothing unsafe or strange about them despite all the FUD.

    A cookie set by a server can only be read by that same server. The exact same effect can be done by URL rewriting (adding a token to each url.. as in.. /something.php3 becomes /something.php3?youAre=dude123 and every link adds that ?youAre=dude123 part to it. You can now be identified between link clicks. 99% of all cookies are simply used for session tracking. Only idiots programmers would actually store any DATA of relevance in them (like a credit card number, home address etc.)

  36. [Off Topic] Re:What Kinds of Malicious Code? by Lifewolf · · Score: 3
    Everything on XP runs as Administrator.
    What FUD is this?

    Not all the facts were stated by the person to which you replied. Windows XP Home Edition does not feature different access levels. All users are Administrators. Windows XP Professional retains different access levels.

    See: http://www.microsoft.com/windowsxp/guide/compariso n.asp

    --
    "Be Happy or Die." -- AoN
  37. Re:javascript gripe by droleary · · Score: 1

    Konqueror has exactly this option - you can tell it to disallow opening new windows completely, to have it ask, or to allow javascript window.open() always. Handy little feature...

    OmniWeb for OS X has it beat, with a setting to open the window only if it was requested by a user action. I can go to a site like the The Onion and have its left-hand bar popups like Horoscopes open just fine, but I have never, ever seen a popup ad.

  38. javascript fun by British · · Score: 1

    If you want to see javascript abuse in action, go to somethingawful.com and look for an awful link of the day. If there's a guestbook available, you'll see dancing goatse guys and everything. Er, wait, nevermind.

  39. Wow... simplest use would be popups on search by signe · · Score: 1


    Imagine, you do a search, and while you're sitting there looking at the search results, you get popup ads being generated by the sites in your results list. Now imagine that the search hit a lot of porn sites. And they have exit traps.

    Hopefully, the search engines get this remedied quickly. I imagine they'll just filter out javascript.

    -Todd

    ---

    --
    "The details of my life are quite inconsequential..."
  40. Re:I want a button! by jesser · · Score: 1

    Automatic JavaScript on and off based on URL might be OK, but I want a button down in my tray where I can easily turn it on and off -- with, of course, indication of state.

    Slashdot rumor has it that Microsoft toyed with this idea for a while and then dropped it when it internally became known as the "porn button". Vote for (or help us fix) one or both of these if you'd like to see the feature added to Mozilla:

    bug 38521 Preferences Toolbar, for most commonly used prefs
    bug 87538 [RFE] preferences buttons on status bar

    --
    The shareholder is always right.
  41. Re:Why don't they make JS secure by jesser · · Score: 1

    Even if you did that, a web site that found a major security hole in your browser would be able to steal your Slashdot password...

    --
    The shareholder is always right.
  42. Re:This is an incredibly common problem by jesser · · Score: 2

    don't forget to change a quote (") into &quot;

    And it might also be a good idea to turn & into &amp; while you're at it.

    Btw, I don't think you need to do the &lt; and &gt; transformations for attributes, but it doesn't hurt.

    --
    The shareholder is always right.
  43. Re:Lycos URL to hang IE5 by jesser · · Score: 2

    This link is a fine example... difficult to get out of on Microsoft browsers.

    Only on Microsoft browsers? I don't remember finding a browser where I could get out of that kind of loop.

    See bug 59314, "Alerts should be content-modal, not window-modal", for fixing this in Mozilla.

    --
    The shareholder is always right.
  44. How hard is it? by Moonshadow · · Score: 2

    Cmon, that's just sloppy.

    <? $page_description = strip_tags($page_description);?>

    Problem solved.

    I love PHP :).

    1. Re:How hard is it? by Moonshadow · · Score: 2

      You must be one of those masochistic people that likes to write web apps in assembler.

      Sorry, I'll take productivity over intense pain anyday.

  45. Re:This is an incredibly common problem by kimihia · · Score: 1
    One thing to note, though, is that this bug probably would have been found months, if not years, ago if Lycos was OSS.

    Ya think? PHPLIB has been OSS for a long time and only recently programming problems of the above type were found in it.

    OSS isn't the magic elixir. It's a step in the right direction.

  46. Re:This is an incredibly common problem by kimihia · · Score: 2

    You also forgot that you need to remove quotes as well.

    When it helpfully fills in a text box, you have to escape the quotes. Take this example:

    <input value="DATA">

    Now we craft the malicious string ( " onfocus="alert('howdy'); ) and place it in the text box like so:

    <input value="" onfocus="alert('howdy');">

    See also my article on Accepting input and malicious script insertion.

    Lots of sites are vulnerable. Lots of sites have lazy developers.

  47. Re:Moderation by awaterl · · Score: 1

    I can't seem to find the relevant logical definendum and differentia in the Jargon File or elsewhere. What exactly is the difference between a flamebait and a troll?

  48. Re:I'm just shocked Taco posted a cross-platform h by Mononoke · · Score: 1
    as he nears 30, perhaps he'll even ditch the "cmdrtaco" moniker, a decidedly immature way to refer to oneself.
    Will you be emerging from behind the "Coward" moniker any time soon?


    --

    --
    NetInfo connection failed for server 127.0.0.1/local
  49. Stoll's a jackass by crucini · · Score: 2

    and that quote illustrates why. If you live in a small town where nobody locks the doors, it's not reasonable to walk into someone's house uninvited. If you connect your computer to a global network and program it to accept TCP connections on certain ports, it is reasonable for people all over the world to connect to those ports.
    I wonder if Stoll originated the nonsensical comparison between 'unauthorized access' of a corporate/governmental computer and breaking into someone's house. They're not the same at all, but this silly notion underpins a lot of bad thinking and bad law. Stoll was zealously protective of the 'computing resources' of a huge government lab at a time when 'real computers' were out of reach for ordinary people. He could be compared to a royal chef in the middle ages urinating on the excess food from the royal table lest a commoner eat it.
    I don't agree that security problems have made the web 'experts only'. If you want to run your own web server and you're not an expert, run vanilla Apache and sshd and nothing else. Actual holes in Apache are pretty rare. Or am I missing your point?

  50. Re:What Kinds of Malicious Code? by radish · · Score: 1


    Rubbish.

    1) Where was it getting the email address from? If the user typed it in it's their fault, and I fail to see where else it would get it from.

    2) There's no such thing as a JS "applet". Applet refers to a client side embedded Java application, no relation to JS at all.

    --

    ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

  51. I was doing this back in 95! by sideshow · · Score: 1
    I used find out what chat rooms my sister was on. Most of them back then just reloaded the page with the newest responses toward the top. I would go and submit all kinds of stuff in to the text box. I had the most fun when I would submit older comments but edit what each person said.

    Nowadays when I build forms I always set a max length. This keeps people from doing the things I did when I was 15

    --

    Hollow words will burn and hollow men will burn.

  52. Non-Existent Slashdot Article? by zpengo · · Score: 2

    This article was just posted, but then disappeared from the home page. Interesting.

    --


    Got Rhinos?
  53. What Kinds of Malicious Code? by zpengo · · Score: 3
    JavaScript is a relatively harmless language. While it could do something dramatic redirect the user to a porn site or display something obnoxious on the screen, I doubt that it would do anything like delete user's harddrives or give h@x0rs access to user's computers.

    This isn't a serious security breech, just an annoying oversight by Lycos programmers which will probably be patched up in the next fifteen seconds.

    --


    Got Rhinos?
    1. Re:What Kinds of Malicious Code? by ahaning · · Score: 1

      Windows boxen don't have root access.

      Wait until they're all using WinXP. Everything on XP runs as Administrator. Be it Notepad, Word, IE, or (heaven help us) Outlook. Everything has full access to the system.

      Maybe I'm just talking out my ass, but consider this: Lycos result contains Javascript. Javascript redirects you to some server. That server runs some ActiveX code. That code grabs your email password and login password and mails them encrypted with PGP/GPG to some mail box in some remote part of the world for later cracking.

      Maybe I'm completely off my rocker - and tell me if I am - but giving people the ability to run arbitrary commands on someone elses PC isn't usually that good, especially when it's a hypertext link. People don't really think of links as programs, unless the link explicitely says "click here to run my javascript applet". And even then, the average user isn't going to understand the full implications of clicking on that link and giving a program 'root' access on their system.


      kickin' science like no one else can,
      my dick is twice as long as my attention span.

      --
      Withdrawal before climax is very ineffective and those who try this are usually called "parents."
    2. Re:What Kinds of Malicious Code? by ahaning · · Score: 1
      Okay, I'm sorry, I spoke before researching a little.

      The statement about WinXP running all things as Administrator came from a radio interview between GRC's Steve Gibson and TheRegister's Tom Greene. You can read a transcript (crap) or listen to the WMA (could someone on a decent connection download Goldwave and reencode it as an mp3 or ogg?).

      Another article supports my statement. In particular, the line that reads:
      Steve Gibson maintains that raw socket support should not be included in Windows XP because the consumer version of XP defaults at running you as administrator (a.k.a. root) mode.

      As it gets easier and easier to install and use, how many new Linux users even know the dangers of operating as root? Let alone Win2k/WinXP users.

      So, we'll have all these boxes running out there in root mode while people are checking their mail and browsing the web. We've got enough problems as it is with Windows' limited (no raw sockets) TCP/IP stack.
      Now, you could argue that anyone who wanted to run some random program could just as well install support for raw sockets for Win9x (winpcap, anyone?) and install a trojan that could make use of it and syn-flood some server with spoofed IPs. And you'd be absolutely correct..they could. However, have they? Not to my knowledge. However, with WinXP, they won't have to. WinXP (probably) includes a nice, powerful, BSD TCP/IP stack that can do all that raw sockets stuff without the user having to install it. Skript kiddies, rejoice!


      kickin' science like no one else can,
      my dick is twice as long as my attention span.
      --
      Withdrawal before climax is very ineffective and those who try this are usually called "parents."
    3. Re:What Kinds of Malicious Code? by ahaning · · Score: 1

      Why dont you test that and see how many machines with a default install of IE (Windows) that works on.. The results will suprise you.

      At the same time, why don't you check and see how many people out there even run their computer with a default install of Windows and IE? Hopefully the results won't surprise you.


      kickin' science like no one else can,
      my dick is twice as long as my attention span.

      --
      Withdrawal before climax is very ineffective and those who try this are usually called "parents."
    4. Re:What Kinds of Malicious Code? by slamb · · Score: 2

      Lycos result contains Javascript. Javascript redirects you to some server. That server runs some ActiveX code.

      Stop there. ActiveX code doesn't run without a confirmation dialog saying something to the effect of "This is untrusted/unsigned code; are you sure you want to run it?" The security implications are made quite clear to the user. Now if a Javascript program could automatically click "OK" on that dialog, then I'd be worried. (Knowing Microsoft, I wouldn't be too surprised to hear about that sort of security vulnerability.)

      Does anyone else think it's sad that people are worried about Lycos's vulnerability of allowing other people's Javascript to get on their pages? It's a problem if any HTML/Javascript/whatever someone sends at you creates a problem. You shouldn't have to stay on trusted websites to be safe. Lycos's problem is minor. The real problem to be addressed is that people don't consider Javascript safe, probably with good reason.

    5. Re:What Kinds of Malicious Code? by jallen02 · · Score: 1

      Good try. But wrong

      Why even bother. You guys are just making claims that arent even true with no real basis for the claims. Why dont you test that and see how many machines with a default install of IE (Windows) that works on.. The results will suprise you

      Jeremy

    6. Re:What Kinds of Malicious Code? by roman_mir · · Score: 2

      I remember about two years ago one one of the CD/MP3 player web sites anounced a release of their new MP3/CD player. They asked their web guests to come up with a good name for the player. I came up with a name "Duet" which meant that the player could play both - audio and MP3 CDs. I wanted to win the first prize (which was anounced to be a portable MP3/CD player) So naturally I wanted as many people as possible to vote for me. However it appeared that no one could vote more than once a day (the site logged IP addresses) so I decided to get people to vote for me even without them knowing what they are doing. All I had to do was to open a new account on GeoCities and set up an HTML page with some javascript which would send a vote from the users computer to the MP3 player site. All I needed was a large number of people to go to my page. So I sent the link to my Geocities page to various news groups disguised as something else (the porn news groups were GOLD) I got thousands of hits per day. Unfortunately I did not win the MP3 player, it appeared that most competitors only got a few votes, I on the other hand received thousands. The contest organizers thought (not without merit) that I spoofed the IP address and though they liked the name, they decided to give it to the third person in the list (the second guy after me apparently was also doing something of the kind, he had just a bit fewer votes than I did) It did not matter anyway, since the contest organizers gave the winner a car MP3/CD player (which I did not care for) and not a portable one.

    7. Re:What Kinds of Malicious Code? by sqlrob · · Score: 1

      You can root a Windows box with this fairly easily. There are plenty of objects you could create that have system level access and let you do anything you want, including deleting the harddrive or installing a back door

    8. Re:What Kinds of Malicious Code? by sqlrob · · Score: 1
      Stop there. ActiveX code doesn't run without a confirmation dialog saying something to the effect of "This is untrusted/unsigned code; are you sure you want to run it?"

      Who said anything about using unsigned code?

      var x = new ActiveXObject("Scripting.FilesystemObject");
      x.DeleteFile("C:\\autoexec.bat");
      The scripting objects are supplied by MS (although, I believe they are marked as "Not Safe for Scripting", so it shouldn't be a hole). Of course, with the new Outlook hole, something similar is very possible.
    9. Re:What Kinds of Malicious Code? by cmpgn · · Score: 2

      Unfortunately, due to a recent vulnerability in Outlook, the ability to redirect a user to a webpage of your choice could be used for malicious purposes. The text below is an extract from Microsoft Security Bulletin MS01-038 (http://www.microsoft.com/technet/treeview/default .asp?url=/technet/security/bulletin/MS01-038.asp):

      The Microsoft Outlook View Control is an ActiveX control that allows Outlook mail folders to be viewed via web pages. The control should only allow passive operations such as viewing mail or calendar data. In reality, though, it exposes a function that could allow the web page to manipulate Outlook data. This could enable an attacker to delete mail, change calendar information, or take virtually any other action through Outlook including running arbitrary code on the user's machine. Hostile web sites would pose the greatest threat with respect to this vulnerability. If a user could be enticed into visiting a web page controlled by an attacker, script or HTML on the page could invoke the control when the page was opened. The script or HTML could then use the control to take whatever action the attacker desired on the user's Outlook data.

      Granted, the patch for this problem has long been available, but, as Code Red illustrates, that does little to reduce the overall vulnerability.

    10. Re:What Kinds of Malicious Code? by tim_maroney · · Score: 2
      Yes, this does seem to be a rather minor problem. It doesn't do anything on the search engine page that the hacker couldn't do on his own page. It's arguable whether insertion of a popup window or an unbidden redirect is exactly a "security breach" at all. Although it's certainly annoying, none of the user's data is compromised.

      This sort of thing could be used to break sites which use cookie security. It would be easy to use the JavaScript to return the session cookie to an intercept site by CGI communication with that site. However, since search engines don't usually have user accounts, this is unlikely to be important. Still, it should be tried on Yahoo! at least, and any other search engine sites that support login and use weak session security.

      Tim

    11. Re:What Kinds of Malicious Code? by Dr.+Prakash+Kothari · · Score: 2

      I think he typed it wrong. If I recall correctly, typing "file://c:/con/con" would crash kernel32 on a Windows 9x box. Somebody running Windows try it and see if it works.

      --

      "Technically, a cat locked in a box may be alive or dead." -Kurt Cobain

    12. Re:What Kinds of Malicious Code? by Dr.+Prakash+Kothari · · Score: 4

      Windows boxen don't have root access. But I guess it doesn't sound as leet to say "You can 4Dm1n157r470r a Windows box!"

      --

      "Technically, a cat locked in a box may be alive or dead." -Kurt Cobain

    13. Re:What Kinds of Malicious Code? by 3am · · Score: 1

      only if you're looking at it at work. then you lose all of your unsaved work when you cycle your computer...

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
    14. Re:What Kinds of Malicious Code? by Dutchie · · Score: 2
      I believe it has been some security feature on slashdot once as well that a redirect can also redirect you to a PUT URL. Say you log in on your etrade.com account in the morning and you never log out... later you go search for something on Lycos, you *THINK* you found what you want, *click* and before you know it you've purchased some stock on etrade. Ofcourse this one is just an example.
      • Imagination is more important than knowledge.
      --
      • Imagination is more important than knowledge.

        • -- Albert Einstein
    15. Re:What Kinds of Malicious Code? by night_flyer · · Score: 1
      you mean like this?

      like this?



      _______________________

      --


      Thanks to file sharing, I purchase more CDs
      Thanks to the RIAA, I buy them used...
    16. Re:What Kinds of Malicious Code? by night_flyer · · Score: 1
      it was urlencoded on the server all it consists of is a hyperlink to (your) C: drive just like it would look in explorer... but only you can see it

      _______________________

      --


      Thanks to file sharing, I purchase more CDs
      Thanks to the RIAA, I buy them used...
  54. This kind of malicious code! by ThatComputerGuy · · Score: 1

    I sent my friend to Yaromat's "Wanna be an apple?" when he was stoned and he damn near had a heart attack.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  55. I checked google by Nastard · · Score: 5

    The javascript hole doesn't work on google, but I found an even worse bug that allows you to pass along ASM in a search string!

  56. Re:No, no, no by jallen02 · · Score: 1

    Sure cant. The most that can be done is the playing of sounds on a end users hardware. Beyond that nope..

    Gotta love random /think ;)

    Jeremy

  57. Re:Two things... by jallen02 · · Score: 1

    In a browser, VBScript is harmless.

    Dont confuse VBScript with an ActiveX control

    THey are totally different.

    And of course if you can get a VBScript to the windows script host its all over but the crying... doing that from a browser is something id like to see however

    Jeremy

  58. Re:Two things... by jallen02 · · Score: 2

    *sigh*

    In the context of the browser VBScript executes with the same permissions as JavaScript... PERIOD!

    You cant create a file system object using a VBScript in a browser. It takes more than most people think to damage a machine with just VB/JavaScript. You have to use "social" engieering more than anything and trick people more than you cna directly harm their systems.. think about it

    Why don't you show me some VBScript runs from a web page that can do something malicious. Ill gladly run it on my machine and click NO if its an ActiveX object and simply laugh at anything else since it simply WONT work in the browser.

    Outlook has totally different access privileges why do you think all of these worms are spread. Do you know the mayhem that would be caused if ever IE browser was exploitable via VBScript?

    Stop and think before trashing something for an unfounded reason.

    Jeremy

  59. Uh-oh... by Rimbo · · Score: 2

    I think a lot of those of us who post to slashdot would be in trouble if jerks were outlawed.

    I'd certainly flee to Canada if that happened.

    But then Canada would be populated with jerks...

    Perhaps we could all flee to Australia? Then Australia would have THREE social classes -- descendants of British "criminals," aborigines, AND jerks!

    Bah, nevermind...

    1. Re:Uh-oh... by hearingaid · · Score: 1

      this is canada.

      we shoot jerks at the border. and collect their guns.

      it's how we keep the gun count down here :)

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  60. Re:So? by marm · · Score: 2

    That's a bit disingenuous. JavasCrypt is enabled by default in all graphical browsers.

    Actually that's not quite true. Konqueror very deliberately keeps JavaScript, Java and Netscape plugins off by default. If you need them, then it's a cinch to enable them (very obvious in the Konqui settings dialog, or, if you have the extra plugins that are in the kdenonbeta package, it's even simpler, select a menu item or a toolbar button).

    If you're concerned about turning JavaScript on globally, then you can enable/disable JavaScript (and Java) on a per-site basis.

    Sigh... If only every graphical browser put security first...

  61. Re:I'm just shocked Taco posted a cross-platform h by Frizzle+Fry · · Score: 1
    WHY META-MODERATE WHEN ALL IT DOES IS BURN KARMA?
    I bet you weasel out of jury duty too.

    --
    --
    I'd rather be lucky than good.
  62. We love you anyway CT by Zero__Kelvin · · Score: 5


    "Proof once again that the jerks have more spare time then the people who actually do something worthwhile."

    Don't be so hard on yourself there CmdrTaco! We read your drivelous comments just the same 8^}
    And BTW - it's 'than' the people, not 'then' the people.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  63. Re:This is an incredibly common problem by _xeno_ · · Score: 2
    How do you stop this happening? Simple - deactivate HTML tags from user input by replacing < with &lt; and > with &gt; - problem solved :)

    And if you're putting the results in <INPUT TYPE="TEXT" VALUE="Something The Use Entered"> don't forget to change a quote (") into &quot;. Otherwise you can still get weird results, especially because you can insert new attributes (maybe do something even via onclick="something_nasty()" at that!)

    --

    --
    You are in a maze of twisty little relative jumps, all alike.
  64. Re:Why don't they make JS secure by IronChef · · Score: 2


    For the love of Jebus, with all the ways JavaScript can be abused, why don't the browsers come with a way to filter out the most obnoxious actions? I'd love to see checkboxes for the following.

    Disallow new window creation
    Disallow window moving and resizing
    Disallow redirection
    Disallow shortcut creation
    [I nearly blew a gasket the first time I found that a site had placed porn and casino links in my Start menu.]
    Disallow access to cookies

    There are probably others, I'm no JavaScript whiz.

    An ideal browser would let you toggle all that stuff, and then enable it for specific sites of your choosing.

    I'll have to look at Web Washer again... maybe it lets you re-enable pops for the sites that need them.

  65. What of VBSCRIPT? by dilvish_the_damned · · Score: 1

    Does "other HTML code" include ? If it does... poor IE users.

    --
    I think you underestimate just how much I just dont care.
  66. Re:I've never seen so many mistakes in one sentanc by bribecka · · Score: 1

    I've never seen so many mistakes in one sentance The irony of the title of that post has officially blown my mind.

    --

    Where are we going and why am I in this handbasket?

  67. Re:This is an incredibly common problem by spongman · · Score: 2
    here's a good one for all you IE5.5 users. search on lycos for:

    <a href="friskit.com"> <img border=0 src="http://friskit.com/site/images/logo.gif"> </a> <script> document.body.style.filter= "progid:DXImageTransform.Microsoft.Blur (pixelradius=3)"; </script>

  68. Proof that what? by ichimunki · · Score: 1

    No. It's proof that dotcommers are in such a rush to be first and get all kinds of attention that they are sloppy. Maybe if we all stop trying to accomplish everything at the pace of eBusiness, this sort of nonsense will get caught in the process.

    --
    I do not have a signature
  69. Re:Oh no!!! by .oO-DexteR-Oo. · · Score: 1

    It's not a goatse link. It goes to altavista.com.

  70. Re:Why don't they make JS secure by hearingaid · · Score: 1
    Disallow shortcut creation

    wow. once again I recall why I avoid windows ie. :) (posting from macos 9.1, ie5)

    um. inside ie, you can selectively discriminate between sites for javascript. you can setup Trusted Sites which get to run JS and ban others.

    actually, JS can't create shortcuts. that'd have to be one of the other IE scripts, jscript or vbscript or something.

    --

    my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  71. Re:Lycos? What's that? by hearingaid · · Score: 1

    dejanews? have you been paying close attention to news on google's site in the past year or two? :)

    hey, at least lycos hasn't been bought yet. sure it sucks but... ;)

    --

    my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  72. Easy by Auckerman · · Score: 1
    You do a search and some ass sets up a page designed to be index within that search and it loads some pop-under and some pop-up instances of a porn site. Now image you are at a "cyber cafe", library, school, or at home with mom just a few feet away....

    "No really, it just appeared on my screen"

    "Son, I know better than that, now go to your room!"

    --

    Burn Hollywood Burn
  73. Similar CERT advisory a year ago? by selan · · Score: 1

    CERT® Advisory CA-2000-02 Malicious HTML Tags Embedded in Client Web Requests

    From how I understood the advisory, it refers to a page that automatically displays info directly from a link, like showing the search string on the search results page. If the displayed string contains script, the script will be executed in the client browser.
    ----

  74. Re:This is an incredibly common problem by BroadbandBradley · · Score: 1

    searching Lycos for:

    <b>Oooh+Bold+Text </b><script>alert('Ew ww nasty popup')</script>

    was good for a laugh :-)

  75. Then STOP USING IIS by MillionthMonkey · · Score: 1

    No code is flawless. That doesn't mean all code is equally flawed as you seem to be suggesting!

    You either knew you'd be working with IIS when you took the job, or you suggested IIS yourself, or you stood idly by and let your boss walk all over you and dictate that you install it. So quit complaining about your sad but entirely avoidable situation. Especially since you probably earn extra money for having to put up with Microsoft products instead of actually enjoying your work like many of us do. I mean, sure, it's tough if applying the weekly IIS patch is interfering with your "watching company information flow and user environments to look for ways to help it improve the company" [translation: configuring the firewall so you can play Quake from your office] but applying those hourly NT patches IS YOUR JOB, in a way that whining on Slashdot is not.

    Running NT on a public network of any kind is like bending over to pick up soap in the prison shower. I'm continually amazed at the outrage, incredulity, and disbelief I hear from people who have chosen to install server software that seems to have been written from the ground up to support remote execution of worm code by sociopathic teenagers.

  76. Yahoo Mail does some weird stuff by MillionthMonkey · · Score: 1

    This reminds me of some stuff my wife encountered while receiving messages through Yahoo Mail. Whenever someone used the word "medieval" in the message body of an email, Yahoo replaced it with

    medireview

    and it would show up that way in the browser. So she thought nothing of it until she noticed that Yahoo also changed the word expression into statement! So if someone wrote

    Medieval art was limited in its expression

    in an email, Yahoo turned it into

    Mediereview art was limited in its statement

    So she wrote Yahoo asking them what was up. This was their response:

    Hello,
    Thank you for writing to Yahoo! Mail. To help ensure the highest level of security, words that can be interpreted as JavaScript commands are replaced by an alternate word (with the same or similar meaning) when using HTML formatted email. This also happens when viewing documents using our HTML file viewer.


    JavaScript should be taxed!

    1. Re:Yahoo Mail does some weird stuff by MillionthMonkey · · Score: 1

      OK, Mr. Coward, try this.
      Steps to reproduce:

      1. Open a Yahoo mail account, and log into it.
      2. Click on "Compose", to compose a message.
      3. Look for a link on the "compose" screen that says "Switch to Formatted Version", and click on it.
      4. Your screen should now have a link (in the same place) that says "Switch to Plain Version". You will also see a pretend MS-Word-type toolbar for bold, italic, background color, etc.
      5. Type a one-line email to yourself (meaning send it to your same Yahoo account). Make sure that the body contains "medieval" and "expression", e.g.

      Her expression was medieval

      6. Go back to your inbox, and click on "Check Mail".
      7. Read the email. The above sentence becomes

      Her statement was medireview

      8. Optionally, forward it from there to a real email account. The message will have no body, and come with an attachment. Open the attachment, and you will see it back in its original form:

      Her expression was medieval

  77. Besides the Bad any Good by Jason_Knx · · Score: 1

    I don't know if this thread is on the security of Lycos or the security and handling of scripting. So about lycos. They're just displaying links and desriptions so all scripting should be filtered out of there entries. They need to improve on there filtering methods.

    Ok. There's been a lot of talk about all the bad in scripting. It's gotta have some good uses. I think it does.

    For instance any type of use of dHTML needs some type of scripting involved. Forms that dynamically change content as it's being filled out are good as they save the user time and makes it easier for them to fill out. 90% of the users I support only want to focus on the task at hand and not have to figure ways around doing that task. The biggest request I get is Can it be made easier.

    That's how the business and user world is. And it's those two worlds that most of the internet is geared towards.

    I think Microsoft was on to something with the whole OS as Browser thing but when it about it wrong. It should be the Browser as an OS. Here's what I would like to see happen.

    A browser that implements scripts to run srictly inside the browser in a protected sandbox. The browser starts with a main top level page and any subsequent windows opened inside of the browser open over the top level page. The browser should have a setting on how many child windows can be opened at a time. (Opera seems to be headed in that direction but the windows are either all maximized or not. Strictly MDI.) Scripts being abled to be compiled to byte code. The browsers should have an option that can be set as to whether or not it will start with a VM for scripts preinitialized for the byte code or not.

    Kinda sounds like Java applets. But Java applets require to much overhead compared to scripts. A browser like I want will probably use more overhead too but it will all be initialized when it is opened. Java provides some of the functionality but there's one major problem I haven't overcome. I can't find out any documentation that allows for java to get access to the full DOM. I've seen some on Sun's site but it's very limited. If it had as much as scripting does then I think it would be used more. Then you get a little more security than you can get with scripts. If anyone knows about this please let me know.

    .Net seems to be headed this way and provide this but I'm still checking and it's to early to tell yet. If so aside from the subscriptions it's a good thing.

  78. Porn surfers love Office Furniture by JohnDenver · · Score: 2

    My boss just asked me if I could look into directing traffic to our website.

    Knowing this, I could index all of our pages with porn keywords and redirect users to our page selling Office Furniture!!!

    I'll be sure I send out OfficeFurniture.vbs just in case Lycos fixes this hole before I get a chance at a promotion.

    --
    "Communism is like having one [local] phone company " - Lenny Bruce
  79. Great... by geekplus · · Score: 2

    Combine this with the payola that puts certain for-a-fee pr0n sites at the top of the list, and little Timmy doing a search for his latest book report on "naked singularity" is going to have 20 very confusing new windows pop up on his screen that make him have strange feelings faster than you can say "Tentpole".

  80. Two things... by Shoten · · Score: 2
    First off, I wouldn't necessarily say that these guys are "jerks," especially not on the sliding scale of the security industry. If someone who would warn Lycos has enough time and talent to find this, so does someone who would exploit it. And I know first hand how quickly vendors move when they don't have the motivation that results from public disclosure.

    Second, for everyone who's saying how harmless JavaScript is, you're somewhat right, but it doesn't matter. Why? Because the person releasing the vulnerability was just using JavaScript as an example. It could also be VBScript, just as easily...and THAT is NOT harmless by any stretch of the imagination. Imagine doing a search on Lycos, and getting smacked with a new variant of KAK.

    --

    For your security, this post has been encrypted with ROT-13, twice.
    1. Re:Two things... by Shoten · · Score: 2
      But the point here is not permissions. The permissions will be sufficient to cause whatever damage the user can cause, PROVIDED there are hooks into the proper system calls or objects. JavaScript is abstracted such that it cannot do many things that VBScript can do.

      Are you actually attempting to state that nobody can do harm if they can get a user to run arbitrary VBS on their machine? Where have you been for the past few years, man? VBS has been the language of choice for some of the most notorious worms and viruses in the past couple of years, and not all of them merely spread from user to user.

      --

      For your security, this post has been encrypted with ROT-13, twice.
    2. Re:Two things... by Shoten · · Score: 2
      Pop quiz:

      What handles HTML in the web browser? What handles HTML in email? And finally, what are default permissions in Internet Explorer with respect to ActiveX controls? There a numerous viruses out there, (I mentioned KAK before, so I'll stick with it) that are able to do various things from either a web page or from an email. It just happens that web pages are not a good way to spread a virus, so HTML email is the method of choice. But underlying both HTML mail and web browsing is the same code, the same processing. And yes, KAK relies upon an activeX control. But so what? It didn't matter...KAK spread like wildfire, and did an enormous amount of damage. In penetration testing, I make use of this functionality to test clients...I send an email with HTML scripting that fires back an email to me, with a copy of a particular file off of their computer attached. (Does that behavior sound familiar??)

      You, sir, are clearly not a professional security engineer, admin, consultant, or whatever. If you were, you would stand alone in a crowd that regularly and passionately avoids HTML that comes from untrusted sources. It is for this reason that BUGTRAQ, every mailing list at SecurityFocus, NTBUGTRAQ, and numerous other mailing lists do not want their subscribers sending HTML mail of any form to the list; they have gone so far as to automatically strip off the HTML and leave the messages as plain text. Why do you think there are only a very few HTML tags permitted in Slashdot posts? I don't see the SCRIPT tag in there...do you?

      As for your earlier statements concerning "trashing" something, I have no idea what you think I was trashing. Lycos has a vulnerability...so what? Welcome to the planet, guys...everyone's had a problem sooner or later. Just fix it, and we'll move on. And I certainly wasn't trashing scripting...complaining that someone putting HTML on your site without your control is bad is like saying that someone installing software on your computer without your control is bad. Actually, if it involves scripting, the two are the same.

      --

      For your security, this post has been encrypted with ROT-13, twice.
  81. Re:Why don't they make JS secure by pdiaz · · Score: 1
    Sure, and there is also the English languaje, the Sign Language, etc...

    I was arguing that HTML is not a language in the programming language sense

    --
    Make It Secret . Free JavaScript implementation of AES for your browser
  82. Re:Why don't they make JS secure by pdiaz · · Score: 2
    Because HTML is not a programming language. HTML does not allow things like loops, variables, test conditions, etc...It's just a way to represent the information - a format. I wouldn't call HTML a language

    JS on the other side, hasn't an easy way to access sensitive data or create malicious code. As someone noted before, you can redirect the user to a porn site or something, but its rather dificult (I'm not a JS programmer, just done a couple of hacks with it) to access to sensitive information, such as the hard drive

    --
    Make It Secret . Free JavaScript implementation of AES for your browser
  83. Oh great... by cavemanf16 · · Score: 1

    A whole new way to for annoying pop-up ads to advertise themselves. Before you even surf to the luzer website, BAM! there it is in front of your Lycos search!

  84. Re:javascript gripe by sakul · · Score: 1

    If microsoft put this feature in IE it would disable their entire site.

    --
    www.facestat.com - See how strangers judge you.
  85. no different from lots of other problems by janpod66 · · Score: 2
    If I misconfigure Apache or install an old version of IIS, is that a "security problem" for the rest of the Internet? Just like Lycos's bug, that lets people put arbitrary scripts into my content.

    The simple fact is that content you get from the Internet, be it Slashdot, Lycos, Microsoft, or anything else, may have been altered or may be malicious in itself. If you care about it, you have to deal with it by picking your web client to protect you; trying to insist that every web site is secure and trustworthy is a losing battle.

    BTW, from the description of the bug, JavaScript is the least you have to worry about. ActiveX controls would seem like a much bigger problem. And web sites that server user-supplied JavaScript through SSL are also a much bigger worry (since the user-supplied JavaScript is implicitly signed with the site certificate); at least Lycos doesn't serve its content through SSL.

  86. This is an incredibly common problem by skunkeh · · Score: 5

    This one's been around for years, and is present on literally millions of sites. I read somewhere certain both AltaVista and Amazon have both suffered from this in the past. Here's how it works:

    You have some kind of form input, with the next page displaying whatever the user typed into that form field (for a search engine this would be in the form of "You searched for..."). the golden rule of web development is NEVER TRUST input from your users. Most developers take great lengths to check anything that's going into a file or database, or erspecially code that will be executed on the command line.

    However, if you're just going to display something to the user that typed it why bother checking the content? Surely only the user who typed the thing is going to see it again, and it's not like they're going to be able to affect any of your systems?

    Therein lies the problem. If you allow a user to type anything into a form and then have it re-displayed, they can include HTML tags. And if they can include HTML tags, they can include <script> tags. And script tags can do weird stuff.

    Still think it's not a problem thanks to the fact that only the user will see it? Think again - seeing as most applications like search engines use GET to pass parameters, you can fill in the form for the user by offering them a link to click:

    http://yoursite.com/search?<b>Oooh+Bold+Text </b><script>alert('Ew ww nasty popup')</script>

    All of a sudden you can cause your weird popup messages to appear on someone elses site.<p>

    The biggest security problem is the fact that javascript can access cookies. Imagine sending someone to a website via a link containing javascript that reads their username/password cookie for that site then pops up a window feeding that username/password to a script page con your server (in the query string) - BANG, you've got their password.

    How do you stop this happening? Simple - deactivate HTML tags from user input by replacing < with &lt; and > with &gt; - problem solved :)

    1. Re:This is an incredibly common problem by ralmin · · Score: 1

      While it is true that this is a problem with Lycos which should be fixed, it's indicative of a wider problem.

      Scripting languages in browsers should not be capable of DoS attacks like the while(1)alert('') one I posted above.

      Something needs to be done to actively prevent massive window-spawn or un-endable alerts. You should be able to stop scripts from a button such as Stop.

      And make sure the button is clickable! (It's not clickable on Mozilla or IE due to modality issues).

  87. Lycos? What's that? by robvasquez · · Score: 1

    Who the --- uses Lycos anyway? Yahoo. Google. DejaNews.

  88. javascript gripe by breyguhn · · Score: 1

    Javascript is useful, no doubt there. Takes all sorts of loads off servers. The main annoying part of it (which is the real issue here, and the reason exit traps are such an annoyance) is that you can't just disable javascript's ability to open new windows whilst leaving the rest of its abilities intact. grrrr.

    That's it. End of story. If browsers let you do that, we'd all be happy.

  89. Traps Konqueror too... by Secret+Coward · · Score: 1
    This link is a fine example... difficult to get out of on Microsoft browsers.

    As well as Konqueror. Mozilla, on the other hand, brings the window up slow enough that you can go to another page while you wait.

  90. Re:Why don't they make JS secure by sy5tematic · · Score: 1
    "I wouldn't call HTML a language"

    Then what does the "L" stand for?

    -1, Troll (self-moderated)

  91. Re:So? by psychalgia · · Score: 1

    guess thats waht we should expect from someone at san diego state. phhpt, cmon, you're being rediculous. the internet allows people access to others machines, should we shut it down? no...just fix things. Java is cool, and anything that is cool can be turned bad, thats life... lets fix it, not kill it. like tigers, tigers are cool, but I dont kill them even though they may like to eat me. San diego state, really....

    --

    ________________________________________________

  92. Lycos URL to hang IE5 by ralmin · · Score: 1

    This link is a fine example... difficult to get out of on Microsoft browsers.

    Click this

  93. Re:Why don't they make JS secure by A+Commentor · · Score: 1

    HTML is only a "Mark-up Lanuage", it changes the format of the text displayed on the page, it quite easy to make sure the formating doesn't do anything besides formating.

    JavaScript does alot more, i.e., open new windows, change content based on where the mouse is, etc. The security hole is just that a site can make the resulting search result page contain javascript code that will be run. This requires you to have Javascript enabled on you browser, if not, there is no issue. Without this 'security hole', you would also be 'exposed' to the javascript, if clicked on the link to that site.

    --

    Looking for any old 8-bit Heathkit/Zenith software/hardware - http://heathkit.garlanger.com

  94. Re:Oh no!!! by AnonymousComrade · · Score: 1

    Ouch! Don't do that! The link showed up as 'visited' in my browser! And I'm sure I flushed my cache last week...

  95. Re:Im curious about the code by emmelaich · · Score: 1

    I get the same problem with that Oracle ad. It seems to happen with doubleclick ads.

    Can't be sure tho'

    PS. why is /. using evil doubleclick?

  96. Security Issue? Nah... by RatOmeter · · Score: 1

    Sorry if I don't get it, but is this really a
    security issue?

    Looks more like an "undocumented feature" of the
    engine. Granted, perhaps only spammers and pr0nners might want to use it.

    I try to keep up with the security alerts; I'd
    say somewhere around 5 to 10% of them elicit a
    response of "Uh, so what?" from me.

    Maybe I'm just to ingorant to get it.

  97. Re:Jerks, 80K? by RatOmeter · · Score: 1

    Who the hell's making 80K/yr?

    I'll bet not very many /.ers.
    IT/IS managers maybe.

  98. Forest, meet Trees. by Nihilanth · · Score: 1

    ::Proof once again that the jerks have more spare time then the people who actually do something worthwhile.::

    I'd say that 9 times out of 10 this sentiment is expressed, the jerks actually ARE doing something worthwhile, by forcing complacent developers to get themselves into gear and improve the way things work.

  99. Why don't they make JS secure by maddjn · · Score: 1

    I'm not so into languages, but why is it so hard to make this language secure? HTML is secure, so why not this too?
    maddjn

    --
    --EOF--
    1. Re:Why don't they make JS secure by maddjn · · Score: 1

      mmh, thanks.
      but can't someone prevent the browser from accessing the HD? perhaps by automatically run it as 'nobody' or by putting it into an own environment?
      looks like I'm too young...
      maddjn

      --
      --EOF--