Slashdot Mirror


Worm Exploiting Solaris Telnetd Vulnerability

MichaelSmith writes "Several news sites are reporting that a worm is starting to exploit the Solaris Telnet 0-day vulnerability. By adding simple text to the Telnet command, the system will skip asking for a username and password. If the systems are installed out of the box, they automatically come Telnet-enabled. 'The SANS Internet Storm Center, which monitors Internet threats, has noticed some increase in activity on the network port used by Solaris' telnet feature, according to an ISC blog posted on Tuesday. "One hopes that there aren't that many publicly reachable Solaris systems running telnet," ISC staffer Joel Esler wrote.'"

164 comments

  1. Yep. by AltGrendel · · Score: 4, Insightful
    That's one of the first things any good admin turns off.

    Use SSH.

    ...oh, and don't forget to wear your raincoat.

    --
    The simple truth is that interstellar distances will not fit into the human imagination

    - Douglas Adams

    1. Re:Yep. by fm6 · · Score: 4, Insightful

      Yeah, that was my response when I first heard of this bug/exploit. But the real question is, should systems be shiped with telnet enabled? Obviously the answer is "no", but vendors seem to be slow to get this message.

      And note that this worm is enabled by a bug in Solaris's implementation of telnet, not by telnet itself. A similar bug in ssh would have had the same effect.

    2. Re:Yep. by Anonymous Coward · · Score: 0

      Certainly SSH should be used instead. It's scary that this thing is propogating at all because;

      1. Telnet should be turned off. It's insecure and everyone should have moved to SSH years ago.
      2. The Solaris boxes should all be immune since a patch has been around for decent amount of time.
      3. These networks should all have firewalls on them which should block telnet if it is for some reason being used internally, or someone did forget to patch it or turn it off.

      Did all the PHBs get rid of all their decent administrators? This thing should not be spreading at all now. It's a very sad state of affairs that it is.

    3. Re:Yep. by Venik · · Score: 3, Funny

      I think the real question is: should Solaris telnetd have such an immense security hole?

    4. Re:Yep. by Afecks · · Score: 1

      A good Windows admin has a router, firewall, anti-virus, automatic updates and a 3rd party browser. If that's not a good argument against the thousands of Windows zombies out there then it's not a good argument for you either.

    5. Re:Yep. by Random+Destruction · · Score: 0, Flamebait

      what an idiotic question

      --
      :x
    6. Re:Yep. by ray-auch · · Score: 2, Interesting

      But the real question is, should systems be shiped with telnet enabled? Obviously the answer is "no", but vendors seem to be slow to get this message.

      This is Sun. Remember "+" in hosts.equiv ? They deliberately shipped with a known insecure default config in order to reduce support costs / complaints ("ease-of-use" was allegedly considered more important than security).

    7. Re:Yep. by iamacat · · Score: 3, Insightful

      ssh is actually more complex than telnet and more likely to have exploitable bugs - there were a couple featured on slashdot in fact. ssh is for protection of the user, not the host system. It can make intrusion recovery more difficult, as you will not be able to see what the attacker is doing using network monitoring tools. Sun just got sloppy/unlucky with this one by unnecessarily mucking with login. Don't they teach in school to not add command line options/environment variables to a setuid program?

    8. Re:Yep. by Anonymous Coward · · Score: 0

      Ummm... no?

    9. Re:Yep. by djh101010 · · Score: 1

      Yeah, that was my response when I first heard of this bug/exploit. But the real question is, should systems be shiped with telnet enabled? Obviously the answer is "no", but vendors seem to be slow to get this message.

      Serious questions: 1. Who ships with telnet enabled? Certainly not Apple or any of the Linux distros I've used. and 2. Who uses Unix systems with the default build installed by Sun? Do they even _come_ with an OS anymore?
    10. Re:Yep. by qwijibo · · Score: 1

      Yes, they did. In PHBthink, it's cheaper to bring in a consultant at any cost when a problem occurs instead of spending the money on maintenance. The results of the money spent on maintenance are invisible, whereas consultants address known, specific problems. I think the management-by-russian-roulette philosophy is all the rage in MBA schools now.

    11. Re:Yep. by ArcherB · · Score: 1

      -->I think the real question is: should Solaris telnetd have such an immense security hole?

      what an idiotic question


      I think the question was rhetorical.

      My question is: Who the hell still uses telnet? I don't even use telnet on my LAN.

      --
      There is no "I disagree" mod for a reason. Flamebait, Troll, and Overrated are not substitutes.
    12. Re:Yep. by Anonymous Coward · · Score: 0

      Serious answers:

      1: Ummm, Solaris ships with telnet enabled. Did you see the headline of the article you are posting in regards to?

      2: Many people, or there would be no worm, if you want a concrete example then look elsewhere.

    13. Re:Yep. by G00F · · Score: 1

      "Yeah, that was my response when I first heard of this bug/exploit."

      Eh? My response was, who cares, no one uses it, but I'll check the top leevl comments to see if there was anything interesting or insightfull. I guess not ;)

      --
      The spirit of resistance to government is so valuable on certain occasions that I wish it to be always kept alive
    14. Re:Yep. by operagost · · Score: 1

      Basically every company I've worked for since 1997 uses it somewhere.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    15. Re:Yep. by Anonymous Coward · · Score: 0

      How come nobody tagged this with "haha"? Where are all the kids who jump on these things and say stuff like "OMGz0r! $un sux! They are so insecure and don't care they only want your money!"

    16. Re:Yep. by fm6 · · Score: 1

      No, the real question is: should I pay attention to a post stating the obvious?

    17. Re:Yep. by fm6 · · Score: 2, Insightful

      Putting ease of use ahead of security is hardly unique to Sun. Actually, this kind of thing isn't even an ease of use issue. Somebody gets a customer complaint, they see a fix, and they implement it without thinking through the security implications. Happens every day — usually several times.

    18. Re:Yep. by fm6 · · Score: 1

      Typical Slashdotter provincialism. In the real world, "No one I know" != "No one". And I'm guessing you don't run a data center or anything like that. Probably the fanciest system you've ever seen is your big brother's game machine.

    19. Re:Yep. by djh101010 · · Score: 1

      Serious answers:

      1: Ummm, Solaris ships with telnet enabled. Did you see the headline of the article you are posting in regards to?
      Ummm, No, it doesn't. But I've only got about 1000 of 'em to use as a sample size so maybe my experience is too limited.

      2: Many people, or there would be no worm, if you want a concrete example then look elsewhere.
      Your (2) depends on your (1) to be true, and I suspect that it is not.

      As others have pointed out, many of whom even stand behind their statements with their identity, the admin has to specifically decide they want telnet enabled. Exposing telnet to anything, especially the public internet, has been widely regarded as an Astonishingly Bad Idea for many years.
    20. Re:Yep. by drinkypoo · · Score: 1

      ssh is actually more complex than telnet and more likely to have exploitable bugs - there were a couple featured on slashdot in fact. ssh is for protection of the user, not the host system. ssh is for protection of the user, not the host system.

      Keeping user accounts secure provides for the protection of the system. It's usually a lot easier to escalate from a local user to root than to simply get remote root.

      It can make intrusion recovery more difficult, as you will not be able to see what the attacker is doing using network monitoring tools.

      That would be intrusion detection, not recovery. Recovery is after-the-fact, not during. And in any case, it is possible to snoop the tty instead of the session, so long as you have access to the machine yourself. I know this from personal experience because this jackass who lives in Santa Cruz called 'WayHigh' who gave me a shell snooped on an irc session I was using on his system, talking to my girlfriend (who was his ex, kinda. I think they fucked once.)

      Not that you all needed all that data, but I like to smear spying assholes any chance I get and giving details is important.

      No system should ever ship with any unencrypted logins turned on by default. Not in HTTP auth, not in logging into the system, not anywhere.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    21. Re:Yep. by Anonymous Coward · · Score: 0

      Um yes it does. If you have 1000 machines you probably have an image, jumpstart installation, custom installer, or possibly newer OS CDs/DVDs. The admin, since its probably not you, also could have disabled it after the fact.

      Telnet has been enabled by default for a long time on the default installs going back quite a ways on up well into several solaris 10 sub-releases.

    22. Re:Yep. by Afrosheen · · Score: 1

      Most linux distros stopped enabling the telnet daemon post-install years ago. Now, however, even the big vendors like Redhat leave PermitRootLogin=yes in the config file for the ssh daemon which is nearly as bad. It's on my checklist as the first thing to fix post-install on new servers.

    23. Re:Yep. by iamacat · · Score: 1

      So in the case you described, encryption would benefit you and not the owner of the system. Intruder could use a shell without a tty and ptrace his own processes so that you can not. It's much more reliable to log telnet traffic from an independent system that doesn't allow any remote access. If I need to give people accounts with potentially dangerous privileges for them to do work, I might prefer telnet so that, if someone "fucks once" with my database, I can discover who it was. If I am chatting with my wife, I prefer SILC with client/server and peer-to-peer public key encryption. If I am dealing with embedded devices with 16Mhz CPUs, I don't have much of a choice. It all depends on the use case.

    24. Re:Yep. by Anonymous Coward · · Score: 0

      Turn it off? Why should you even have to do that?
      Name a BSD or Linux distro that as it turned ON by default?
      Sun is a fat, old dinosaur. Anybody running telnetd is a retard.

    25. Re:Yep. by LWATCDR · · Score: 1

      Why have telnetd on the system at all?

      I kind of thought that ssh had replaced telnet a long time ago.
      Then again on a server maybe nothing should be turned on by default.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    26. Re:Yep. by Anonymous Coward · · Score: 0

      But no one actually has Solaris, so how could the worm spread? Did anyone receive their free CD (that you could sign up for online a while back)? Well, I didn't.

    27. Re:Yep. by Venik · · Score: 1

      Well, I am glad you think it's obvious. I was beginning to worry about folks here criticizing sysadmins for having telnet running, as opposed to criticizing Sun for missing such an obvious hole in their OS.

    28. Re:Yep. by DieNadel · · Score: 2, Funny

      No, they do not!

      Stop repeating that!

      They don't use telnet, and that plaintext you see when sniffing their network is your natural ability to crack encryption.

      How many times do I have to tell you that you're special?!

      Now, back to the task I've given you. The NSA won't be lending me your brain again if you spend all my alloted time on /.

      --
      Utinam logica falsa tuam philosophiam totam suffodiant!
    29. Re:Yep. by geoffspear · · Score: 1

      Well, it's arguable that shipping telnetd at all even without this vulnerability is an obvious hole in the OS, but software bugs are usually only "obvious" after they've been found.

      --
      Don't blame me; I'm never given mod points.
    30. Re:Yep. by ekimminau · · Score: 1

      2 problems. 1) Solaris 8 only comes with SSH1 which has vulnerabilities. 2) To get SSH2 for Solaris 8 you have to download a freeware build of OpenSSH, Zlib and OpenSSL. Im not saying anything is wrong with #2, but why hasn't Sun actually distributed a current SSH version for Solaris 8? Yeah Yeah, EOL. Blah blah blah. If Open SSH is fine for Solaris 9 & 10, it should have been good enough for Solaris 8 and Open SSH w/SSH2 has been out for a LONNNNNNNNNNNNG time. My .02.

      --
      Armaments, 2-9-21 And Saint Attila raised the hand grenade up on high, saying, 'O Lord, bless this Thy hand grenade' N
    31. Re:Yep. by ekimminau · · Score: 1

      Unless you are running Solaris 9 or higher or you distributed a freeware/self build of OpenSSH, you have no choice but telnet/rsh or an equally vulnerable SSH1.

      --
      Armaments, 2-9-21 And Saint Attila raised the hand grenade up on high, saying, 'O Lord, bless this Thy hand grenade' N
    32. Re:Yep. by Anonymous Coward · · Score: 0

      Anyone having binaries of this worm by any chance? I'd like to have a look for educational purposes.

    33. Re:Yep. by Venik · · Score: 2, Insightful

      There is nothing inherently wrong with telnet. It has functional limitations, just as any other method of communication. Telnet can be safely used, when its limitations are accounted in the overall environment. Look at it this way. A company that makes locks accidentally produced a model that can be opened by any key. Oops. You are saying: Hey, everybody knows that locks can be picked, so why are you still using them? Do you see a difference between a design limitation and a production defect?

    34. Re:Yep. by pclminion · · Score: 2, Insightful

      Yeah, that was my response when I first heard of this bug/exploit. But the real question is, should systems be shiped with telnet enabled? Obviously the answer is "no", but vendors seem to be slow to get this message.

      Why the hell not? Installation of Solaris is not exactly an "end user" type of operations. More likely it would be performed by an IT professional. Having telnet enabled initially makes it easy to setup the system from another location without worrying about making ssh or anything else work.

      The real stupidity is the admins who don't care enough to actually do their job and disable telnet. These are the people who should know better. Chances are, Sun has received more calls about why telnet is NOT enabled by default than they have for the opposite. The real lesson is, don't plug a box into an untrusted network with telnet running.

    35. Re:Yep. by dotgain · · Score: 1

      I didn't either.

    36. Re:Yep. by djh101010 · · Score: 1

      Um yes it does. If you have 1000 machines you probably have an image, jumpstart installation, custom installer, or possibly newer OS CDs/DVDs. The admin, since its probably not you, also could have disabled it after the fact.
      Assume much? Hell yes we have a jumpstart infrastructure. And my question remains, who in the world takes a raw box from Sun with an OS that they shipped with and use it? First of all, the partitioning is very unlikely to be suitable for, well, anything by default.


      Telnet has been enabled by default for a long time on the default installs going back quite a ways on up well into several solaris 10 sub-releases. Oddly enough, several non-AC's have posted otherwise. I tend to trust their word over that of someone not even willing to say who they are.
    37. Re:Yep. by El_Oscuro · · Score: 1

      Why the fsck is anyone still running telnet?

      --
      "Be grateful for what you have. You may never know when you may lose it."
    38. Re:Yep. by allenw · · Score: 1

      Solaris 8 never officially shipped with ssh. If you have a Sun-branded ssh on Solaris 8, it was installed from something other than the official Solaris install media. It should also be pointed out that Solaris 8 is ancient stuff. Perhaps its time to upgrade the OS to a version made in this decade?

    39. Re:Yep. by jericho4.0 · · Score: 1
      This company sells houses, and installs this lock by default on the backdoor of every house it sells.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    40. Re:Yep. by Anonymous Coward · · Score: 0

      fsck it!

    41. Re:Yep. by Random+BedHead+Ed · · Score: 1

      I have to admit to being amazed that telnetd is turned on at all in an installation of Solaris. In any Linux distro you have to enable it - heck, you usually have to do some digging for telnet and install it.

      I remember a couple years ago in my role as a Linux admin I had to help an outside vendor access a specialized Solaris box one of our research groups used, and they wanted telnet access to it. They were shocked (and remember, this was only a couple years ago) that my network team wouldn't put an exception on our firewall so they could access it. I explained the problem with Telnet, and told them it wasn't even worth our arguing for it, and also asked if they could come in via SSH instead. None of them were familiar with SSH.

      I know Solaris has an advanced kernel, is well designed, the creme de la creme, et cetera. But I can't help but feel that the pace of innovation and progress is a lot faster in the free/OSS world where improvements get added similarly across many distributions quite quickly.

    42. Re:Yep. by fm6 · · Score: 1

      Having telnet enabled initially makes it easy to setup the system from another location without worrying about making ssh or anything else work.

      So the convenience of the admin is more important than the security of the system? Your logic is the reason security is such a problem. Besides, what's the big deal in "making ssh work"? I've never had any trouble.

      Incidentally, Solaris 11 will be shipped with all unnecessary services (including telnet) disabled by default.

    43. Re:Yep. by pclminion · · Score: 1

      So the convenience of the admin is more important than the security of the system?

      The security of the system is of FUNDAMENTAL importance. It is a failure of the administrator which turns telnet into a vulnerability. Security ultimately derives from actions taken by human beings. If humans don't do what is appropriate and security is compromised, it is the humans who have failed, not the system.

    44. Re:Yep. by fm6 · · Score: 1
      Let me guess: you're a Republican, right? Keeping the system safe is less important than allowing the sysadmin to demonstrate his Moral Fiber. Jeees-us!

      Telnet is an obsolete protocol that nobody needs. If you want to show your "responsibility", take the trouble to learn how to use SSH. Or if you must use telnet, live with the fact that OS vendors are going to make you turn it on, instead of leaving an insecure protocol enabled by default.

  2. Sun don't shine by Anonymous Coward · · Score: 0, Funny

    I hate when I have worms where the Sun don't shine.

    1. Re:Sun don't shine by Anonymous Coward · · Score: 0

      OMG, I looked away from the sun and accidently spied Uranus

  3. Oh no by wumpus188 · · Score: 4, Funny

    These 4 users running telnet on solaris are gonna be pissed...

    1. Re:Oh no by Degrees · · Score: 1
      After reading this, I wonder....

      (Nowhere does it say that the solaris servers are running telnet. But our IT organization has a connection to a state agency, and today the state agency warned us they had a virus on the rampage. That agency has one of those solaris servers running in one of our mini data centers.)

      --
      "The most sensible request of government we make is not, "Do something!" But "Quit it!"
  4. Free software to the rescue? by dosius · · Score: 1

    What about replacing telnetd with openbsd's?

    -uso.

    --
    What you hear in the ear, preach from the rooftop Matthew 10.27b
    1. Re:Free software to the rescue? by ebvwfbw · · Score: 2, Informative
      What about replacing telnetd with openbsd's?

      It won't help because the vulnerability is in login (that telnetd calls) and not with telenetd. Since this is almost a month old and everyone should know by now, here it is -

      telnet -l "-froot" [hostname]

    2. Re:Free software to the rescue? by Anonymous Coward · · Score: 0

      "almost a month old"??? It is more than a decade old!!

    3. Re:Free software to the rescue? by Anonymous Coward · · Score: 0

      No, the problem is telnetd. It's not validating input. Usernames do not begin with "-", so telnetd shouldn't be passing it to login. But it does, and login dutifully does what it's supposed to.

    4. Re:Free software to the rescue? by The+Man · · Score: 1

      No, that's not correct. login(1) is just fine; telnetd fails to correctly validate user input, passing arguments to login that it should not.

      Also, "Free software to the rescue" is rather misleading as well; the telnetd shipping in Solaris has been open source for almost 2 years. In any case, the bug has already been fixed and patches are available.

    5. Re:Free software to the rescue? by ebvwfbw · · Score: 1
      No, that's not correct. login(1) is just fine; telnetd fails to correctly validate user input, passing arguments to login that it should not.

      Another slashdotter spouting off with no clue. Hint - know what you are talking about before telling anyone they are wrong. What you said is a typical knee-jerk reaction, probably from someone that thinks they know a lot about security. Look here - http://isc.sans.org/diary.html?storyid=2220 . Did you even bother to do a "man login" to see what parms it takes? You expect login to not check for such things?

      If you were getting bugtraq notices you would know that telnet worked EXACTLY as designed. The -f option was added to login in Solaris and that is why the bug is only in the later versions Solaris - 10 and 11. The parameter also gets passed to login in the previous versions, however since it didn't support it nothing bad happened. It asked you for a username, then password. In the vulnerable version, it isn't up to telnet to ask for a password, login does that. This is also not the same bug that showed up in AIX.

      Before telling me I'm wrong again, tell SUN they are wrong because that is what they said and they are the ones that fixed it. Of course if you are smart you would see that there is another way to attack the machine.

      Oh and sorry to attack you like that... however your handle is "The Man" and it isn't often I get to tell "The Man" off like that.

    6. Re:Free software to the rescue? by The+Man · · Score: 1
      Another slashdotter spouting off with no clue.

      I've read the code and the history in question and I probably understand the problem far better than you do. Assumption of ignorance on the part of those with whom you disagree is the very kind of "knee-jerk reaction" you assert I've had.

      Did you even bother to do a "man login" to see what parms it takes? You expect login to not check for such things?

      The man pages document those interfaces which are Public; that is, those which are intended for use by users and developers and for which certain guarantees of compatibility are made (or not made, depending on what the attributes(5) section has to say for the interfaces in question). They are not guaranteed to define every possible parameter accepted by every program, function, or other interface if those aspects of the interface are not Public. The existence of such interfaces is not generally a security issue; they may (and do) have perfectly legitimate consumers elsewhere in the system.

      If you were getting bugtraq notices you would know that telnet worked EXACTLY as designed.

      I'm sorry, but that's simply not true. In fact, the telnet(1) -l option *is* Public and is documented, and nowhere does the documentation indicate that the purpose of this option (nor of the USER environment variable) is to pass arbitrary options to /bin/login. Its purpose is to set the username, no more and no less. By incorrectly interpreting the value of this environment variable, telnetd(1M) is guilty of failing to correctly validate and interpret untrusted user-supplied information in a privileged context. A classic (and embarrassing) security bug. In telnetd.

      Before telling me I'm wrong again, tell SUN they are wrong because that is what they said and they are the ones that fixed it.

      Since you're not quoting an individual, I can't verify your assertion. If in fact someone said this, regardless of whether he or she works for Sun, that individual is wrong. I've inspected the changes to the code (you can do the same at src.opensolaris.org), which were entirely contained within the source to telnetd, not login, and act solely to preclude the interpretation of untrusted text as passed via -l as options to login. Neither the change nor the actual bug suggests that login is defective.

      Of course if you are smart you would see that there is another way to attack the machine.

      There are many ways to attack a machine, the vast majority of which don't work. I don't claim to have thought of every possible one (nor every possible successful one), and it won't surprise me when other serious security bugs are found in the future. I will assert, however, that the mere existence of login's -f option, however, is neither by itself nor by virtue of its undocumented nature a vulnerability.

    7. Re:Free software to the rescue? by ebvwfbw · · Score: 1
      I've read the code and the history in question and I probably understand the problem far better than you do. Assumption of ignorance on the part of those with whom you disagree is the very kind of "knee-jerk reaction" you assert I've had.

      It wasn't an assumption of ignorance, it is fact. If you know me you would know I wouldn't dare talk to you like that unless I was very darn sure of myself. I had a lot more in my response. I deleted it all. I think my helping you and pointing things out like I had is the worst thing I could do for you. That is because you have to learn this lesson the hard way, like I did. All I can do is point you in the right direction and that direction is towards login. You did begin in the right spot, telnet is certainly a great place to start an investigation and is also where I started. Then I found out that isn't where the problem is (i.e. look at other source to telnet). I know, I was surprised too. Keep looking, pay attention to the rfc's. Especially the later ones. Then look at login and why this is a login problem and not a telnet problem.

  5. Mine is! by Doctor+Memory · · Score: 2, Insightful

    But it's only reachable via ports 80 and 443. And I installed patch #120069-02 a couple of weeks ago. In fact, I already installed the -03 version of that patch. If you keep up with your security patches, it's really not a problem. Of course, this is easy for me to say, I have one workstation; I'm sure that for sites with dozens (or hundreds) of servers, it's more problematic. I also STR that patch 120069 used to require a reboot after installation, which makes it a bit more of a hassle to install (I usually save those for Fridays, when I can install them and then walk away while the box reboots).

    --
    Just junk food for thought...
    1. Re:Mine is! by tcopeland · · Score: 1

      > I'm sure that for sites with dozens (or hundreds) of servers, it's more problematic

      Although in those cases I'd hope that they'd have everything nicely automated so that pushing out updates is just a matter running some utility that executes the update on all the machines. As Zed Shaw says, "if you're ssh'ing in to your servers more than once a week, you haven't automated things enough."

      Of course there will be exceptions - custom installations and whatnot - but hopefully a change like this could just be shoved right out there.

    2. Re:Mine is! by Nonac · · Score: 1

      > If you keep up with your security patches, it's really not a problem.

      I dare say that most sysadmins who keep up with patches don't have telnetd running.

    3. Re:Mine is! by fm6 · · Score: 1

      As Zed Shaw [zedshaw.com] says, "if you're ssh'ing in to your servers more than once a week, you haven't automated things enough."

      Dude, many data centers have thousands of servers. Sun itself sells a blade system that puts 20 servers in a single rack. In that kind of environment, if you ever ssh into your systems, you haven't automated things enough!

    4. Re:Mine is! by multipartmixed · · Score: 1

      I'm a sparc user so I don't have 120069, but 120068-03 "SunOS 5.10: in.telnetd patch" is listed as "Install Requirements: NA". Presumably these are the same patch. ...Interesting, -03 seems to fix 6524404 which says "rebootafter property is not necessary".

      Looks like -02 says it required a reboot but didn't; -03 does it right (I didn't get -02, I just disabled in.telnetd).

      -02 is quite hiliarious, it fixes bug "6523815 LARGE vulnerability in telnetd"

      --

      Do daemons dream of electric sleep()?
    5. Re:Mine is! by xsbellx · · Score: 1

      While I agree with the philosophy of of your post, the real world has a slightly different opinion. Let's take an example:

      1) You have 1200 Solaris production systems running various levels of Solaris, 7 through 10. You have an identical test environment, same 1200 severs running exactly the same version of everything. Add to this 700 odd UAT systems and about 500 dev systems. So now we are looking at 3600 servers. Now it's time to throw some bureaucracy into the mix.

      2) Patches must be TESTED in the development environment first - 2 days of effort to go through the standard patch test suite for all 500 servers.

      3) After successfully testing in DEV, it's off to the UAT world. Little more in-depth test suite and more change management crap. 3 days to get through UAT provided you do not have an issue with scheduling.

      4) Great, now we can move on to the PTE (Production Test Environment). First and foremost, your change window is from 08:00 until 22:00 Monday. If you want a change to this window, it gets escalated through 4 levels of management on our side and, lucky us, 5 levels on the client side. The testing here is more extensive than in the actual Prod environment. First, a baseline performance test must be completed (2 hours). The patch is applied and tested. Depending on the systems, this can be time consuming (think clustered systems and ALL of the failover scenarios must be tested). Now to make sure the patch didn't screw anything up, run another perf baseline (2 hours).

      5) After the patch has been in-place for at least 72 hours, it can be applied to Prod. Oh, your change window for Prod is 03:00 to 07:00 every other Sunday. Want to change either the window or the 72 hour cooling off period, it's now 5 levels of management on our side and the same 5 on the client side along with sign off from the CIO and one senior/executive VP on the client side. And the same testing with the exception of performance baselining must be completed. This includes all of the failover scenarios for clusters.

      Oh and don't forget to add somewhere between 60 and 80 hours of work documenting the WHOLE process and answering moronic questions in meetings.

      Thankfully I get paid OT for this sort of shit.

      --
      If VISTA is the answer, you didn't understand the question
    6. Re:Mine is! by amper · · Score: 1

      Not to nitpick, but did you mean 20 servers in a single rack space? Because if you didn't, 20 servers in a single, standard 42U rack isn't impressive, considering that with any ol' 1U server, you can fit 42 of them in the same space, right? OTOH, 20 servers in 1U *would* be impressive.

    7. Re:Mine is! by fm6 · · Score: 1

      Oops. You're quite correct. Though it should be noted that each of the blades in the system I mentioned is much more powerful than any 1U system.

    8. Re:Mine is! by msouth · · Score: 1

      > I'm sure that for sites with dozens (or hundreds) of servers, it's more problematic

      Although in those cases I'd hope that they'd have everything nicely automated so that pushing out updates is just a matter running some utility that executes the update on all the machines. As Zed Shaw says, "if you're ssh'ing in to your servers more than once a week, you haven't automated things enough."


      Uh, dude, I think the point is that they don't have to--we can just write a worm that installs the patch for them...
      --
      Liberty uber alles.
    9. Re:Mine is! by drsmithy · · Score: 1

      Sun itself sells a blade system that puts 20 servers in a single rack.

      Sun's Blade system aren't particularly impressive from a density perspective - IBM's, with 14 blades per 7U (84 servers in a rack), are much more interesting.

  6. I might have missed something.... by 8127972 · · Score: 3, Informative
    --
    This is my opinion. To make sure you don't steal it, it's covered by the DMCA.
    1. Re:I might have missed something.... by pizza_milkshake · · Score: 1

      yes, but not everyone applies every patch the instant it becomes available.

    2. Re:I might have missed something.... by diegocgteleline.es · · Score: 1

      Duh, you mean that sun doesn't have automatic software updates turned by default? It's a stupid thing to do, even for servers - and "admins must test the update first" is not an excuse, I'd rather have something breaking than a security hole

    3. Re:I might have missed something.... by Doctor+Memory · · Score: 1

      I'd rather have something breaking than a security hole I doubt you'll find many sysadmins agreeing with you there. As someone else mentioned, most sysadmins will already have disabled telnetd. So to install a patch and reboot their systems without warning (possibly during the work day) seems like a little harsh treatment for somebody who's already mitigated the threat.
      --
      Just junk food for thought...
    4. Re:I might have missed something.... by boner · · Score: 1

      that is utterly stupid... you'd rather have an automatic update break your box so you can spend hours trying to find out how???

      For a reasonable commercial system downtime is measured in thousands of dollars of lost revenue per hour. You will want to update your post after you have had a CEO, CTO, CFO etc... throwing a hissy fit because the system is down... 'automatic update' as an excuse will get you fired, and rightly so.

    5. Re:I might have missed something.... by djh101010 · · Score: 1

      Duh, you mean that sun doesn't have automatic software updates turned by default? It's a stupid thing to do, even for servers - and "admins must test the update first" is not an excuse, I'd rather have something breaking than a security hole In the real world, things need to be tested and run through the dev/stage/prod environments. This isn't Joe's Bait Shop we're talking about...
    6. Re:I might have missed something.... by diegocgteleline.es · · Score: 1

      This isn't Joe's Bait Shop we're talking about...

      Which is why I wouldn't like to have a system that doesn't patches security holes ASAP.

    7. Re:I might have missed something.... by djh101010 · · Score: 1

      This isn't Joe's Bait Shop we're talking about...

      Which is why I wouldn't like to have a system that doesn't patches security holes ASAP. Unless you can show me otherwise, I'm going with the statement made by several folks in the thread that it's disabled by default. It's only a security hole if you open it. If you cut a hole in the side of your house for when you leave, is that the house-builder's fault?
  7. It's been a long day... by Odiumjunkie · · Score: 5, Insightful

    So, just to be clear, this story, posted on March 2nd, is reporting on a worm which has started exploiting a zero day vulnerability that was covered by slashdot on February 12th?

    Isn't twenty days long enough to disable a remotely exploitable and totally unnecessery, unsafe service that no admin in his right mind should have enabled on a box connected to the net anyway?

    1. Re:It's been a long day... by Cheapy · · Score: 3, Funny

      Sysadmins have been search this entire time to find a Solaris box to fix.

      They are still searching.

      --
      Would you kindly mod me +1 insightful?
    2. Re:It's been a long day... by 8127972 · · Score: 1

      You must be new here.

      --
      This is my opinion. To make sure you don't steal it, it's covered by the DMCA.
    3. Re:It's been a long day... by Billosaur · · Score: 1

      Isn't twenty days long enough to disable a remotely exploitable and totally unnecessery, unsafe service that no admin in his right mind should have enabled on a box connected to the net anyway?

      Yes, but some people are a little slow... others are just overworked... and then there are the stupid ones...

      Honestly, does anybody have a use for telnet anymore? It really shouldn't be enabled by default anyway. I guess if your system isn't connected to the Internet you have no fears, but who would do that?

      --
      GetOuttaMySpace - The Anti-Social Network
    4. Re:It's been a long day... by dknj · · Score: 2, Interesting

      Judging by your UID, i will assume you are new here and new to IT in general. In The Real World(tm), patches are not applied as soon as they are released. You must test them, most managers are clueless to OS level patches and require the same testing process that, say, application testing goes through. I have seen patches take a week to be approved and put into production and I have worked with companies that have a 30 day delayed patch release schedule.

      With that said, no one should be running any insecure applications in production..... but people/organizations do. X servers running as root with all hosts allowed to connect. Passwords with abc123. This is entirely the fault of the admin, but sometimes cannot be altered without beauratic hoopla (all you can do in this case is CYA and make it visible to upper management).

      Lastly to quell all these "ZOMG SOLARIS IS TEH SUX0R" comments.. Solaris 10 only enables telnet when the admin specifically requests it during installation. Let me say it again, the admin has a choice to install telnet and enable it during installation. Plus who installs Solaris by hand when you have Flash Archives/Jumpstart to do the work for you?>

    5. Re:It's been a long day... by qwijibo · · Score: 1

      I work for a major bank that leaves telnet on all over the place, in spite of the 1997 company policy of replacing it with SSH as soon as possible. Sensible configuration and maintenance are impossible when business people micromanage the technology side. You'd think that putting a gun to their head would be enough to make people do it, but you'd be wrong. They're one step ahead of us all. Business people cannot be harmed by a bullet to the brain. They're already brain dead.

    6. Re:It's been a long day... by Anonymous Coward · · Score: 0

      It kinda makes me wonder did the editors held off on posting the story for some reason. I believe it has been in the "Firehose" for a while now.

      Because we know if it had been a flaw in a Microsoft product the story would have been posted not 5 minutes after the bug was discovered.

    7. Re:It's been a long day... by Anonymous Coward · · Score: 1, Insightful

      When someone finds a solaris box, if it's infected, maybe they'll be nice enough to talk about what the worm does in good detail, and post some partial disassembly or something. I've always been fascinated with worms, and although posting binaries or complete source would be akin to handing out loaded guns (at least until most everyone has gotten patched), I'm kinda pissed that the Morris Internet worm is almost two decades old and *still* there's no complete source listing or binaries online to look at for curiosities' sake. I don't think there are *any* vulnerable boxes still running *anywhere* attached to the Internet, but being able to play with an old, live worm in a simulator or an isolated network could be helpful for people writing automated network monitoring / blockading software. For example, if I had a bunch of old windows machines with unpatched IIS on a completely isolated network, I could actually watch Code Red and Code Blue spreading through the network, and see what kind of automated detection and isolation software I could come up with that could be useful for future worms and such. I could experiment with network topologies and layouts and see how to build a good dynamic system that could be deployed in a variety of network configurations. Fortunately for safety's sake, but unfortunately for people who only experiment with security systems as a hobby and aren't notable and thus not trustworthy in the eyes of notable researchers, anti-virus firms and famous security researchers keep a very tight lock on these things, even some very old ones that are effectively harmless toward the Internet at large at this point. I can find sites with live viruses that are only a few years old, but I can hardly find any live worms. I don't think it's a very good idea to put a bunch of open systems out there and wait for them to get infected with something, but it seems like the only potential way of catching one. However... anyone know of any virtual honeypot software that could actually emulate a lot of different architectures and systems? I know it's nearly the same as writing full emulators, but, it could be useful.

    8. Re:It's been a long day... by agbinfo · · Score: 1

      Yes, but some people are a little slow... others are just overworked... and then there are the stupid ones...
      The company I work for disabled telnet from the LAN a few months ago (I don't know how long it's been disabled from the Internet). I thought they were a bunch of morons for not doing this sooner.

      I can't think of a single excuse not to fire a network admin that hasn't disabled telnet.

    9. Re:It's been a long day... by Nethead · · Score: 1

      Judging by your UID, I will assume you are new here.

      --
      -- I have a private email server in my basement.
    10. Re:It's been a long day... by dknj · · Score: 1

      no just a long time lurker. i should have a uid in the 5 digit range, but i always posted as AC. when i finally decided to register an account, it was already in the 400,000 range. similar with icq, k5, and audiworld

  8. D'Oh! by bigtomrodney · · Score: 1

    As a complete Unix fan boy I have to say this is one instance where we have to step down and put our hands up to say "Okay, we're sorry, we screwed up". Even XP managed to turn off its telnet service in Service Pack 1!

    --
    I never get used to these constant resurrections
  9. Should have happened... by alexhs · · Score: 4, Insightful

    What about this argument that OSs other than Microsoft ones don't get malware developped for them because they don't have significant marketshare, again ?

    --
    I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    1. Re:Should have happened... by the_humeister · · Score: 1

      It's not just marketshare. Being easily exploited and high profile also need to fit the bill too. Do we ever hear about exploits for QNX, BeOS, OS/2, Minix, etc? At least we don't hear about them on slashdot.

    2. Re:Should have happened... by runderwo · · Score: 1

      Do we ever hear about exploits for QNX, BeOS, OS/2, Minix, etc? At least we don't hear about them on slashdot.
      Yeah, but to be exploited, you first need a network stack. Oh, and you'll need one to submit the story to slashdot too.
    3. Re:Should have happened... by Anonymous Coward · · Score: 0

      I'm too lazy to log in, but oh well...

      This is not malware. It is a security hole. Know the difference.

  10. telwhat? by glwtta · · Score: 2, Funny

    Tell who?

    What year is it?

    --
    sic transit gloria mundi
    1. Re:telwhat? by Anonymous Coward · · Score: 0

      It must be MS tel.NET since the article is about a security issue and this is Slashdot. But sorry, I have no idea what year it is.

    2. Re:telwhat? by Punch-Drunk+Slob · · Score: 1

      Haxxorz would LEAST EXPECT a running telnet service, so use telnet! Haven't you seen Psycho? Always hide in plain sight.

      Then again, Psycho was 1960...

      --
      By the pricking of my thumbs, Something wicked this way comes: Open, locks, whoever knocks!
    3. Re:telwhat? by Nethead · · Score: 1

      In other news, gopherd......

      --
      -- I have a private email server in my basement.
  11. Other Telnet vulnerabilities by Flying+pig · · Score: 2, Insightful

    Amazing but true - there are printers on some networks which are accessible over the public Internet and which have their telnet ports exposed. I'm obviously not spelling out the implications here, but some people need the proverbial rocket up the backside.

    --
    Pining for the fjords
    1. Re:Other Telnet vulnerabilities by geoffspear · · Score: 3, Funny

      I've yet to come across a printer that was running Solaris, but I'll certainly keep that in mind if I ever do.

      --
      Don't blame me; I'm never given mod points.
    2. Re:Other Telnet vulnerabilities by Anonymous Coward · · Score: 0

      Yeah buddy, a client of ours that we took over awhile ago had the same thing. We were doing just a basic security audit of their perimeter, and I found a static NAT for a printer!?

      You could view the web interface from anywhere in the world! Let's just say I closed that hole pretty fucking quick. It's amazing what some companies do for ease of use. Jesus, doesn't anyone fucking use a VPN?

    3. Re:Other Telnet vulnerabilities by Mr-Fish · · Score: 1

      Xerox made plenty of these.

    4. Re:Other Telnet vulnerabilities by geoffspear · · Score: 1

      Ok, that makes it more likely (but probably not by a huge amount) that I will someday come across one of these. Hey, who needs servers when your printer is a Sparc?

      --
      Don't blame me; I'm never given mod points.
    5. Re:Other Telnet vulnerabilities by Anonymous Coward · · Score: 0

      Yeah, and if I find one, I probably don't need an exploit to log in.

    6. Re:Other Telnet vulnerabilities by wiredlogic · · Score: 1

      Most later HP laserjets with jetdirect cards have two ports open by default. One for an interactive command shell and the other for an interactive Postscript session.

      --
      I am becoming gerund, destroyer of verbs.
  12. Telnet for transparency? by Anonymous Coward · · Score: 4, Interesting

    A while ago I found a strange comment here about why telnet was still used, even by security-knowledgeable IT department. The comment was saying this:

    Large financial institutions in Europe use telnet, as use of encryption is restricted on their trusted networks, for reasons of transparency to the stock regulating authorities. (Googling for this phrase should get you the /. comment)

    If this is true (and not the post of a random troll), can anyone shed some light on this? For it seems very strange... There are many other way to provide transparency to the financial authorities without having to compromise your network no!?

    1. Re:Telnet for transparency? by Anonymous Coward · · Score: 0

      If they aren't doing that they should be. It's on a secured network. Using telnet they can have a tiny 10-line program that samples tcpdump for randomness and automatically flags the vast majority of intruders in realtime. They can have a recorder with a rolling log (ie spiralog on vms or zfs on sun) that can store X amount of traffic that after the fact can be analyzed completely, aside from whatever scrabling some intruder is using of course.

    2. Re:Telnet for transparency? by VWJedi · · Score: 1

      Large financial institutions in Europe use telnet, as use of encryption is restricted on their trusted networks, for reasons of transparency to the stock regulating authorities.

      I think the key phrase here is trusted network . Unless "the Internet" is a trusted network or they don't properly firewall their trusted network, they should be fine.

    3. Re:Telnet for transparency? by NoBozo99 · · Score: 1

      Key word being "Trusted" network. I guess it makes some sort of sense regarding financial trading, but would never fly on a network for defense or security communities.

      --
      I may not be a smart man, but I know what an inode is.
    4. Re:Telnet for transparency? by Anonymous Coward · · Score: 1, Interesting

      You're right with that. Not only financial sector - many large companies do that.

      I work for a small company that does some support jobs in several larger companies - mostly over VPN or ISDN - and on some companies external access via SSH is forbidden by policy. Reasons I was told were:
      * We can't monitor you if your traffic is encrypted
      * SSH has too many features (i.e. port forwarding)

      And yes, I do know how lame those reasons are and easy to circumvent. But try to convince an IT-Department standardizing vor 30000+ empoyess if your own company barely reaches 40. I really would like to meet one of those decision makers once....

      Interesting thing is, some other clients forbid telnet (cheers to them!) and push towards SSH.

      For us it's simply annoying, as you might be stumped when you try to login and get 'connection refused' and after five minutes realize: "aaah this client forbid SSH".

  13. A new box won't have this problem... by kenh · · Score: 2, Insightful

    This is not present in the Update 3 of Solaris, released 11/06 - that prompts the user to enable "network services" if they like, but warns that will expose the system to problems. One of those problems is the famously insecure telnetd service. If you say "No" telnetd is not installed/activated - and "No" is the default.

    Existing boxes need to fix this, but a patch has been out for a while - are we dealing with the "short bus" hackers that it took this long to actually exploit? Why, oh why, doesn't Solaris warrant better hackers? ;^)

    --
    Ken
    1. Re:A new box won't have this problem... by Anonymous Coward · · Score: 1, Interesting

      Check again. In update 3, you have to choose the checkbox other than the default
      to disable services!

    2. Re:A new box won't have this problem... by kenh · · Score: 1

      I stand corrected - see: http://docs.sun.com/app/docs/doc/819-6764/6n8onr7p d?a=view

      But, the installer does explain (in no uncertain terms) that you should probably disable Network Services - you can alway enable the services you need...

      Thanks,

      --
      Ken
    3. Re:A new box won't have this problem... by steveg · · Score: 1

      And I can promise you that 1106 DOES have the insecure telnet. You have to apply the patch if you ever want to enable telnet -- and if you choose to enable Network services for some other reason, like, oh, say to use XDMCP, you get telnet enabled as a bonus.
      .

      --
      Ignorance killed the cat. Curiosity was framed.
  14. Computer Security by huckamania · · Score: 1

    ...once again proves to be an oxymoron.

    It's such a joke that every one claims to be more secure then the next guy. But really they mean if you turn everything off and patch your system every day. That's what a 0 day exploit means. You have to patch every day or you could be at risk. Assuming there is a patch.

    Having a patch isn't even that great of a deal. The patch usually provides the problem and then it's off to the races. How long to patch X number of systems versus how long to write an exploit. Even if you are 1% of the market, it's a losing race for the patchers.

    Then there are all of the poor orphaned systems out there that don't have any one to maintain them. Who will patch these poor unfortunates? No one. The maintainers got laid off or found a better job and those systems will always be vulnerable.

    The only time a computer is secure these days is when the network cable is unplugged and/or the on/off switch is off.

    And don't even get me started on the Web of Lies...

    1. Re:Computer Security by SanityInAnarchy · · Score: 2, Interesting

      It's such a joke that every one claims to be more secure then the next guy. But really they mean if you turn everything off and patch your system every day.

      Which is the default, these days.

      That's what a 0 day exploit means. You have to patch every day or you could be at risk.

      No, a 0 day exploit means even if you patch every day, you're still at risk. But you know what? You're at risk every day simply by being alive. You could be hit by a meteor the next second! Oh noes!

      Grow up and stop fearmongering. There's plenty of real security threats without saying "Everyone's insecure!"

      Having a patch isn't even that great of a deal. The patch usually provides the problem and then it's off to the races.

      I'm sorry, what? The patch provides the problem... I think I know what you mean, but this just makes you sound like an idiot. The patch fixes the problem. It may provide new problems, but it fixes the ones it's meant to fix.

      How long to patch X number of systems versus how long to write an exploit. Even if you are 1% of the market, it's a losing race for the patchers.

      How do you figure? Got any numbers to show me, or is this just blind speculation?

      Here's a hint: If you've got an open source system, someone who finds an exploit is much more likely to send in a patch than to release said exploit into the wild. I know that's the case with me -- given the choice between patching Linux and exploiting Linux, I'll patch it. Given the choice between waiting six months for MS to patch something and exploiting it myself, I'll exploit it. And if you've got everyone's system updating every day, then it truly does become a losing race for someone to find the patch, develop an exploit, and begin using it before my system automatically patches itself.

      Then there are all of the poor orphaned systems out there that don't have any one to maintain them. Who will patch these poor unfortunates?

      Who relies on these poor unfortunates? Not anyone who cares about security. I mean, yeah, if you're running Win98, you're better off leaving the thing unplugged, but...

      The only time a computer is secure these days is when the network cable is unplugged and/or the on/off switch is off.

      I hate hearing this. Not only is it simply wrong (I can still pick the computer up and carry it off), but it's often used as some sort of excuse for computer security being as bad as it is.

      I think Linux and the BSDs are pretty secure. I'm still annoyed at how frequently exploits are found.

      But notice how you took two examples: A zero-day exploit, and old, unmaintained systems. Everything else you mentioned is basically saying the sky is falling because no one is secure, and therefore we can't say anyone is more secure than anyone else? How twisted is that?

      Obviously, if I post my root password and IP address here, I AM less secure than everyone else. So, obviously, there are degrees of security.

      And maybe everyone does become vulnerable at some point. It doesn't mean we're all doomed -- security is entirely based on economics. You're not 0wned unless it's worth it for you to be, and it's just not worth it if I'm running a custom-compiled Linux kernel and Gentoo system, all kinds of stuff tweaked by hand, and no particular reason they'd want me except CPU cycles and bandwidth. As long as there's dozens of Windows boxes they can 0wn automatically, they aren't going to get me.

      Still, if you're so convinced the exploiters will always beat the patchers, go ahead and try. Crack my box, and leave me an email from myself explaining the situation. Until then, I'll reamin convinced you know nothing about security except that old "Nobody's secure" bullshit.

      --
      Don't thank God, thank a doctor!
  15. congradulations... by Jose · · Score: 1

    ...on writing the worlds most unsuccessful worm.

    isn't even coming close to their trend on activity-by-ports page

    --
    The basic sleazeware produced in a drunken fury by a bunch of UCBerkeley grad students was still the core of BIND. --PV
  16. Switch to Vista by Anonymous Coward · · Score: 0

    Easy solution...Switch to a Vista/2003 Server platform. Duck!

  17. What proverb is that? by SanityInAnarchy · · Score: 2, Informative

    proverbial rocket up the backside.

    I'm pretty sure I never heard my mother say, "Son, if you ever expose a Telnet port to the Internet, I'll fire a rocket up your ass!"

    --
    Don't thank God, thank a doctor!
    1. Re:What proverb is that? by Anonymous Coward · · Score: 0

      Actually, that may be the first time that phrase has ever been said! Er ... typed. You get the idea.

    2. Re:What proverb is that? by Elm+Tree · · Score: 1

      You're lucky! My mother flipped when she found out I'd exposed my... "ports" on the internet.

    3. Re:What proverb is that? by Maximum+Prophet · · Score: 1

      Well, that would be Bob 37:527 "Fear the rocket, and keep your ports closed, lest your ass gets burnt."
      Bob 37:528 goes on to say. "Close down all your ports, and only open the ones truely needed, or the you will learn why you should fear the rocket."

      --
      All ideas^H^H^H^H^Hprocesses in this post are Patent Pending. (as well as the process of patenting all postings)
  18. So they finally secured sendmail and fingerd? by iamacat · · Score: 1

    And is it going to take another 20 years to close all the holes in telnet?

  19. Solaris.Wanuk.Worm by Anonymous Coward · · Score: 0
  20. Exploiting telnet by Lewrker · · Score: 0

    is like asking a retard to tie his shoelaces and then pushing him when he bends over.

  21. It's good to get the word out about this by Tarlus · · Score: 1

    At the university where I work, there were a number of people running Solaris boxes who weren't even aware that telnet was running. It's not that they weren't aware of the secure advantage of using SSH. But they just weren't paying close attention to what ports they had open.

    So if you or someone you know runs Solaris, but uses SSH, make sure that telnet is 100% disabled for sure!

    --
    /* No Comment */
  22. Correction by Megane · · Score: 2, Interesting

    Correction: that's one of the first things any good distro never turns on.

    Linux and BSD had it for a long time before Solaris had it in the standard install. And you can't even enable telnetd on OS X since about 10.2 or so, unless you know how to edit the right config files in /etc.

    --
    #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    1. Re:Correction by poopdeville · · Score: 1

      You don't need to touch anything in /etc to turn telnet on in OS X. All you have to do is run "launchctl start telnet" as root. (x)inetd has been depecated in favor of launchd.

      --
      After all, I am strangely colored.
  23. Telnet?! by kindbud · · Score: 1

    I don't even run inetd!

    --
    Edith Keeler Must Die
  24. Patch Worm by Anonymous Coward · · Score: 0

    Someone should modify this worm to login as root, patch telnetd to fix the vulnerability, spread itself for a while, and then die. I've always wanted to see this done, and this seems like a good opportunity (limited number of configurations/binaries, limited number of machines, etc.). To respond to some anticipated points:

    1) No, it's almost certainly not legal.
    2) Yes, the ethics of it are debatable.
    3) I don't know if there's actually a patch available yet.
    4) Yes, this still results in a compromised machine that any diligent sysadmin (running telnet?!) will have to spend a lot of time/effort cleaning.

    It's more of an interesting idea that I'd just enjoy seeing. Anyone know of any cases of this happening? "Oh no! You've got the anti-virus virus."

    -TUAC

  25. Time Warp? by corpsmoderne · · Score: 1

    Am I the only one having checked the date after reading this title? For a second, I believed I was back in the 90's...

  26. MOD PARENT UP by Schraegstrichpunkt · · Score: 1

    Exactly. All these comments to the effect of "telnetd should be off by default" are missing the point. Yes, telnetd should be off by default, but that's just so that dumb users don't get used to typing in their passwords over a cleartext connection.

    It makes me wonder about how much original thought there is on Slashdot, versus how many comments are just clueless people using technical terms in a syntactically-correct fashion without really understanding what they're saying.

    If I went back into the Slashdot archives for around 1999, I wouldn't be surprised if I could find a ton of comments to the effect of "only stupid people write down their passwords".

    1. Re:MOD PARENT UP by amper · · Score: 1

      What really makes me laugh is how many people think that running sshd instead of telnetd is somehow going to magically give you protection from being hacked.

      For those of you who don't realize this...you can break into *any* vanilla sshd by guessing the right password...just the same as if you were running telnetd. The *only* difference is somewhat greater protection over having your password sniffed over the network while in transit. Unless, of course, you're running some sort of PKI infrastructure with client certificate authentication, or some such...which very, very few people ever implement.

      Exercise for the reader (at least, those of us who actually have root access to real servers connected to the Internet): Go take a look at your authentication logs to see how many bots out there are trying to guess your ssh password. Solution #1: Put an externally configurable firewall on your network, and only enable ssh traffic when you need access. Then shut the port when you're done. Never rely on a single layer of security.

      Besides which, the possibility of your password *actually getting sniffed* is extremely small, unless your traffic is being routed through already insecure systems, which is a highly unlikely possibility.

      The sky is not falling. But you should be aware that sometimes things do drop out of the sky and land on people.

    2. Re:MOD PARENT UP by Red+Flayer · · Score: 1

      It makes me wonder about how much original thought there is on Slashdot, versus how many comments are just clueless people using technical terms in a syntactically-correct fashion without really understanding what they're saying.

      You must be new here.

      If I went back into the Slashdot archives for around 1999, I wouldn't be surprised if I could find a ton of comments to the effect of "only stupid people write down their passwords".

      That's because obvious truths == positive moderation. Inobvious truths and original thought aren't recognized by most moderators.

      This is a product of the moderation system, which rewards both groupthink and stating the obvious. That said, I've yet to see anything nearly as good as the slashdot system for moderation.

      Oh, and browsing at +4 certainly helps a lot -- really increases the signal to noise ratio.
      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    3. Re:MOD PARENT UP by Anonymous Coward · · Score: 0

      What makes me really laugh are those users/admins that are almost evangelical in their support for ssh and put telnet down at every opportunity, but then use the same passwords with conventional FTP or other protocols. Oops. Face. Egg.

  27. Wecome back Morris by daves · · Score: 1

    Given the age of the vulnerability, it's probably just the Morris worm still kicking about.

    --
    People who disagree with you are not automatically evil, greedy, or stupid.
  28. Why use telnet, anyway? by Sherloqq · · Score: 1

    The last time I used telnet was probably somewhere in the late 90's. Since then I've been using ssh, like most people. Besides being secure, ssh puts a lot of power and flexibility at my fingertips: port-forwarding for tunnelling, passwordless connectivity, secure file transfers just to name a few. So it could be that it's been so long that I don't see the point of using telnet anymore, let alone willingly leave it enabled on my systems.

    So besides the old argument of "I have legacy systems / applications which rely on telnet and other outdated modes of communication", why would people use telnet? Laziness? Ignorance? What else am I missing here?

    --
    Have EVDO, will travel.
    1. Re:Why use telnet, anyway? by 99BottlesOfBeerInMyF · · Score: 2, Informative

      So besides the old argument of "I have legacy systems / applications which rely on telnet and other outdated modes of communication", why would people use telnet? Laziness? Ignorance? What else am I missing here?

      People who use telnet on a large scale that I know of include:

      • European financial companies who are not allowed to use encryption while trading stock for regulatory reasons (on a private network).
      • South and Central American ISPs who provide shell accounts as part of internet access and who have to support the lowest common denominator.
      • Major network operators in Asia and China who run telnet on their control networks.
      • New hardware appliances that are configured once from telnet or console and for whom SSH provides only added complexity since they would be transferring the keys at the same time as their only connection.

      Telnet is not dead and in some cases is appropriate. Those cases are just fairly limited and are less likely to be a problem than someone who just stick a box on the net with telnet enabled because they are lazy/ignorant (which also happens).

    2. Re:Why use telnet, anyway? by Anonymous Coward · · Score: 0

      There's a difference between the telnetd and telnet programs. telnetd is a server that listens for connections using the telnet protocol. telnet is the client program you can connect to telnetd with. As others have pointed out, that feature is pretty much useless because passwords are sent in clear text. However, telnet the client program is an *extremely* useful network troubleshooting tool. You can use it to determine if servers are listening on their proper ports or detect if your firewall is blocking a port you need. You can run 'telnet ipaddress 25' to talk to an SMTP server, 'telnet ipaddress 1521' to test if your Oracle listener is running, 'telnet ipaddress 80' to talk to your web server, etc.

  29. No. by TransEurope · · Score: 1

    It's the first thing a good admin never turns ON ;-)

  30. Zonk strikes again by Anonymous Coward · · Score: 0

    Fuck me gently. First the Vista ativation bullshit, now this lame crap. Still, judging by the number of posts, it's time I tried Myspace...

  31. And is this somehow different that other versions? by amper · · Score: 1

    'The SANS Internet Storm Center, which monitors Internet threats, has noticed some increase in activity on the network port used by Solaris' telnet feature, according to an ISC blog posted on Tuesday.

    Pardon my ignorance, but doesn't Solaris use TCP port 23 like every other version of telnet in the universe, unless it's specifically redirected to a different port?

  32. please take this into account by Animixer · · Score: 1

    #1 - By default, you can never log in with root remotely via any means (only via an su). You'll note that /etc/default/login by default restricts root logins to the local console.

    #2 - Any admin worth his/her salt will disable anything not required before making a system publicly accessable. This is not a consumer OS so people should be expected to have a clue.

    #3 - Less salty admins will find that new installs of Solaris 10 will have a checkbox that restricts remote access to ssh only unless they specifically open the whole system up.
    t
    I'd imagine virtually all Solaris deployments are done via a custom JumpStart configuration anyways, and the primary admin of that would have all the patches and lockdowns scripted in to the finish scripts. I do this for a lab environment and it works well.

    --
    man tunefs | grep fish
  33. *Cough* Microsoft *Cough* by CasperIV · · Score: 1

    Need I say more?

    1. Re:*Cough* Microsoft *Cough* by fm6 · · Score: 2, Funny

      Since when was Microsoft known for usability?

    2. Re:*Cough* Microsoft *Cough* by triso · · Score: 1

      Since when was Microsoft known for usability? Microsoft is the king of usability:

      Put a CD in the drive and it will run an installation program (or a virus or rootkit). Man, that was easy.

      Open a MS Word document and a VB script (or a virus or rootkit) will run automatically. What a time-saver.

      etc, etc.
    3. Re:*Cough* Microsoft *Cough* by fm6 · · Score: 1

      Virus and rootkit support counts as feature creep, not usability!

  34. Informative? by SanityInAnarchy · · Score: 1

    What kind of mod is that?... ...Mom, is that you?

    --
    Don't thank God, thank a doctor!
  35. using telnet? by Anonymous Coward · · Score: 0

    WHY???

  36. different types of end-users by gr8dude · · Score: 1

    I doubt it; after all - the individuals who use these systems are not grandmas who brely know how to move the mouse. These systems are designed for use by experienced folk; I think it's just a blunder.

  37. You would be surprised by Anonymous Coward · · Score: 0

    We have had a parade of consultants in to mess with out ancient bloated Remedy shiteware, which for God knows what reason is still running on Solaris, and maybe half them have never heard of SSH or SCP. It is to laugh or to cry.

  38. Hmmm People still using Telnet? by Ragingguppy · · Score: 1

    Huh? I thought that telnet was obsolete.

  39. SSHD DOES give you magical powers - real passwords by wsanders · · Score: 2, Insightful

    - The Solaris telnet authenticates against their login PAM modules, which only uses the first 8 chars of the password for authentication. SSH bypasses /bin/login and passwords can be as long as you want. This is more longtime Solaris silliness that has not been fixed in Solaris 10.

    At least they do come with a binch of stuff disabled by default, and with a fairly recent version of SSH.

    I *DO* have numerous Solaris hosts happily floating in the effuent of an unfirewalled Internet connection, and they are probed continually for guessable passwords. Since my passwords are something like "2q3cb07rqwpexnbyslgfsdjhg" and I use only ssh for acccess I can sleep at night.

    --
    Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
  40. Not "0-day" anymore.. by Jeremy+Kister · · Score: 1

    Slashdot is littered with articles about "0-day" vulnerabilities or releases. Something is only "0-day" within a 24 hour period after the release/announcement has been made. the next 24 hour period is called "1-day". 24 hours after, it's "2-day", get it?

    This phrase originated back in the BBS days when pirate boards advertised how new their pirated software was. 0-day was ultra-cool, 0-1 day was still good, and most carried 0-30 day software.

    At this point, "Solaris Telnet 0-day vulnerability" should have been written:
    a. Solaris Telnet vulnerability
    b. Solaris Telnet 18-day vulnerability
    c. Solaris Telnet once-upon-a-time-was-obviously-a-0-day vulnerability

    just because someone labeled something as "0-day" doesn't mean that it keeps getting called "0-day" afterwards. The original label is simply there to signify that the release is new.

    --

    Jeremy Kister
    http://jeremy.kister.net./

  41. They lost the entire box!? by Anonymous Coward · · Score: 0

    It's probably got stuck inside a wall when the place was remodeled. Have they tried checking in there?

  42. Woah nelly... by Ayanami+Rei · · Score: 1

    man crypt_bsdmd5

    in /etc/security/crypt.conf:
    CRYPT_DEFAULT=__unix__ => CRYPT_DEFAULT=1

    This makes Solaris PAM compatible with Linux/BSD-style MD5 shadow hashes distributed via file, NIS, LDAP, or whatever. It will process an arbitrarily long password.

    And in that case, you should edit your /etc/ssh/sshd_config and set PAMAuthenticationViaKBDInt to yes. That way you can manage your auth/session modules via pam.conf and manage your security policy in one place.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:Woah nelly... by wsanders · · Score: 1

      Actually I'm an idiot and don't deserve my mod point. BAD INFORMATION - I should have pointed out that Solaris passwd only uses the first 8 chars, and it's the bottleneck, unless you switch to MD5 as you suggest. So a password entered with passwd by default will only pay attention to the first 8 chars whether you are using telnet or ssh "out of the box".

      We use public key authentication, with passwords, and bypass password authentication completely, shoudl have said that.

      Oh well, won't be the first time I got caught talking out of my ass on /. Thanks for the amplification.

      --
      Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
  43. Amazing... by patio11 · · Score: 1

    I was wondering how to spin this so that it would possibly be anti-Microsoft. Thank you, Slashdot.

  44. Hahaha, Sun network apparently got hit by the worm by Anonymous Coward · · Score: 1, Interesting

    According to this blog entry (see http://zetarace.blogspot.com/2007/03/dont-use-teln et.html), his honeypot network caught one of the worm attempt.

    [**] [1:10136:3] TELNET Solaris login environment variable authentication bypass attempt [**]
    [Classification: Attempted Administrator Privilege Gain] [Priority: 1]
    03/01-13:44:29.556771 192.18.17.206:1134 -> 192.168.0.34:23
    TCP TTL:46 TOS:0x0 ID:52835 IpLen:20 DgmLen:86 DF
    ***AP*** Seq: 0xED89493C Ack: 0x9D57147C Win: 0xC4E0 TcpLen: 20
    [Xref => http://www.securityfocus.com/bid/22512%5D

    However, looking at the source ip attacking his honeypot machine.. seems it's coming directly
    from Sun network range:

    whois 192.18.17.206

    OrgName: Sun Microsystems, Inc
    OrgID: SUN
    Address: 4150 Network Circle
    City: Santa Clara
    StateProv: CA
    PostalCode: 95054
    Country: US

    NetRange: 192.18.0.0 - 192.18.194.255
    CIDR: 192.18.0.0/17, 192.18.128.0/18, 192.18.192.0/23, 192.18.194.0/24
    NetName: SUN1
    NetHandle: NET-192-18-0-0-1
    Parent: NET-192-0-0-0-0
    NetType: Direct Allocation
    NameServer: NS1.SUN.COM
    NameServer: NS2.SUN.COM
    NameServer: NS7.SUN.COM
    NameServer: NS8.SUN.COM
    Comment:
    RegDate: 1985-09-09
    Updated: 2003-10-10

    RTechHandle: IS189-ARIN
    RTechName: Sun Microsystems, Inc.
    RTechPhone: +1-303-272-7000
    RTechEmail: Netmaster@sun.com

    OrgTechHandle: IS189-ARIN
    OrgTechName: Sun Microsystems, Inc.
    OrgTechPhone: +1-303-272-7000
    OrgTechEmail: Netmaster@sun.com

    It seems to me that Sun is spreading the Worm.^H^Hd.

  45. Waits for the hords of retards by Anonymous Coward · · Score: 0

    There are reasons to run telnet on boxes ... if you don't know them you've never operated a system worth a shit.

    SSH yabber yabber... um encryption is going to stop someone from sniffing your password and session, but it's going to stop fuck all if there is some exploit in the SSH daemon. Telnet, SSH, anything that is interfacing with a network is just as "insecure" and open to remote attack as is the operating system's network stack.

    The amount of people that tell people they must use XZY firewall, turn on this, turn off that and then have an insecure version of Apache running their BOFH blog.

  46. The real vulnerability... telnet enabled at all! by argent · · Score: 1

    I would have thought that by now nobody would be shipping systems with telnetd enabled by default.

  47. NOT.CHUFFING.WELL.TRUE. by sparkz · · Score: 1

    Telnet is *not* enabled out-of-the-box.

    And, as has been noted, the patch has been available for about 3 weeks now.

    This is a terrible bug, which should never have got in to Solaris in the first place, but it did, and it was fixed.

    OTOH, if you've
        a) Chosen to run telnetd in the first place, and
        b) Explicitly enabled remote root login for maximum damange
    Then you can't really whine that "if a cracker can access the network, he can get root", because presumably "even if this bug did not exist, the same hacker could run snoop/tcpdump/ethereal/etc and simply *find the root password as YOU type it in*.

    So: Yes, it's bad. No, it shouldn't have happened. Is it news? Oh, redundant question, this is slashdot. It's not news, and it doesn't matter (to anyone with the slightest care about security).

    --
    Author, Shell Scripting : Expert Re
  48. *nix is great, but M$ works for Joe Average by JamesNewton · · Score: 0, Offtopic
    I love how *nix people are passionate about thier OS's. I'm sure Solaris or Red Hat are great. But not for the average computer user who just wants to get the job done. Microsoft gets a lot of blame and some of it is deserved, I'm sure, but here is what they are up against: They make an OS that the average jerk like me can get work done with and not get hacked (millions of examples to the contrary will now be posted).

    I've run three *nix boxes and any number of M$ boxes. All three *nix boxes were hacked, and yes, I'm sure it was because I "wasn't a good admin" and "didn't do the first thing I should have." Two were Red Hat and one was Solaris. For the Solaris box, I hired a professional *nix herder with years of experience on Solaris, a guy who worked for a major stock broker, and the box STILL got hacked... maybe because of this issue.

    At the same time, I was running Personal Web Server on my '98 box at the office without a firewall of any kind. No problems, no hacking, no worries. It just worked. Yes, yes... I'm sure I was just lucky. My servers today are all M$, all behind professional firewalls, and all run like clockwork.

    Despite how it sounds, I'm not trying to slam *nix here or send additional $$$ to M$. I'm just trying to point out that until *nix gets work done out of the box with defaults that assume the operator is a bonehead, M$ will still have a place in the world. I'm sure if you all tried, you would be able to do a better job than they do of making a secure out of the box FOSS OS.

    Keep trying guys.

  49. Re:Hahaha, Sun network apparently got hit by the w by Anonymous Coward · · Score: 0

    Sun employee acknowledges somehow that info ..

    http://blogs.sun.com/chrisg/date/20070303

    ''
    That there was a worm that successfully exploited the telnet vulnerability in Solaris 10 running around the Internet and more specifically within Sun last week is not news.
    ''