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?"

27 of 373 comments (clear)

  1. Re:Ethics Topic? by sammy.lost-angel.com · · Score: 2, Insightful

    On the contrary, a lot of people go to school just to study ethics. With computers becoming such a major part of everyones lives, isn't it important to discuss computer ethics in an open forum?

  2. Re:Ethics Topic? by great+throwdini · · Score: 2, Insightful

    Ex-Parrot: I don't think I need or want Slashdot to tell me what is or isn't ethical.

    Lemmy Caution: Then they don't need or want you telling them that it isn't ethical for them to tell you what is or isn't ethical.

    Technically, Ex-Parrot only stated what he didn't need or want, not that he believed it unethical for /. to inform him (hypotheticaly) of ethics. Don't confuse desire for ethics.

  3. Re:more like (-1, Flamebait) by psychosis · · Score: 3, Insightful
    Urrrgh... how many times does this get discussed?!?! So what? OpenBSD is still far more secure than most Linux distros or Windows. The only O/S I've ever come across with better security than OpenBSD is OS/400 by IBM.

    I believe that the original poster was making a remark on the heralded "270,000 installations without a default-enabled root-level vulnerability" statement that OpenBSD uses. I don't use BSD, so I don't know the exact quote, but if the affected version of OpenSSH is enabled by default, this would jeapordize that tagline.
  4. To all the OpenBSD lost its claim posters.. by antis0c · · Score: 5, Insightful

    This could be flamebait, but it should be said.

    Consider this, would you rather use an Operating System, where the community just shrugs off the frequently once a week remote holes with simply, "go grab the updates" ..

    .. or an Operating System where the community is surprised and in disbelief that a remote hole was found after 5 years which causes entire community to start bitch fights over the right to claim its the most secure Operating System still, despite the fact the remote hole was found by the Operating System developers, and fixed before it has actually been exploited.

    You don't have to be Stephen Wolfram to figure this one out.

    --

    ..There's a-dooin's a-transpirin'
    1. Re:To all the OpenBSD lost its claim posters.. by ByTor-2112 · · Score: 3, Insightful

      Fixed before it has actually been exploited? I think not. The real danger of NOT doing security audits is the fact that there are real hackers out there who might know about this hole and are more interested in hacking than getting their names on the big screen as the "l33t d00d" who found the hole.

      Just like the crypto people assume the NSA is 10+ years ahead of them in codebreaking, you should assume that EVERY remote hole has been known to somone within the hacking community prior to its "announcement".

    2. Re:To all the OpenBSD lost its claim posters.. by ByTor-2112 · · Score: 3, Insightful

      Well until you take a personal tour of Ft. Meade, then I think it would be prudent to bring the assumption back to life.

  5. Re:ssh vulnerability disclosure? by John+Hasler · · Score: 3, Insightful

    "We won't tell you what the problem is, unless you're a big distributor."

    Do you have some evidence to support this claim that they have revealed the exploit to big distributors? As far as I can tell they have told no one.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  6. Re:Theo D. by elmegil · · Score: 2, Insightful
    'Cos God Knows those Evil Vendors have nothing in mind but SELL SELL SELL. No way that they have quality control/assurance processes that, while bureaucratic, make a good faith attempt to keep from introducing NEW problems with fast fixes.

    I guess Theo is just offended that he's not offered more trust for quality software than the vendors' own employees.

    --
    7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
  7. Focus by alienmole · · Score: 2, Insightful
    The issue is focus. In RMS and Theo's case at least, they are so tenaciously focused on their pet issues that every other aspect of reality is secondary to that. This comes through clearly in everything they say - the sense of urgency, the frustration that not everyone shares their priorities. It's actually standard nerd behavior, but magnified to uber-nerd proportions.

    The upside is that they do tend to produce useful things, or have a salutary effect on those around them. So unless you disagree with what they do, you should simply dismiss their personal peccadilloes as the price you pay for having someone devote the majority of their brainpower to a single issue, and do useful work on your (and everyone else's) behalf.

    Time to take a lesson from the PHB playbook - the natural response to an email like Theo's goes something like "Yeah, yeah, Theo, nice work. Keep it up. Oh, and have it done by the end of the week, willya?"

  8. OpenSSH passing the buck? by Talez · · Score: 0, Insightful

    No... Can't Be!

    For fucks sake... you people are always "oh we have bug fixes in 24 hours... Fsck you M$ *uNF* *uNF* *uNF*" and now you have to use a WORKAROUND that may not work on everyone's systems and it's the VENDOR'S fault that SSH wants to use some specific feature that *THEY* think every vendor should have.

    I'm sorry. It doesn't work like that. Fucking fix it the first time or don't release stuff you KNOW has security exploits in it. It's plain fucking irresponsible to do it.

  9. The Alternative to OpenSSH or SSH (commerical) by Tadghe · · Score: 5, Insightful

    LSH (http://www.net.lut.ac.uk/psst/)

    I love SSH. It's been installed on my boxen (regardless of OS) since it was stable enough to kill off telnet.
    My problem with both the announcement as well as the patch is thus.

    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.

    "Theo de Raadt announced that the OpenBSD team is working with ISS
    on a remote exploit for OpenSSH (a free implementation of the
    Secure SHell protocol). They are refusing to provide any details on
    the vulnerability but instead are advising everyone to upgrade to
    the latest release, version 3.3.

    This version was released 3 days ago and introduced a new feature
    to reduce the effect of exploits in the network handling code
    called privilege separation. Unfortunately this release has a few
    known problems: compression does not work on all operating systems
    since the code relies on specific mmap features, and the PAM
    support has not been completed. There may be other problems as
    well."

    2. Sudden, lack of belief in Full disclosure. Am I the only guy who remembers the days before full disclosure? The OpenBSD Security policy ( http://www.openbsd.org/security.html ) is pretty point blank (to quote)
    "we believe in full disclosure of security problems. In the operating system arena, we were probably the first to embrace the concept. Many vendors, even of free software, still try to hide issues from their users"
    I think posting a "fix" (ok, workaround) and not telling anyone *why* they should use it is "try[ing] to hide issues from their users"

    I'll be firing up R.A.T.S and checking out LSH ( http://www.net.lut.ac.uk/psst/ ) (GNU'd SSH2ish) for my needs from here own out.

    and yes, this needs a rant tag and yes I know the OSSH and OBSD teams are seperate, but they share enough philosophy and team members that I gather they have the same opinion on security.

    --
    Bugs Bunny was right.
    1. Re:The Alternative to OpenSSH or SSH (commerical) by Tadghe · · Score: 3, Insightful

      My point there being that we (in this case Debian users) are pretty much being forced for either jump ship or *trust* a fix that neither we the users, nor the Debian team can verify does what is intended. I'm pretty sure that Theo knows what he's doing, but, I'll not upgrade at "gunpoint" because a vendor won't give me any idea as to what's up. I'm not asking for exploit code, but a decent "this is what's wrong and here's what we are doing to fix it" would go a long way...

      --
      Bugs Bunny was right.
    2. Re:The Alternative to OpenSSH or SSH (commerical) by Dr.+Awktagon · · Score: 3, Insightful

      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.

      Well, by releasing the info, the hole HAS been publicized. If you're a black-hat poking around in Apache or Cisco routers or whatever looking for rootable holes, wouldn't you instantly drop what you're doing and start looking for this hole? And if it's possible some already have an exploit, what's Theo waiting for? Give us more details.

      I think full disclosure means "full disclosure", not just partial disclosure, not just, hey, there's a show-stopper bug in the code, but I promise if you upgrade it won't affect you. No workarounds, no details, not even if an exploit has been found in the wild or not.

      Maybe if we knew the details of the bug we could fix it WITHOUT upgrading to the separated privs code. Maybe he wants us to upgrade to this new code because he thinks it's really cool and it strokes his ego, not because it's the only way to solve the hole.

      <theory type="conspiracy">Hell, maybe the OpenSSH server has been hacked by Microsoft and a backdoor added to the new code; this message is a fake to get us to upgrade; and all non-Windows users are doomed.... :-o </theory>

    3. Re:The Alternative to OpenSSH or SSH (commerical) by Eil · · Score: 5, Insightful


      You misinterpreted the entirety what he was trying to say. If I were in a crankier mood I'd ask you if you even read the post.

      In a nutshell, he said this:

      1. There is an exploitable bug in all current versions of OpenSSH.
      2. We're working on a patch, but it's not done yet.
      3. When it is, we'll tell you all exactly what was wrong and how we fixed it.
      4. In the mean time, you can download the latest 3.3 patch and enable privilege separation to completely protect yourself from the vulnerability.

      That just don't cut it, I won't blindly patch without an idea of what is broken.

      There isn't a patch yet. Theo clearly stated that a patch and an explanation will be forthcoming at the same time. The whole reason he announced it early is to get admins to fix thier systems before the nefarious hackers could develop an exploit for it. (As another poster noted, it's incredibly easy for a nefarious hacker to develop an exploit if you have the source code to versions of the program with the bug and a version without. That is perhaps one of the few downfalls to open-source.)

      You'll save yourself a lot of typing and needless jumping (to conclusions) if you read a bit more carefully next time.

  10. ...and my analysis by joe_bruin · · Score: 5, Insightful

    replying to yourself is always a bad thing, but here goes...

    if you cut through the bullshit (theo certainly has an interesting way of putting things), what he's saying is this:

    there's a hole in sshd. we are working on a patch. if we release it now, you are all f'd, because all your systems will be compromised before you have time to patch them. we are giving you the next week to update your sshd, so that you are no longer vulnerable when we publish the bug+patch. yes, the new sshd has the bug, but is not vulnerable to it. if we fixed it now, the black hats will diff the results and be able to develop a compromise, and you still won't have a patch. oh yeah, we need your vendors' help so that you're all safe by next week.

    make sense?

  11. Re:OpenBSD remote hole? by evilviper · · Score: 5, Insightful

    I don't have an OpenBSD 3.1 box handy to check to see if priv seperation is enabled by default. However, I know it wasn't on 3.0.

    But, we need not jump to conclusions. Theo was saying quite a bit about vendor support, which means he was strugling with the PORTABLE version, he made no mention of the native OpenBSD version, and we have yet to even hear the implications of this bug (hell, maybe it's not exploitable on OpenBSD, just OTHER platoforms running OpenSSH).

    Again, don't jump to conclusions.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  12. They Had _Better_ Already Know by John+Hasler · · Score: 5, Insightful

    "Read it; you might need to pass the word on to your vendor, too."

    If you need to pass the word on to your vendor you need a new vendor.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  13. this openssh thing smells funny by Dr.+Awktagon · · Score: 2, Insightful

    Well I just spent a few hours upgrading a handful of openssh installs and firewalling about a dozen others. This is weird though, is there NO other information about this hole except that it's "fixed" by 3.3?

    If I have ssh blocked in /etc/hosts.allow, does that stop the bug? If I have AllowRootLogin off, does that stop the bug? Is it SSH protocol 1 or 2? Can this affect existing SSH connections? Is there any other work-around?????

    I think we just saw TWO irresponsible announcements in the Open Source world, and I hope it's not a trend.

    (SSH is one piece of software I do not like upgrading remotely..)

    PS: I haven't gotten his message from Bugtraq yet. In fact I've only gotten 2 messages from Bugtraq today...weird...

    1. Re:this openssh thing smells funny by uhoreg · · Score: 3, Insightful

      How is this an irresponsible announcement? This is about as responsible as you can get. "There's an exploit in our code. We can't tell you exactly what it is yet, because we don't have a full patch yet, and we don't want exploits flying around until we do, but if you do [insert procedure here] (which is a good idea anyways) the vulnerability is not exploitable. The patch will be available next Monday." Would you rather they announce it next week, after they have the full patch, so that we can have a race between script kiddies and admins again? Or would you rather know that your machine is safe from the kiddies, before they have the exploit?

      --

      To get something done, a committee should consist of no more than three persons, two of them absent.

    2. Re:this openssh thing smells funny by steveha · · Score: 3, Insightful

      is there NO other information about this hole except that it's "fixed" by 3.3?

      Um, it's not fixed by 3.3!

      What he said was that the bug exists in 3.3, as in other versions (which other versions, he did not spell out)... however, if you use the new "privsep" feature of 3.3, the bug is blocked.

      His stated goal is to get everyone running with "privsep" before the full details of the bug come to light. Even if that means you lose functionality... he feels it is more important to be immune to the possible remote root exploit than to be able to use all the features of ssh.

      If I have ssh blocked in /etc/hosts.allow, does that stop the bug?

      That ought to work: a bug in sshd shouldn't be a problem if crackers can't access sshd. If you have a firewall, and block the ssh port on the firewall, that should be good too.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
  14. Re:ssh vulnerability disclosure? by Anonymous Coward · · Score: 1, Insightful

    No, the talk about vendor cooperation is in regards to getting privilege separation working, not fixing the real bug. The only people who know about the bug (judging from the email) are at ISS.

  15. Re:ssh vulnerability disclosure? by John+Hasler · · Score: 4, Insightful

    "Another interpretation would be that he wants vendors to port the privilege separated version of sshd to their platforms..."

    That is exactly what he wants.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  16. Learn to build and install from source by bigberk · · Score: 2, Insightful

    An important skill for anyone who uses UNIX, *BSD, or Linux is being able to build and install software from source. If you haven't done it before, take some time to learn how to do it properly. It's easier than you might think, just download the source and read the README and INSTALL files.

    That's kind of why all the source is released -- you really don't have to wait for packages from your vendor. The packages make future uninstall simpler, true, but sometimes you don't have the luxury of time.

  17. How far BACK? by evilpenguin · · Score: 4, Insightful

    Leaving the OS Wars aside (I run Linux, yes, but I also run FreeBSD, and I would run OpenBSD if they would just get unanal about bootable iso's): Okay, swell. 3.3 has a hole.

    How far BACK does this hole extend? Does my 3.1 have it? Does EVERY copy of OpenSSH since the dawn of time have it? Can someone make this clear to me? Is it only versions that have privledge separation? Where is the boundary of this bug?

    1. Re:How far BACK? by Anonymous Coward · · Score: 1, Insightful

      That needs modding down as a troll. Its a cretinous statement.

      Your analogy is so flawed as to be ludicrous - Theo already IS the vendor for OpenSSH. If he wanted to feed you a trojan he wouldnt have to claim there was a hole to get you to upgrade, he'd just insert it, quietly, and wait for the natural upgrade cycle instead of getting everyone to examine the code.

      Trying to put people off using code that is going to protect them is downright dangerous; if you are running openSSH you ALREADY trust these people to provide source you run as root on your system. No further trust can be given. If you trust them that much not trusting their patch or advice regarding their own code is idiotic.

      Matt

  18. A reply to all those bitching by hayden · · Score: 4, Insightful
    Isn't it wonderful how a security hole in an open source program brings forth all the security experts on Slashdot. And they flame someone who know a shit load about it and is dedicated to improving security to the point of being a complete arsehole.

    Anyway. My guess is that this hole is something substantial, possibly very plateform dependent and any patches aren't going to be trivial. Seeing as all you people who felt the need to use fsck in their posts more than once know about as I do about this then my assumptions are as good as yours (and I don't feel the need to use the word fsck as an expletive once). Non-trivial patches mean that commercial vendors are going to take for ever to release final patches and if you are running anything open to the internet then it's likely to be ssh. Add it all up it means this could be very bad.

    Now the OpenSSH team is actually two. One that develops new stuff and does code audits specifically for OpenBSD and another that takes that and ports it to other architectures.

    All those bitching about full disclosure, you manage to be completely committed to a cause, idiots and miss the point of full disclosure all at once. If the bug is bad then releasing it when only the OpenBSD version of OpenSSH is patched would be an absolute security nightmare. Giving vendors advance notice is very much required in this case. When the vulnerability is announced then I'm sure it will be fully disclosed which will provide the opportunity to test a system for vulnerabilities.

    As for you people who are saying Theo is being pro-OpenBSD, read the above paragraph again and answer this question. If Theo really wanted to really rip on other OS's then what could he have done with this announcement? Only OpenBSD not vulnerable and with mindless full disclosure to cover his arse. You do the maths.

    The fact is Theo is a complete arsehole when it comes to security. Some see this as not a bad thing. With OpenBSD security is pretty much everything. To the vast majority of other "vendors" security is something they also do and with this Theo has a legitimate gripe. He has got a shitty reception from other vendors to something that will make a vital link in the security chain more secure. Is he making a point of this? Probably. Is he right to do that? Depends on your point of view. If it gets the "vendors" off their arses and add support for priviledge seperation in their ports then would this be considered a good thing? Most definately.

    When it boils down to it, Theo would be well within his rights to patch the OpenBSD version of OpenSSH (by using priviledge seperation) and hanging the other vendors out to dry. He didn't. Deal with it.

    --
    Nerd: Derogatory term typically directed at anybody with a lower Slashdot ID than you.
  19. Re:OpenBSD remote hole? by John+Sullivan · · Score: 2, Insightful
    doesn't that mean OpenBSD 3.1 has a remote root hole?

    In common with every single other network OS out there, it has several remote root holes. We just haven't figured out what they are yet.

    --
    This is my World Wide Web of Whatever