Slashdot Mirror


Xen Cloud Fix Shows the Right Way To Patch Open-Source Flaws

darthcamaro writes Amazon, Rackspace and IBM have all patched their public clouds over the last several days due to a vulnerability in the Xen hypervisor. According to a new report, the Xen project was first advised of the issue two weeks ago, but instead of the knee jerk type reactions we've seen with Heartbleed and now Shellshock, the Xen project privately fixed the bug and waited until all the major Xen deployments were patched before any details were released. Isn't this the way that all open-source projects should fix security issues? And if it's not, what is?

81 comments

  1. "Gave them time" not "Waited" by martyros · · Score: 4, Funny

    The XenProject security process gives them time to patch their systems (in this case, 2 weeks). If you don't have your stuff patched by then, they won't wait for you.

    --

    TCP: Why the Internet is full of SYN.

    1. Re:"Gave them time" not "Waited" by nman64 · · Score: 4, Interesting

      Actually, the flaw in bash was also embargoed for a couple of weeks. The problem is that the original patch that was given time to circulate didn't fully fix the issue, and nobody realized that until after the embargo was lifted and the problem became public knowledge. "Responsible disclosure" was exercised in both cases, it just didn't work out well with Shellshock.

  2. But the media would lose... by charles05663 · · Score: 4, Insightful

    Their hysteria drive news cycle.

    1. Re:But the media would lose... by Anonymous Coward · · Score: 0

      I wish I had "mod points". I would bump this at least +1

  3. Maybe? by i+kan+reed · · Score: 3, Insightful

    I mean, some open source projects don't actually have anyone doing live support and a patch happens when someone "gets around to it".

    And some exploits are out there whether you say anything or not. Slashdot users pretty regularly complain about this with bumper sticker wisdom about "security through obscurity".

    And just because the deployments are all fixed, doesn't mean someone has used that. Heartbleed(cited in the summary) was fixable within a couple days on every major linux distro with a simple update. That didn't mean no one got hacked.

    All-in-all, sure it's a good policy, but not the magic perfect, oh-lets-all-be-like-xen thing the summary makes it out to be.

    1. Re:Maybe? by kaiser423 · · Score: 3, Interesting

      It seems all pretty reasonable to me. If known exploits are out there, or if the vulnerability is known then the fix gets published right away and there's no two-week embargo. But if it appears that no one else knows about this vulnerability, then the two-week wait seems to be a great policy. Give most people that can keep their mouths shut two weeks to get everything patched up and tested.

      I get that a lot of people just chant the "security through obscurity" mantra, but obscurity really is a layer of security. It just shouldn't be your only defense. Hell, a password is a form of security through obscurity -- your salted password hash is just an obscured version of your password. So, as long as the obscurity is managed well, and in this case it appears to be, then we're good. Their document says that even small projects with no money can get on the pre-disclosure list.

    2. Re:Maybe? by i+kan+reed · · Score: 4, Informative

      your salted password hash is just an obscured version of your password.

      Negatory. Salted hashes are not reversable without a huge damned rainbow table particular to the salt, and most passwords are hashed, not encrypted.

      There isn't actually a password to recover from that.

    3. Re:Maybe? by Dishevel · · Score: 2

      I think the real idea here is that you spot an exploitable bug. You inform those who are responsible to fix it. You wait (while making sure they are working furiously on a patch.). If they are working hard toward a fix you continue to wait till it is fixed or out in the open anyway. If they blow you off and state that "they will get around to it" you let it fly.

      --
      Why is it so hard to only have politicians for a few years, then have them go away?
    4. Re:Maybe? by quantaman · · Score: 1

      I mean, some open source projects don't actually have anyone doing live support and a patch happens when someone "gets around to it".

      True but a delayed publication of the bug isn't really going to affect them.

      And some exploits are out there whether you say anything or not. Slashdot users pretty regularly complain about this with bumper sticker wisdom about "security through obscurity".

      I'm not sure that specific complaint is that common. Certainly if a project sits on a security bug for months, or even years, then the security through obscurity criticism is valid. But the vast majority seem to feel it's alright to wait a couple weeks to get a patch together and inform the major users, that seems to be the fastest way to protect the most people as quickly as possible.

      And just because the deployments are all fixed, doesn't mean someone has used that. Heartbleed(cited in the summary) was fixable within a couple days on every major linux distro with a simple update. That didn't mean no one got hacked.

      All-in-all, sure it's a good policy, but not the magic perfect, oh-lets-all-be-like-xen thing the summary makes it out to be.

      AFAIK Heartbleed was fixed before the disclosure, but the multiple discoveries caused OpenSSL to push up the disclosure timeline so not every distro had time to get a patch together.

      On the contrary I think Shellshock was bungled a bit, I can't find a firm timeline of who discovered what when but the bug went public before there was even a working patch, much less one pushed out to the major distros. It was definitely the wrong way to do things.

      --
      I stole this Sig
    5. Re:Maybe? by Warbothong · · Score: 1

      Hell, a password is a form of security through obscurity -- your salted password hash is just an obscured version of your password.

      Not really; hashing a password throws away information, so it is more secure than storing the password (obfuscated or not) in the case that an attacker compromises the data store.

      Likewise, salting adds information to a given password, so it is more secure than using the unsalted password (obfuscated or not) in the case that an attacker is brute-forcing against known hashes (eg. rainbow tables).

      Passwords themselves are a pure form of obfuscation: their entire reason for existence is to not be known by others. They are *so* obscure that systems using them (or crypto keys, or unforgable IDs, etc.) don't need any other form of obfuscation.

    6. Re:Maybe? by Anonymous Coward · · Score: 0

      your salted password hash is just an obscured version of your password.

      Negatory. Salted hashes are not reversable without a huge damned rainbow table particular to the salt, and most passwords are hashed, not encrypted.

      Obscure does not mean encrypted. It doesn't mean safe, it doesn't mean undiscoverable. It means "not discovered or known about; uncertain." A hash of your password is an obscured version of your password, as the password that correlates to the hash is uncertain.

      There isn't actually a password to recover from that.

      You just said that there was:

      Salted hashes are not reversable without a huge damned rainbow table particular to the salt

      Granted you didn't say it was easy to recover the password, but you admitted it was possible.

    7. Re:Maybe? by kaiser423 · · Score: 1

      Exactly. Good passwords are obscure enough that they make really, really good security. That's kind of my point that obscurity makes a good layer of security and shouldn't just be dismissed by people who like to say "security through obscurity is no security at all", which was what the OP was referring to when he said 'Slashdot users pretty regularly complain about this with bumper sticker wisdom about "security through obscurity"'.

      Of course, bad passwords, like "password" even with salts makes pretty poor security, as when someone goes to generate a rainbow table (generally if they have your hash they also got enough access to get the salt too), that will be one of the first generated.

    8. Re:Maybe? by Anonymous Coward · · Score: 0

      That is the parent's point. You could theoretically figure out what the password is, it's just so near impossible to do so that it increases security.

    9. Re:Maybe? by i+kan+reed · · Score: 1

      Any security can be broken with enough time and effort, like the tens of thousands of years of computer time it takes to build that rainbow table.

    10. Re:Maybe? by Anonymous Coward · · Score: 0

      Ah, someone who doesn't understand how a salted-hash password system works.

      In order to reverse-calculate properly individually-salted passwords, an intruder would have to generate a whole rainbow table for each different salt value. Since a single rainbow table takes crap-tons of time to produce, your users are essentially secure as long as you take other reasonable (and common) precautions, like letting them know when you've been intruded upon and that they need to change their password. And when they change that password, your system should regenerate a new salt value. That will completely invalidate the previous credentials and the corresponding rainbow table needed to crack it.

      Since an attacker has to calculate every hash of every password combined with the provided salt (a.k.a. "build a rainbow table"), any tricks you pull during pre-hash construction can double (or more) the amount of time involved.

      The point is, you're not trying to stop them from getting the password. You're only trying to stop them from getting in, and that requires slowing them down when they're trying to reverse-calculate the password. Slow them down long enough so you can alert everyone to change passwords, and it's a moot point anyway. Security is about "layers", and those layers are individual obfuscations and obscurities that provide time. Time is the enemy of an intruder.

      It may be possible to reverse-calculate a password, but the amount of time it takes to do so combined with your ability to react to an intrusion is what provides security. It's not about being perfectly cryptographically secure. It's about being secure enough that a simple password change spoils weeks or even months worth of an attacker's work and makes it unprofitable. You don't want to kill the attackers, just kick them in the nuts.

    11. Re:Maybe? by Anonymous Coward · · Score: 0

      Secrets are just a form of obscurity. Obscurity comes down to, if you have the knowledge, then it's broken. Same thing applies to passwords.

    12. Re:Maybe? by Anonymous Coward · · Score: 0

      Many security bug patchers I've heard of do something like default to giving a 2 weeks, and up to 2 months, if by request and with good reason. After that, full disclosure to the public.

  4. flawed by Anonymous Coward · · Score: 0

    So you can have security and patches before the attackers, if you pay enough?

    Seems like a model I already don't like.

  5. money talks by Anonymous Coward · · Score: 0

    You mean waiting until all the companies with support contracts with them were fixed. If you pay the supplier for support then it's in their interest to patch you up asap. If you don't pay then you're on your own.

    1. Re:money talks by kaiser423 · · Score: 1

      No money is required to be a member of the pre-disclosure list.

    2. Re: money talks by Anonymous Coward · · Score: 0

      So that's all the black hats need to do ? Sign up for notifications of vulnerabilities ?

    3. Re: money talks by Anonymous Coward · · Score: 0

      That's exactly what they do!

    4. Re: money talks by Anonymous Coward · · Score: 0

      Of course there's criteria for joining the list.

      You need to be a genuine user.

      Have a look at the written down policy page.

  6. Apples and Oranges by BenFranske · · Score: 4, Insightful

    Sure, it's an ideal situation where a bug was identified, fixed quickly and a patch pushed out and applied by large users quickly but Xen is a program which is much more centrally controlled than BASH or OpenSSL. BASH and OpenSSL are more key infrastructure bits than Xen is. What I mean is that they are integrated into FAR more devices and systems making a silent patch nearly impossible.

    1. Re:Apples and Oranges by QuietLagoon · · Score: 4, Insightful

      ... BASH and OpenSSL are more key infrastructure bits than Xen is. What I mean is that they are integrated into FAR more devices and systems making a silent patch nearly impossible.

      Quite correct.

      .
      Just try to estimate the number of devices affected by Heartbleed and Shellshock. It's probably in the billions.

      As a case in point, a single Zen installation can host hundreds, maybe even thousands, of vulnerable installations of Shellshock and Heartbleed.

      It is truly an apples and oranges comparison.

    2. Re:Apples and Oranges by nine-times · · Score: 1

      Yeah, they can come up with a fix before they announce, but for as ubiquitous as BASH is, you can't really keep it secret until it's been applied. You'd have to notify various distribution points (every Linux and Unix distributor), creating such a long list of people who are notified that it amounts to a public disclosure.

      At least, I'd imagine that's the case.

  7. Yes by Anonymous Coward · · Score: 0

    In a completely utiopian environment void of ego's and money making potentials and well funded state exploitation.

    A 0-day vuln today can give you a leg up within the security research arena leading to future income potential, or make you immediate cash on the black market of criminal viri & malware or be purchased by the highest bidding state/government organization(s).

    Did I forget anything is this a purely rehtorical question?

  8. It is a valid strategy by jones_supa · · Score: 2

    the Xen project privately fixed the bug and waited until all the major Xen deployments were patched before any details were released. Isn't this the way that all open-source projects should fix security issues?

    I do see value in that approach. When a vulnerability is found, it's better to report it discretely to the authors. Shouting the details to the world in the name of "openness" just causes script kiddies to go wild and nuke a bunch of machines which could have been otherwise avoided.

    1. Re:It is a valid strategy by Anonymous Coward · · Score: 1

      I do see value in that approach. When a vulnerability is found, it's better to report it discretely to the authors. Shouting the details to the world in the name of "openness" just causes script kiddies to go wild and nuke a bunch of machines which could have been otherwise avoided.

      In every case I have seen where someone is "shouting the details to the world" the authors responsible for fixing the bug was given plenty of weeks to fix it but ignored it since no-one was shouting about it.
      Then after a few weeks when it didn't get fixed and the authors never responded, the bug-reporter decided to go public with it. After the shit-storm was raised the authors accused the bug-reporter of "shouting the details to the world".

    2. Re:It is a valid strategy by Anonymous Coward · · Score: 0

      If you look at one of the shouty places you will see that there are a few 'information wants to be free!' fanatics who advise publicizing everything, a few 'me first' types who advise selling vulnerabilities to the highest bidder, and many 'responsible disclosure' types who advise an anonymous and detailed bug report with a (also anonymous) callback method and a request to know how the patch is coming. Even the responsible types will mention that if bug-finders are ignored or threatened (it happens) or if the patching process is taking so long as to be indistinguishable from being ignored, then it is time to publish the details of the vulnerability through whatever channel seems wisest at the time.

    3. Re:It is a valid strategy by Anonymous Coward · · Score: 0

      I do see value in that approach. When a vulnerability is found, it's better to report it discretely to the authors. Shouting the details to the world in the name of "openness" just causes script kiddies to go wild and nuke a bunch of machines which could have been otherwise avoided.

      In every case I have seen where someone is "shouting the details to the world" the authors responsible for fixing the bug was given plenty of weeks to fix it but ignored it since no-one was shouting about it. Then after a few weeks when it didn't get fixed and the authors never responded, the bug-reporter decided to go public with it. After the shit-storm was raised the authors accused the bug-reporter of "shouting the details to the world".

      And the entire point of this thread was to demonstrate that this particular response strategy from vendors (that we've all seen countless times) is in fact the wrong way to go about it.

      And yeah, I don't get that response strategy any more than you do. One would think that vendors would want to work with the experts who discover flaws in their product instead of denying or ignoring it. Not sure how many more vulns need to be broadcast in a DEFCON kind of way for vendors to wake the hell up. Perhaps another couple of decades will do it.

  9. Black hat by mwvdlee · · Score: 2

    The question is whether black hat hackers are aware of the security holes.

    Since Open Source projects communicate in the open (even if just version control commits), I find it quite likely that all major security-related projects are monitored by black hat hackers. The few weeks waiting period gives them ample time to use the security hole.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    1. Re:Black hat by meustrus · · Score: 3, Interesting

      Many open source projects have specific protocols for security flaws that include having an insulated security team communicating in private with private code repositories. But even for those that don't, two weeks of security by obscurity is better than two weeks of no security at all.

      --
      I sometimes ask revealing, often ignorant-seeming questions. Maybe they're harder to answer than you think.
    2. Re:Black hat by martyros · · Score: 3, Informative

      Since Open Source projects communicate in the open (even if just version control commits), I find it quite likely that all major security-related projects are monitored by black hat hackers. The few weeks waiting period gives them ample time to use the security hole.

      That's why the Xen Project doesn't put the fix into version control until after the embargo period is over. Only people on the predisclosure list (or those able to listen in) would be able to learn about the vulnerability without doing their own audit of the code to find the bug themselves (which is very expensive).

      There's basically a balance to be struck. All users not on the predisclosure list (and thus who cannot update their systems until the embargo period is over) will continue to be privately vulnerable during the embargo period: anyone who happens to have dug deep enough and found the bug can still exploit it. But as soon as the announcement is made, everyone who hasn't yet updated is publicly vulnerable: Nobody has to search to find the bug, they just have to write an exploit for it. Being privately vulnerable is certainly bad, but being publicly vulnerable is far worse. The goal of the embargo period is to try to reduce the time that users are publicly vulnerable by extending the time they are privately vulnerable. Two weeks has been found to be a reasonable cost/benefit trade-off in our experience.

      --

      TCP: Why the Internet is full of SYN.

    3. Re:Black hat by koinu · · Score: 1

      What if someone who privately knows about the vulnerability gets the idea to exploit various installations of competitors (or even common users!) during the embargo period? Do you trust large enterprises not to misuse their knowledge to their own advantage?

    4. Re:Black hat by Anonymous Coward · · Score: 0

      Actually distro security teams (as well as the Xen security team) to not communicate in the open during an embargo period. Typically also all email communication is encrypted when it comes to such bugs. If you look at http://xenbits.xen.org/gitweb/?p=xen.git;a=summary, you will find that the fix for XSA 108 has not yet been applied to the source tree. The patch has been made available as a file attached to http://xenbits.xen.org/xsa/advisory-108.html ... the patch will then be posted as usual, reviewed as usual and will be applied to the tree as usual. All after the embargo period is over.

    5. Re:Black hat by phantomfive · · Score: 1

      Indeed. Furthermore, there are usually ways to defend yourself against attacks that don't involve patching. You might set up a firewall, or (in this case) switch to mod_perl instead of mod_cgi.....

      --
      "First they came for the slanderers and i said nothing."
    6. Re:Black hat by martyros · · Score: 1

      What if someone who privately knows about the vulnerability gets the idea to exploit various installations of competitors (or even common users!) during the embargo period? Do you trust large enterprises not to misuse their knowledge to their own advantage?

      Of course that's a risk. But again, is it worse to have a handful of people who are trying to be secretive know about the vulnerability while vendors update and carefully test their software, or for for the entire world to know about the vulnerability while vendors scramble to get something out the door as soon as possible?

      --

      TCP: Why the Internet is full of SYN.

    7. Re:Black hat by Anonymous Coward · · Score: 0

      Right - and if my job was to find vulnerabilities to exploit, I'd sign up to as many of those security teams as possible. That two week window where only I and a few other people knew about a widespread critical flaw, and the rest of the world was blissfully ignorant that I was busy ransacking their systems and installing root kits would be absolute gold.

    8. Re:Black hat by benjymouse · · Score: 1

      What if someone who privately knows about the vulnerability gets the idea to exploit various installations of competitors (or even common users!) during the embargo period? Do you trust large enterprises not to misuse their knowledge to their own advantage?

      A patch cannot be prepared "privately" without a number of people knowing about it: Developers, testers, reviewers, server admins etc. At each of the organizations that are privy to the predisclosure.

      There are money to be made from that. To gain access to an exploitable vulnerability before a patch can be distributed broadly is a massive opportunity.

      What if someone starts to sell off their knowledge to blackhatters?

      What if someone sets up what looks like a legitimate business (a fake antimalware) and uses it primary to get inside info?

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    9. Re:Black hat by meustrus · · Score: 1

      It's not that simple. In the open source project with which I'm most familiar, security team members are only admitted after they have demonstrated a security mindset and code review track record, as well as developed a reputation among existing security team members in person. The members (and their professional entanglements) are publicly disclosed. It's not just a matter of signing up to a mailing list.

      --
      I sometimes ask revealing, often ignorant-seeming questions. Maybe they're harder to answer than you think.
    10. Re:Black hat by Anonymous Coward · · Score: 0

      The goal of the embargo period is to try to reduce the time that users are publicly vulnerable by extending the time they are privately vulnerable.

      How about working to reduce the time they're privately vulnerable to reduce the total time they're vulnerable? At some level, whenever the embargo is actually lifted there's a gap between the time of the actual update and the time is (1) aware of the flaw and (2) updates. Now, perhaps you believe that this embargo period allows for (1) to occur so that (2) will occur right after the end of the embargo. But except in isolated incidents, there's simply too much software with too many vulnerabilities and too many embargo periods to consider for it to be viable for most users, themselves, to be aware of really *ANY* of it.

      The best one can hope for is that the user is reliant upon a distribution that prompt provides updates to possible security flaws and the user regularly updates. To that end, I can see a reason to try to notify and guide distributions for said updates. But, again, except in isolated incidents it's impractical to have a useful embargo period that will sufficiently encapsulate all (or even most) effected users precisely because, again, there's simply too much software with too many vulnerabilities and distributions themselves are so overwhelmed with all the possible permutations they themselves have to test (and deal with issues when a first run patch isn't 100% effective or spurs the realization that there's probably dozens of other vulnerabilities of a similar nature in the same program).

      So, I can understand at some level how Xen Project was able to proceed because it's very monolithic and single-minded. And as others have said, it's apples and oranges to compare against Bash. I mean, the very fact is that I have so little personal, direct use for Xen and my understanding is the effectively user list is small enough one can reasonably spell out if people were actually effected or not by the embargo.

      Meanwhile, I sit here well aware of multiple devices I have that have bash installed which likely won't see an update in months, if ever, and it's probable a own multiple more devices that use bash that no one will ever realize and not even botnets will incidentally exploit. At that level, the best I can hope to do is be aware of the risk and mitigate where I can which leaves my private/public vulnerable time at the shortest time when there's immediate public exposure of the vulnerability and how it can be triggered.

      Waiting for a fix/patch/update cycle is weeks of vulnerability I need not suffer because system downtime may be preferable to me--after all, I have multiple systems and they're not necessarily all as vulnerable. That's the sort of empowerment that open source and open disclosure means to me. *shrug*

  10. Different audiences by meustrus · · Score: 2

    I'm sure the Xen project can keep track of all of its major players and inform them ahead of time. And nobody is a "minor player" with something so complex as Xen. It's complex enough that most users probably have support contracts with larger users. It's a lot easier to discreetly distribute a patch to that audience than to literally nearly every SSL server on the internet or every Linux user.

    --
    I sometimes ask revealing, often ignorant-seeming questions. Maybe they're harder to answer than you think.
    1. Re:Different audiences by Buzer · · Score: 1

      And nobody is a "minor player" with something so complex as Xen

      There are hundreds, probably thousands, of "minor players". Just look at something like http://lowendbox.com/ or WebHostingTalk. Most of them use OpenVZ because it has less overhead, but Xen is still pretty common as it has fewer limitations (like you can load whichever module you want).

  11. Are you dumb or something? by Anonymous Coward · · Score: 0

    And what exactly happened differently in shellshock's case?
    Who writes these posts anyway? A freaking 13 year old with reading impairment?

  12. Ignorance is not bliss by Anonymous Coward · · Score: 0

    Ignorance is not bliss

    1. Re:Ignorance is not bliss by Chrisq · · Score: 4, Funny

      Ignorance is not bliss

      I didn't want to know that!

  13. What about smaller companies? by Anonymous Coward · · Score: 0

    That works well for the major players, but how does it improve the situation of the smaller companies having their own deployments?

  14. flawed by Anonymous Coward · · Score: 0

    No, you don't need to pay to be on pre-disclosure list.

    http://www.xenproject.org/security-policy.html

  15. One-size-fits-all by king+neckbeard · · Score: 1

    Perhaps there isn't a single universal best police in regards to this. What works best in one situation is not necessarily what works best in all of them.

    --
    This is my signature. There are many like it, but this one is mine.
  16. That's how the bash issue was handled by nedlohs · · Score: 4, Informative

    That some idiot decided to publish the prenotification is just more likely when you have something in as widespread use as bash.

  17. Doesn't work for everyone by Zaphon · · Score: 1

    So unless you lived under a rock, most people knew there was a security bug out there (why else would the big cloud providers be forcing a restart of all my VMs?) We didn't know what it was, and because I'm not part of the preferred client group my servers didn't get patched prior to disclosure. So for me, no this isn't sufficient. I prefer the more open way of doing it, versus fixing it in a closed "preferred client" way that they handled this.

    1. Re:Doesn't work for everyone by quantaman · · Score: 1

      So unless you lived under a rock, most people knew there was a security bug out there (why else would the big cloud providers be forcing a restart of all my VMs?) We didn't know what it was, and because I'm not part of the preferred client group my servers didn't get patched prior to disclosure. So for me, no this isn't sufficient. I prefer the more open way of doing it, versus fixing it in a closed "preferred client" way that they handled this.

      What more open way do you propose?

      With this approach the major vendors got patched first, while you and the attackers both got some forewarning that a vulnerability and patch were going to be made available and got to find out about both at the same time.

      In a more open system the only real difference seems to be the major vendors would end up in the same boat as you, having to race the attackers to apply the patch. It removes a comparative advantage they have but seems to make users less secure in general. Maybe the disclosure list could be larger but I'm not sure of a system that allows all of the users to be patched before any of the attackers find out about the exploit.

      --
      I stole this Sig
    2. Re:Doesn't work for everyone by Anonymous Coward · · Score: 0

      With this approach the major vendors got patched first, while you and the attackers both got some forewarning that a vulnerability and patch were going to be made available and got to find out about both at the same time.

      In a more open system the only real difference seems to be the major vendors would end up in the same boat as you, having to race the attackers to apply the patch. It removes a comparative advantage they have but seems to make users less secure in general. Maybe the disclosure list could be larger but I'm not sure of a system that allows all of the users to be patched before any of the attackers find out about the exploit.

      In what way do you think this isn't illegal anti-competitive behaviour?

      This effectively creates a system where the bigger vendors have serious competitive advantage over smaller ones, as they get to patch their systems in private, while leaving smaller players out in the cold until they get large enough to join the cabal. It will only be a matter of time before one vendor advertises that their security vigilance is better than another, executed on the back of private information.

      If there is a patch available, it should be announced and distributed immediately. If there's no patch and no temporary mitigation strategy, then minimizing disclosure is probably fine.

    3. Re:Doesn't work for everyone by quantaman · · Score: 1

      In what way do you think this isn't illegal anti-competitive behaviour?

      This effectively creates a system where the bigger vendors have serious competitive advantage over smaller ones, as they get to patch their systems in private, while leaving smaller players out in the cold until they get large enough to join the cabal. It will only be a matter of time before one vendor advertises that their security vigilance is better than another, executed on the back of private information.

      If there is a patch available, it should be announced and distributed immediately. If there's no patch and no temporary mitigation strategy, then minimizing disclosure is probably fine.

      It's not illegal anti-competitive behaviour because the intent isn't to be anti-competitive, it's to reduce the number of victims.

      The problem with your proposal is you're creating an additional security risk in the name of fairness.

      --
      I stole this Sig
  18. Predisclosure should NOT be the normal practice by Hizonner · · Score: 2

    Predisclosure is very risky. You don't really know which members of your "predisclosure list" have good control over who finds out and which don't. And even with perfect control, if you're going to patch something the size of Amazon at all, you're going to have to tell a lot of people. Are you sure you want every individual who happens to have a certain job at Amazon to have the chance to exploit other people's systems?

    You're not really trusting organizations. You're trusting collections of individuals. And with that many individuals, you are going to have some bad actors. But you'd have a problem even if you could think of organizations as units with perfect policy enforcement. Suppose the NSA comes to you and says they're running a big Xen cluster (they probably are somewhere). And it's critical to national and maybe global security (it could very possibly be). Do they get on the list? How are you going to feel when they use that preannouncement to break into somebody else's system?

    Furthermore, people inferred that there was probably a Xen vulnerability from Amazon's downtime, before the official announcement. So how, exactly, was that better than having the Xen project actually announce that fact, with or without details or a patch?

    Also, it's not so easy to really know what's a "critical deployment". The fact is that, whether you're Xen or you're bash, you don't really know who's using your stuff. You don't really know what's critical. And you definitely don't know who's trustworthy.

    And all of THAT assumes that you even control the disclosure at all. If you find a problem in your software, that problem is "new to you". That does not mean that a bunch of other people don't already know about it. Especially the sort of people who make a business of exploiting these things. So you don't even know for sure who you're depriving of the knowledge.

    There's always an exception. Maybe Xen is that exception. But the idea that predisclosure should be the normal approach for software in general, whether open source or otherwise, is a very dangerous one.

    1. Re:Predisclosure should NOT be the normal practice by kaiser423 · · Score: 1

      Furthermore, people inferred that there was probably a Xen vulnerability from Amazon's downtime, before the official announcement. So how, exactly, was that better than having the Xen project actually announce that fact, with or without details or a patch?

      There was no inferring. Amazon made an oops in their announcement and said that it was due to a bug in Xen. If they hadn't named Xen, then people may have inferred Xen but not known. There are quite a few other parts of the stack that can require system reboots.

      None of the other Xen hosts specified that it was a bug in Xen until the embargo was lifted, and Amazon has indicated that in the future they won't specify which part of the stack is making them do the reboot. AWS gives users notifications of reboots all the time for various reasons, so all that was out of the ordinary was that it was such a large reboot wave that they made an official announcement.

    2. Re:Predisclosure should NOT be the normal practice by Zeromous · · Score: 1

      I found out about the predisclosure via reddit a few days before the patch.. So by then the cat was out of the bag....

      --
      ---Up Up Down Down Left Right Left Right B A START
  19. yum update. Remember the huge DNS DOS? by raymorris · · Score: 1

    > how does it improve the situation of the smaller companies

    By the time the issue becomes public, Red Hat will already have a good update ready for you, so you can just "yum update xen" and you're good to go.

    Contrast this with shellshocker, where after the issue was in the media, Red Hat started trying to figure out how to handle it, and over the next several days they put multiple patches trying to address it in different ways, while upstream bash went in a completely different direction. The bash team is still trying to decide exactly how the underlying issues should be handled on a permanent basis, and we'll all be vulnerable for at least a few more days while they figure that out.

    Do you remember about two years ago when there was that vulnerability that allowed bad actors is _easily_ take down DNS servers? Sending one wrong packet to the wikipedia DNS servers would take down wikipedia. You probably don't remember that, because it didn't get any press. The reason why is that after I discovered it, I contacted the project maintainers and over the next 24 hours a fix was developed. The following day, the fix was applied to high profile targets like Wikipedia. On the third day, packagers including Red Hat and FreeBSD got update packages ready and sent them out for anyone who auto-updates, along with a notice on the mailing list of users. Only after the patched binary was available through standard packages were the details of the attack public. Therefore, few people were affected it t wasn't news.

    1. Re:yum update. Remember the huge DNS DOS? by Anonymous Coward · · Score: 0

      OepnBSD and FreeBSD just disabled the ability to automatically run functions from environmental variables in their port's version of bash. It was a feature that almost no one used or even knew about. You can also unpatch it if you need it for some reason.

  20. so my XEN deployment doesn't matter? by Anonymous Coward · · Score: 0

    so, only the big established players with insider connections get access to the "fast lanes" of fixing known vulnerabilities.... sound familiar?

    this isn't the right way to push the fix at all. an outsider found the exploit, so the exploit is already public... release the info and release the patch immediately.

    just because you're in bed with big players doesn't mean you get to treat the rest of us like shit.

    FUCK XEN. switching to OpenVZ immediately.

  21. Grandstanding by Sheik+Yerbouti · · Score: 2

    The problem is "security researchers" want to gain notoriety so they can make more money as consultants and doing paid appearances. The way you do that is irresponsible disclosure that causes a big stir. If you tell someone I discovered heartbleed they have heard of that and will take it as a credibility indicator. If you tell them I discovered XSA-128 everyone says never heard of it. It's all about marketing and PR and making bucks. That's how these things end up with catchy names. The people doing this are acting rationally but with questionable motives and their dedication to actual security should be under great scrutiny.

    1. Re:Grandstanding by paulpach · · Score: 1

      The problem is "security researchers" want to gain notoriety so they can make more money as consultants and doing paid appearances. The way you do that is irresponsible disclosure that causes a big stir. If you tell someone I discovered heartbleed they have heard of that and will take it as a credibility indicator. If you tell them I discovered XSA-128 everyone says never heard of it. It's all about marketing and PR and making bucks. That's how these things end up with catchy names. The people doing this are acting rationally but with questionable motives and their dedication to actual security should be under great scrutiny.

      The fact that heartbleed made more noise, also means more people know they need to apply a patch. What you call "irresponsible disclosure" is to some of us the only responsible way to disclose it.

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

      It also means more scanners. My aunt sends out email to all our relatives where she hears computer security news like this. None of it effects them, but they get worried about it. If they see a spam pop-up saying they've been effected by the new, well talked about malware and should install this little too to fix it, I'm sure they'd click and get infected with something. If they've never heard about it, they think it's a scam or ignore it as useless tech stuff. Making more noise about something also means the stupid people learn about it too. Knowing things is dangerous for them.

  22. Ideal situation =/= codified law of alwaysness by briester · · Score: 1

    So this situation really was handled with aplomb. However, saying that we "should" handle things this way is about as dangerous as saying we "should" shout out the details of every vulnerability we find. Keeping things internal prevents the community from stepping up. I doubt that all the folks who have dealt with heartbleed were involved in SSL beforehand. But they were helpful because they knew they were needed, and their ignorance would have hurt us badly. On the other hand, shouting everything out feels like a dumb thing to do. So instead of some off-the-cuff polarizing question like "shouldn't we always handle things this way for EVERZ" is precisely the wrong response. Its actually the very wrongest.

    Discretion, intuition, and rapid initiative. That is how we "should" handle these things. The specifics are case by case.

    1. Re:Ideal situation =/= codified law of alwaysness by Anonymous Coward · · Score: 0

      #[...]shouting everything out feels like a dumb thing to do.

      No dumber than an implicit assumption of liability in the context of a nominally open source, non-proprietary project. We all want to be responsible, but sometimes it pays to examine premises which require us to hold our tongues, or hold them in cheek, with respect to reality or our knowledge of it.

      Absent an immediate threat to life, limb, or property, that you can do anything about, full disclosure is the way to go, and damn the consequences. Legal CYA is one of the downsides of foundations.

    2. Re:Ideal situation =/= codified law of alwaysness by Anonymous Coward · · Score: 0

      I.e. Don't shoot the messenger. Sometimes you wonder why if so many don't get shot just to cut down the volume of the messages, and then you wonder why.

  23. Re:Yes, Exactly by nullchar · · Score: 1

    Well said.

  24. No by WaffleMonster · · Score: 1

    If vendors want to withhold detailed notification until a patch is available I don't much care.

    However withholding patches until after a "chosen" subset of user community has casually had the opportunity to fix their shit is great for you if your chosen and worse if your everyone else.

    Better to announce in advance on such a date at such a time patch of import x shall be released to all concerned... let everyone who cares plan their maintenance windows accordingly.

    1. Re:No by Anonymous Coward · · Score: 0

      Have you actually read the Xen Project's policy at http://www.xenproject.org/security-policy.html - it is really quite inclusive and doesn't really discriminate against small service providers.

    2. Re:No by WaffleMonster · · Score: 1

      Have you actually read the Xen Project's policy at http://www.xenproject.org/secu... - it is really quite inclusive and doesn't really discriminate against small service providers.

      This is one of those games you can't win.

      Being inclusive means your opsec is shit and you have effectively blabbered to *everyone* who has a stake in knowing. A secret known by all is no secret.

  25. The problem isn't open source projects by Todd+Knarr · · Score: 2

    This is the right way to handle things, yes. The problem is that most researchers are used to dealing with proprietary software vendors whose reaction to any bug report is at best to ignore and bury the report and deny there's any problem, at worst to attack and sue the researchers. The only sane reaction to that situation is to handle things the way Heartbleed and Shellshock were: immediately publicly disclose all the details so that there are too many independent confirmations and too much publicity for the vendor to ignore the situation or deny the problem. When 99% of the time you need to follow one course, it's easy to lose track of when you're dealing with the other 1%.

  26. Favoritisim by Anonymous Coward · · Score: 0

    That's a terrible way to do it. You protect the big guys, but when the exploit info is finally released, any compnay not lucky enough to be notified is screwed with a zeroday. Its making it safer for customers to use the estabished providers, entrenching their market share.

    If there were a comerical partner backin a project that knows of a critical flaw, they should give equal acess to all their customers with support contracts. If I was a citrix/xen customer I'd be pissed.

  27. closure by rewindustry · · Score: 1

    can we find and name that idiot?

  28. Your assuming their is only one mitigation method by silas_moeckel · · Score: 1

    Defense is depth matters, many network exploitable vulnerabilities can be mitigated before they ever get to the server gear. In case of bash only some cases/methods can be blocked. This does mean in many cases it's more than just the authors that need to know.

    --
    No sir I dont like it.
  29. no by Anonymous Coward · · Score: 0

    i know find out there is a back door and that millions might be vulnerable and DONT TELL ANYONE thus increasing likely hood someone is damaged...i don't know if there are cases of lawsuits like this or over it but there ought to be.

    in there case it would have bene awful funny if they get hacked to pieces a week after knowing.

    keeping the pool of minds small = less chance and more time to fix.

  30. Xen != bash != openssl by yacc143 · · Score: 2

    Pick any random Linux box, and it will have bash/openssl installed.

    Xen on the other hand, rather specialized software, hence you have a couple of mega-users. It's easy to coordinate with a couple of professional organisations that are critically interested.

    Without such usage clusters, it's much more difficult.

  31. so my XEN deployment doesn't matter? by Anonymous Coward · · Score: 0

    Your reply makes no sense and has no logic. I highly doubt if you ever read the Xen security policy page.

    Firstly, it's not only "big established players" are allowed to be on pre-disclosure list. If you're a legitimate user you can be on that list.

    Secondly, if a security bug is publicly discussed, Xen project will not enforce embargo period, instead patch is made immediately available to public (there has been several instances). In this XSA-108 case, the vulnerability was not public, so there was embargo period.

    Thirdly, how did you come to your conclusion? Does OpenVZ have a better policy that attracts you so much? If so, I would like to hear about it.

  32. Open publish perish by Stonefish · · Score: 1

    What is comes down to is agility and design. You don't control other peoples knowledge and communications to mitigate your flaws, you ensure that you have a process for managing them effectively if you care. If a service is that valueable to you ensure that you have two service delivery mechanisms. Yes its expensive but you've just said that this channel is that important to you. Or live with the risk and keep the cash, in both cases the ball is in your court.
    The whole censorship approach is created by anal retentive morons who don't understand risk, the mathematics of access control or the environment in which they're building systems.

  33. Damned if you do, damned if you don't by multimediavt · · Score: 1

    I really see these exploits and publishing their existence as a double edged sword problem. On one hand, as an asministrator of systems I'd like to know immediately that there is an exploit so I can shut down a service, if I can, so it doesn't get exploited before I can patch it. On the other hand if the knowledge of an exploit gets into the public then more people are going to try to exploit systems that may be vulnerable, so keeping it quiet may also be beneficial.

    Where do you draw the line, and for what reasons? Heartbleed was a major exploit, but was easily patched in short order, however, how many systems had been exploited before the patch was released and by whom? The same goes for Shellshock, although that exploit wasn't patched before it went public and we still see exploits at work due to bash's abundance.

    I lean toward the make-it-publicly-known-ASAP camp as I would want to be able to take proactive measures to mitigate any vulnerability before it was exploited or patched. In some cases (not necessarily the Heartbleed and Shellshock examples) patching may fix the vulnerability, but the system may still be compromised if it has been exploited and the damage is already done; and amy continue until you rebuild the system. If the vulnerability was kept quiet during patch development, not knowing gave the attacker time to get what ever they were after off a compromised system before the patch, and potentially not stop further data theft after the patch.

    It's really hard to say which option--to tell or not to tell--is the best course. When a vulnerability is found by a security researcher doesn't necessarily correlate to no infected systems in the wild. Who knows who found it first, a good guy or a bad guy, and there may very well be systems exploited in the wild that a patch has little effect on other than fixing a hole that's already been plumbed out by a bad guy.

  34. More constructive difference between xen & bas by rlh100 · · Score: 1

    Pre-disclosure and a quarantine period is useful for both infrastructure security bugs like xen and widely deployed security bugs like bash and openssl.

    In the case of an infrastructure bug the quarantine period allows the service providers a chance to patch and restart their services before their customers become vulnerable.

    In the case of a widely deployed security bug it give the OS/software vendors the chance to investigate the bug. Create patches and test/verify their patches and pre-stage them so when the bug is disclosed publicly sites that do automatic updates are already patched.

    I think the two week window used by xen is a good window balancing giving time for people to fix the problem but limiting the time between discovery and public knowledge/exploit.