Slashdot Mirror


Slashback: OpenSSH, Bio, Timeliness

Welcome to Slashback, with updates (below) on a handful of recent Slashdot posts. Most importantly, a message regarding OpenSSH 3.3 could save your system from attack -- read it; you might need to pass the word on to your vendor, too.

Things that make you want to bring back thumbscrews. A few days ago, we mentioned the release of OpenSSH 3.3; compared to previous versions, the biggest change in 3.3 is increased emphasis on privilege separation. Today, Theo de Raadt sent word of an OpenSSH vulnerability being worked on by ISS and the OpenBSD team, details of which are expected to be published early next week.

In an announcement sent to bugtraq, he wrote: "However, I can say that when OpenSSH's sshd(8) is running with priv separation, the bug cannot be exploited.

OpenSSH 3.3p was released a few days ago, with various improvements but in particular, it significantly improves the Linux and Solaris support for priv sep. However, it is not yet perfect. Compression is disabled on some systems, and the many varieties of PAM are causing major headaches.

However, everyone should update to OpenSSH 3.3 immediately, and enable priv separation in their ssh daemons, by setting this in your /etc/ssh/sshd_config file:

UsePrivilegeSeparation yes

Depending on what your system is, privsep may break some ssh functionality. However, with privsep turned on, you are immune from at least one remote hole. Understand?

3.3 does not contain a fix for this upcoming bug.

If priv separation does not work on your operating system, you need to work with your vendor so that we get patches to make it work on your system. Our developers are swamped enough without trying to support the myriad of PAM and other issues which exist in various systems. You must call on your vendors to help us."

Theo emphasizes the role of vendor cooperation in making privilege separation work on the full range of systems on which OpenSSH runs. "If the vendors don't start pulling their part," he says in an email, "by the time the bug is posted their customers will be left unprotected. These vendors who do not do the right job and instead just 'sell sell sell' are starting to become annoying. On a lot of systems today, privsep does NOT work well at all. The vendors have not been helping!"

A patched version of OpenSSH could be released as soon as Friday, incorporating vendor patches received by this Thursday.

Read More on Stallman. Vamphyri writes: "Sam Williams, author of 'Free as in Freedom', biography of GNU/Linux founder Richard M. Stallman has gone live with the online free version 1.0 of FAIFzilla.org. The paper pulp version publishers O'Reilly & Associates agreed under the terms of the GNU Free Document License and have their own version up at their site. Williams' site allows for content and corrections to be submitted by readers. He hopes for contributions to be included in later editions of the O'Reilly bio. Also: CGI coders wanted for site enhancement, paragraph and line numbering, searches etc. Maybe a CVS Tree is in order? :)"

"Urpmi Norton" doesn't work for some reason. MrResistor writes "Upon logging in to my computer at work this morning, I was greeted by a virus update notice from McAfee SecurityCenter. The update for today includes W97M/Melissa@MM, and of course McAfees newly manuf^H^H^H^H^Hdiscovered threat, the W32/Perrun JPEG virus (which was also highlighted in yesterdays update). All of the updates in the last week or so have been rated Low or No Threat (except for Perrun, which is "Low On Watch". It seems that in addition to manufacturing new threats, they're also rehashing old threats to keep subscription renewals up. Perhaps it's time for Slashdot to add an Ethics topic?"

10 of 373 comments (clear)

  1. OpenBSD remote hole? by armie · · Score: 5, Interesting

    Since sshd is enabled by default in OpenBSD 3.1 (OpenSSH 3.1), and privilege separation isn't enabled by default, doesn't that mean OpenBSD 3.1 has a remote root hole?

    1. Re:OpenBSD remote hole? by T-Ranger · · Score: 2, Interesting
      I have no idea how OpenSSH is configured out of the box on OpenBSD, or where the (potential) hole is for that matter, but I doubt it.

      Since its recomended as the right way of doing it, RootLogins are probly set to off. The hole might only allow access to the user account your trying to login as, and with RootLogins to off, it probabaly trumps any user hole.

    2. Re:OpenBSD remote hole? by cperciva · · Score: 3, Interesting

      Based on the fact that privilege separation fixes this, it's reasonable to suppose that the flaw is in the authentication code, and allows users to execute arbitrary code.

  2. Re:more like (-1, Flamebait) by Anonymous Coward · · Score: 1, Interesting

    That as it may well be, but they're still faster at patching than most other vendors/ditros out there. Remote Hole? Yes. Problem? Damn right. Generally good quality OS that is remarkably secure compared to its peers? Absolutely.

  3. Re:Christ... by Anonymous Coward · · Score: 1, Interesting
    Unchecked malloc() return code in ml_alloc_fdset() and strictly unwarranted pointer-to-int cast.

    Remotely exploitable hole? Probably not. I still hope it hurts.

  4. Re:For FreeBSD users: by John+Hasler · · Score: 5, Interesting

    "For linux users, you guys are outta luck."

    Nonsense. The Debian package is already out.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  5. Linux BIAS by jolan · · Score: 4, Interesting

    funny how this didn't make it into the main article:

    We've been trying to warn vendors about 3.3 and the need for privsep,
    but they really have not heeded our call for assistance. They have
    basically ignored us. Some, like Alan Cox, even went further stating
    that privsep was not being worked on because "Nobody provided any info
    which proves the problem, and many people dont trust you theo" and
    suggested I "might be feeding everyone a trojan" (I think I'll publish
    that letter -- it is just so funny). HP's representative was
    downright rude, but that is OK because Compaq is retiring him. Except
    for Solar Designer, I think none of them has helped the OpenSSH
    portable developers make privsep work better on their systems.
    Apparently Solar Designer is the only person who understands the need
    for this stuff.

  6. Re:The Alternative to OpenSSH or SSH (commerical) by Virtex · · Score: 5, Interesting

    1. Theo nor any of the posters I've seen are willing to tell us what the hell is broken. Only that we must upgrade. That just don't cut it, I won't blindly patch without an idea of what is broken. The Debian security release summed it up best.

    In the world of full disclosure, it's generally considered polite to initially only notify the vendor of a product and allow them a grace period to fix the security hole. This way, when the security hole is publicized, users will (hopefully) have a patch or upgrade to secure their systems. The question here isn't whether Theo is correct in holding back the details of the exploit (which I believe he is correct in doing), but whether he should have said anything about the problem at all before releasing the full details. I think his goal was to pressure the OS vendors into helping him fix the problems in his code.

    I won't say whether his choice is right or wrong, but I won't chastise him for protecting my security, either.

    --
    For every post, there is an equal and opposite re-post.
  7. tcp wrappers by pbaker · · Score: 1, Interesting

    If you are using the tcp wrappers support built in to OpenSSH, will it be exploitable by ips that are currently already blocked? Or could it only come from allowed ips?

    I'm fearing the upgrade, but since I only allow ssh access from certain machines (who also only allow ssh from certain machines), should I assume I am safe until a version of OpenSSH comes out that actually fixes the problem instead of just covering it up?

  8. General comments by Maverick+TimeSurfer · · Score: 2, Interesting

    A patched version of OpenSSH could be released as soon as Friday, incorporating vendor patches received by this Thursday.

    Now, why can't MS and the like be that fast? With gazillions of coders on hand, you'd think they'd be able to at least match that. I like how open source projects allow lots of people to work on a problem independantly, all at the same time. The ultimate parallel processing!

    It seems that in addition to manufacturing new threats, they're also rehashing old threats to keep subscription renewals up. Perhaps it's time for Slashdot to add an Ethics topic?

    Well, MF has been known blow virus threats way out of proportion, almost to the extent of completely making them up, as is highlighted in this article. And there are probably many other examples of bad ethics. But perhaps a Business topic would be more inclusive? Maybe that's covered by The Almighty Buck, but TAB doesn't seem to fit with ethics as well. Would people stand for replacing TAB with Business, or should an Ethics topic be created, or should we just forget the whole thing?

    --
    Never underestimate the power of human stupidity.