News for hackers. Stuff that matters.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by tptacek on Monday April 07, 2014 @03:16PM (#7548663)
Ugh, that's a horrible vulnerability. We found something similar in nginx a few years ago, and the result is that you can repeatedly open up client connections and dump server memory as it changes, revealing keys and, without any real effort, authentication info and cookies.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by conformal on Monday April 07, 2014 @08:50PM (#7550723)
not sure what you have to maintain, but it sure sucks having to scramble and fix this right away.

our (quick) fixes are almost all done:

- recompile openssl where necessary (web, chat, mail, windows binaries) without heartbeat support

- roll related certs and keys ASAP

and then comes the painful process of suggesting all web service users roll their certs and auth.

oh, and rotate personal passwords at other sites that issue a warning about openssl...

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by dmix on Monday April 07, 2014 @03:28PM (#7548760)
I had to google what "heartbeat extension" does:

   DTLS is designed to secure traffic running on top of unreliable
   transport protocols.  Usually such protocols have no session
   management.  The only mechanism available at the DTLS layer to figure
   out if a peer is still alive is performing a costly renegotiation.
   If the application uses unidirectional traffic there is no other way.

   TLS is based on reliable protocols but there is not necessarily a
   feature available to keep the connection alive without continuous
   data transfer.

   The Heartbeat Extension as described in this document overcomes these
   limitations.  The user can use the new HeartbeatRequest message which
   has to be answered by the peer with a HeartbeartResponse immediately.

https://tools.ietf.org/html/draft-ietf-tls-dtls-heartbeat-01

Edit: here is the commit patching the bug https://github.com/openssl/openssl/commit/7e840163c06c7692b7...

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by nly on Monday April 07, 2014 @04:01PM (#7549027)
"Don't roll your own parsers" should really be up there with "Don't roll your own crypto". This advisory is scant on details, but this extension protocol[0] neither looks complex nor beyond mechanical code generation to me. Just simple enough to be dangerous. And it's pretty new, so this must be recently authored vulnerable code.

[0] http://tools.ietf.org/html/draft-ietf-tls-dtls-heartbeat-04

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by iso8859-1 on Monday April 07, 2014 @04:55PM (#7549424)
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by osivertsson on Tuesday April 08, 2014 @01:45AM (#7551617)
Ouch, pretty basic lack of bounds checking.

Even though the code got better with this fix I still wouldn't accept code that looks like this in a review. Why are 1, 2, 3, 16 not defines? What's up with the code duplication between files? Where are the unit-tests?

I'm starting to feel that a lot of software that has been around for 10+ years and is commonly used does not live up to current best practices regarding writing good system-level software.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by rlpb on Tuesday April 08, 2014 @07:09AM (#7552618)
> I'm starting to feel that a lot of software that has been around for 10+ years and is commonly used does not live up to current best practices regarding writing good system-level software.

I get the impression that this applies to openssl far more than other software. The code base is a mess, and it's security sensitive. So people dare not touch it.

It's a shame that there isn't a better incentive for this particular code base to be fixed.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by simias on Tuesday April 08, 2014 @07:12AM (#7552634)

    if (1 + 2 + 16 > s->s3->rrec.length)
    if (1 + 2 + payload + 16 > s->s3->rrec.length)
Come on. At least use a macro or something.

This always makes me cringe during code reviews.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by dhimes on Tuesday April 08, 2014 @09:55AM (#7553396)
Yep, and no braces after the 'if' statement in the patch. Even after the previous ssl vuln (I thought it was gnutls- struggling to find the relevant hn discussion) was caused by an omission of braces after the 'if' statement.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by saurik on Tuesday April 08, 2014 @11:52AM (#7554123)
You are thinking of "goto fail", a bug in Apple's Security framework. I would not claim that was "caused" by a lack of braces: even having the braces, that bug--in addition to a wide class of similar bugs--is still quite possible, even if in a few models of how the bug was caused it becomes slightly less likely. The best place to lay blame for that kind of error is a stubborn insistence that error handling should involve boilerplate return value checks strewn throughout the code, with no attempt at abstraction or structure: it leads to numerous potential mistakes. Please read the various discussions attached to this article that made this claim:

https://news.ycombinator.com/item?id=7318039

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by dhimes on Tuesday April 08, 2014 @12:27PM (#7554399)
Yes, that is exactly what I was thinking of. Thanks for the link. The discussion I was recalling is here

https://news.ycombinator.com/item?id=7282005

but the thread is a lot heftier now.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by Jare on Tuesday April 08, 2014 @08:44AM (#7552994)
I felt much better about having a fix before I looked at the actual code. It is functionally secure (looks right to me and thousands of others by now), but the way it is written would guarantee you an instant fail in an exam or interview.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by jlgaddis on Monday April 07, 2014 @05:54PM (#7549829)
2011-12-31, it looks like, so it's been there for a couple of years already (introduced between 1.0.0f and 1.0.1):

http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=...

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by ge0rg on Tuesday April 08, 2014 @06:47AM (#7552555)
Wow, a code change introduced around New Year's Eve (depending on timezone), and authored by Robin Seggelmann, who also brought us DTLS-SCTP.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by hackinthebochs on Tuesday April 08, 2014 @09:50AM (#7553355)
I've been thinking along these lines for a long time now, that parsing is such a critical activity that we should treat it with far more reverence than we do. Ideally, we would define languages to describe the format of the data that we want to parse (something like a BNF perhaps), and the OS/environment would parse it and populate variables/provide a dictionary in response. Ensuring that the input to your algorithm is exactly as expected is such a critical task that no one should ever be doing it manually.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by zurn on Tuesday April 08, 2014 @02:48AM (#7551803)
> "Don't roll your own parsers" should really be up there with "Don't roll your own crypto".

.. and if you do, don't do it in a highly memory-unsafe language. Espcially when it's for a security critical piece of central internet infrastructure!

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by danielweber on Tuesday April 08, 2014 @09:40AM (#7553300)
How do the Ruby-YAML and Python-Pickle vulnerabilities get cataloged?
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by eliteraspberrie on Monday April 07, 2014 @04:08PM (#7549083)
Looks like a good use case for Hammer: https://github.com/UpstandingHackers/hammer
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by nly on Monday April 07, 2014 @04:40PM (#7549321)
Looks interesting, but static code generation along the lines of Ragel (but more oriented toward binary structures like Protocol Buffers) would be a lot better for performance.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by gry on Monday April 07, 2014 @04:09PM (#7549092)
"Heartbleed Bug" Q&A: http://heartbleed.com/
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by vacri on Monday April 07, 2014 @05:58PM (#7549852)
Can we please vote this link higher? It's got a ton of information in it.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by snewman on Monday April 07, 2014 @06:47PM (#7550179)
It's already at the top of the homepage, as a separate submission.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by gry on Monday April 07, 2014 @07:19PM (#7550346)
It is now. It wasn't at the time of vacri's post. Top of the homepage is best.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by Silhouette on Monday April 07, 2014 @04:48PM (#7549369)
Ouch. Does this mean almost every Debian 7 web server out there is probably vulnerable to having its private data for supporting HTTPS compromised?

https://security-tracker.debian.org/tracker/CVE-2014-0160

If so, that must be an awful lot of web servers, with a horrendous cost for everyone to buy new certificates etc. if there's no reliable way to determine what if anything was compromised.

Would any of our resident security experts like to suggest best practices under such circumstances?

(Edit: It looks like the page I linked above has been updated and a patch is going into Wheezy security as I write this.)

(Edit 2: Confirmed that Wheezy security updates now include openssl 1.0.1e-2+deb7u5 and related libssl changes.)

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by rwg on Monday April 07, 2014 @05:14PM (#7549547)
All reasonable certificate authorities will — at no cost — revoke your existing certificate and issue you a new certificate with the same expiration date as your old certificate. You'd just need to send the CA a new certificate signing request created from a newly-generated RSA key pair.

If your CA wants you to buy a new certificate to recover from a key compromise, your CA is taking you for a ride, and you should find a less horrible CA to throw your money at.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by 0x0 on Monday April 07, 2014 @05:27PM (#7549646)
I think startssl requires $$$$ to revoke and/or reissue those "free" certs before they expire :-/
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by StefanWallin on Tuesday April 08, 2014 @03:55AM (#7552024)
Is there another good CA that doesn't charge $$$ for both issuing and revocations?
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by 0x0 on Tuesday April 08, 2014 @06:21AM (#7552475)
I just got a revocation request accepted with no charge there.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by cperciva on Monday April 07, 2014 @04:26PM (#7549233)
In case anyone was wondering why I wrote spiped...
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by FiloSottile on Monday April 07, 2014 @04:44PM (#7549343)
Totally agreed on the over-complexity and un-securability of TLS, that too often is deployed where something simpler should be used instead.

However, wouldn't OpenSSH be the thing spiped replaces most of the times? And that has a better security track record (I mean, better than OpenSSL for sure).

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by cperciva on Monday April 07, 2014 @04:47PM (#7549363)
A lot of people are doing spiped-like things using stunnel.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by midas007 on Monday April 07, 2014 @07:08PM (#7550289)
Basically, for internal infrastructure, where autossh wont work and/or where something simpler than ssh is desired.

So the strawmen arguments about it not replacing TLS is not the point.

stud, nginx, stunnel, f5 load balancers and cloudflare will still be needed for now, until 'moxie0 or someone comes up with a viable CA alternative AND something way, way simpler than TLS (brain-hurt ASN1, even with Wireshark).

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by FiloSottile on Monday April 07, 2014 @04:56PM (#7549427)
Oh. Sigh.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by atmosx on Monday April 07, 2014 @06:57PM (#7550225)
> Totally agreed on the over-complexity and un-securability of TLS, that too often is deployed where something simpler should be used instead.

What would something simpler, less error-prone which would give the same benefits in a client-server connection?

EDIT: Spiped is one, I got it (I'm on it right now and might even use it actually on a side-project), anything else that we should know about? :-)

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by peterwwillis on Monday April 07, 2014 @05:51PM (#7549812)
Well, since you mention it, why did you write spiped? It seems like if you just wanted to protect network services from the internet you could have A) segmented your network, B) used ssh, C) used one of the myriad other existing non-TLS tunneling protocols. Doing A might expose you to less risk than B or C, since with tunnels if your client is owned your server is still vulnerable. Of course if you just wanted to code something for fun I totally understand that too. But it seems like there were already alternatives to stunnel (and I don't really get why people use stunnel to begin with)
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by cperciva on Monday April 07, 2014 @05:58PM (#7549853)
Segmenting my network isn't an option when "my network" involves machines on multiple continents.

I avoided ssh because sshd is an effectively unauditable mess, and breaks the "transient network glitches don't kill quiescent connections" assumption.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by otterley on Monday April 07, 2014 @08:46PM (#7550706)
How do transient network glitches kill the connection? I'm not completely familiar with the ssh wire protocol, but to my knowledge TCP is largely responsible for ensuring the reliability of the virtual circuit even in the event of a transient lower-layer failure.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by wiml on Tuesday April 08, 2014 @01:02AM (#7551508)
ssh frequently uses either application-level or TCP-level keepalives. But it doesn't have to; you can just turn off ssh keepalives and your quiescent connections will survive network outages.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by drdaeman on Monday April 07, 2014 @06:35PM (#7550091)
But isn't spiped mostly irrelevant here?

I mean, it's not a TLS replacement, as it's based on PSK (thus only useable between two mutually trusting peers like me and myself), not PKI.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by cperciva on Monday April 07, 2014 @07:18PM (#7550343)
spiped should be irrelevant here. But there are a lot of people using PKI where they could be using PSK.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by otterley on Monday April 07, 2014 @08:43PM (#7550696)
Who, exactly? Distributing shared secrets securely is a non-trivial exercise.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by tripzilch on Tuesday April 08, 2014 @06:58PM (#7556564)
You mean like wifi-passwords? :) Everybody seems to manage distributing those just fine?
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by lawl on Monday April 07, 2014 @08:18PM (#7550610)
But it's written in C. So it can't be good!

(Sorry, I'm just still pissed at HN's simple mindedness and try to get more downvotes: https://news.ycombinator.com/item?id=7549916)

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by dang on Monday April 07, 2014 @08:24PM (#7550632)
Please don't post comments to HN that have no real content.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by tlrobinson on Monday April 07, 2014 @06:02PM (#7549883)
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by mappu on Monday April 07, 2014 @05:05PM (#7549485)
So they managed to notify Cloudflare in advance, but not debian/ubuntu security teams?
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by justizin on Monday April 07, 2014 @05:59PM (#7549859)
They may have had someone involved in the research / identification and fix.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by redbeard0x0a on Monday April 07, 2014 @09:10PM (#7550820)
Unfortunately, if you have been using an AWS ELB to terminate SSL traffic, they are vulnerable to this particular exploit. See this forum post: https://forums.aws.amazon.com/thread.jspa?threadID=149690
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by jvehent on Monday April 07, 2014 @04:44PM (#7549341)
Check for the extension:

    $ echo -e "quit\n" | openssl s_client -connect google.com:443 -tlsextdebug 2>&1| grep 'TLS server extension "heartbeat" (id=15), len=1'
    TLS server extension "heartbeat" (id=15), len=1
This doesn't tell you that the server uses OpenSSL, or that it is vulnerable, simply that it supports the extension.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by dmix on Monday April 07, 2014 @05:24PM (#7549626)
I wrote a bash script to check the top 1000 websites and huge percentage of them responded with heartbeat extension (30-40%):

  INPUT=websites.csv
  OLDIFS=$IFS
  IFS=,
  [ ! -f $INPUT ] && { echo "$INPUT file not found"; exit 99; }
  while read rank website
  do
    echo "checking $website for heartbeat..."
    echo -e "quit\n" | /usr/local/bin/openssl s_client -connect $website:443 -tlsextdebug 2>&1| grep 'TLS server extension "heartbeat" (id=15), len=1'
  done < $INPUT
  IFS=$OLDIFS
You can download a list of top 1 million websites from Alexa and Quantcast: http://www.seobook.com/download-alexa-top-1-000-000-websites...

Chinese websites timeout on port 443 so you'll have to skip them.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by mpetrov on Monday April 07, 2014 @05:08PM (#7549496)
Keep in mind that you have to run this with OpenSSL v1.0.1 and above. Running it on a stock OS X Mavericks install will not detect the extension because v0.9.8 of OpenSSL is installed.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by claudius on Tuesday April 08, 2014 @03:19AM (#7551886)
At least in my Bash (4.2.25(1)), there seems to be a difference between "2>&1|" and "2>&1 |" – the latter works as expected, whereas the former doesn’t give any output.

   $ echo -e "quit\n" | openssl s_client -connect chubig.net:993 -tlsextdebug 2>&1| grep 'TLS server extension "heartbeat" (id=15), len=1'
   $ echo -e "quit\n" | openssl s_client -connect chubig.net:993 -tlsextdebug 2>&1 | grep 'TLS server extension "heartbeat" (id=15), len=1'
   TLS server extension "heartbeat" (id=15), len=1
   $ 

Does anybody know why?
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by grittygrease on Monday April 07, 2014 @03:28PM (#7548754)
If your site is protected by CloudFlare (like HN is), you are automatically protected from this vulnerability (see: http://blog.cloudflare.com/staying-ahead-of-openssl-vulnerab...).
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by ars on Monday April 07, 2014 @07:05PM (#7550278)
You are protected now. But you were not before, so if any attacker figured this out before the public disclosure then you have [possibly] already been attacked and compromised.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by extrapolate on Tuesday April 08, 2014 @03:25AM (#7551905)
Not entirely correct, as the blog post states: > We fixed this vulnerability last week before it was made public.

Although there's still the other 103 weeks this was vulnerable to worry about.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by amalcon on Monday April 07, 2014 @05:37PM (#7549706)
This is perhaps somewhat misleading. It's possible that this bug was being actively exploited before now, so you should change your keys even if you use a CDN (all the majors have already fixed this as far as I'm aware).
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by smtddr on Monday April 07, 2014 @06:02PM (#7549879)
Perhaps Cloudfare should note that the "up to 64kB" isn't entirely correct.

http://heartbleed.com/

>>There is no total of 64 kilobytes limitation to the attack, that limit applies only to a single heartbeat. Attacker can either keep reconnecting or during an active TLS connection keep requesting arbitrary number of 64 kilobyte chunks of memory content until enough secrets are revealed.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by michh on Monday April 07, 2014 @05:06PM (#7549491)
An Ubuntu update would be nice right about now. Outside of disabling everything that uses openssl or compiling a new one manually, there's not much I can do to secure my servers at this moment. Meanwhile, I'm guessing a lot of not so nice people are racing to scan IP ranges for this bug.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by ars on Monday April 07, 2014 @06:39PM (#7550116)
Debian already updated: http://www.debian.org/security/2014/dsa-2896

Ubuntu should follow really soon, if not already.

Edit: Ubuntu updated: http://www.ubuntu.com/usn/usn-2165-1/

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by mey on Monday April 07, 2014 @06:38PM (#7550107)
Looks like this being made publicly listed, they did get this CVE out now (I last checked that link around noon PST) http://people.canonical.com/~ubuntu-security/cve/2014/CVE-20...
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by atmosx on Monday April 07, 2014 @07:08PM (#7550287)
FreeBSD updated (run the update about 40 minutes ago).
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by 0x0 on Monday April 07, 2014 @07:17PM (#7550338)
Are Android or iOS affected? Android seems to ship openssl 1.0.

Could a malicious server attack clients? Perhaps expose a browser's cookie jar or other saved passwords in memory?

The number of installed openssl clients across all devices and computers must be quite large.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by lxgr on Tuesday April 08, 2014 @08:34AM (#7552936)
It seems that Android has dodged this bullet by compiling OpenSSL with NO_HEARTBEATS: https://twitter.com/agl__/status/453472368589942785
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by welder on Monday April 07, 2014 @07:58PM (#7550519)
Yes, the vulnerable code is used by both client and server so any client using openssl is affected.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by biafra on Tuesday April 08, 2014 @05:54AM (#7552397)
Which parts of Android really use OpenSSL to do TLS with this heartbeat feature enabled?

The browsers? All Apps running on Dalvik? All apps running on ART?

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by hrrsn on Monday April 07, 2014 @08:16PM (#7550601)
OpenSSL doesn't seem to be installed on my jailbroken iPhone.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by zrail on Monday April 07, 2014 @04:44PM (#7549342)
How does one go about installing this update on Ubuntu? "sudo apt-get upgrade openssl" didn't do it.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by Andys on Monday April 07, 2014 @06:29PM (#7550055)
The fix has now been released by Ubuntu, so you can upgrade via the normal methods (apt-get update && apt-get upgrade)
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by specto on Monday April 07, 2014 @10:09PM (#7551027)
Make sure you check running daemons too... apt-get install debian-goodies; checkrestart
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by vajorie on Monday April 07, 2014 @04:50PM (#7549388)
By either compiling & installing it with -DOPENSSL_NO_HEARTBEATS or waiting for the security fix to be backported by ubuntu devs. http://heartbleed.com/
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by rlpb on Tuesday April 08, 2014 @07:14AM (#7552638)
See: http://www.ubuntu.com/usn/usn-2165-1/

The binary package name is "libssl1.0.0". You want "sudo apt-get update && sudo apt-get install libssl1.0.0", but I suggest that you take all security and regular updates (or set sources.list to security only updates if you insist). Then you can just run "sudo apt-get update && sudo apt-get dist-upgrade" to pick up all updates, without worrying about package names.

If you want to verify if a particular vulnerability is fixed, look in /usr/share/doc/<package>/changelog.Debian.gz. In this case, you want /usr/share/doc/libssl1.0.0/changelog.Debian.gz. In this file, you'll see CVE-2014-0160 mentioned as fixed, which is the universal identifier of this vulnerability.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by ceejayoz on Monday April 07, 2014 @08:43PM (#7550698)
Is this something I have to worry about as someone who uses AWS ELB SSL offloading? Hard to tell from the docs.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by trapexit on Monday April 07, 2014 @09:01PM (#7550783)
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by nicpottier on Tuesday April 08, 2014 @05:03AM (#7552237)
Note that until it gets patched, you can go to your ELB config and disable TLS support, which I believe (someone please correct me if not) will protect you from this particular attack. Whether the cure is better than the disease is up to you.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by ccpost on Tuesday April 08, 2014 @05:39AM (#7552348)
Disabling TLS in the ELB config seemed to work for me until AWS finishes the patch rollout. (Looks like they're partway on the rollout.)
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by anaphor on Monday April 07, 2014 @08:09PM (#7550567)
If one were using ASLR would this have mostly mitigated this? (I just rebuilt without the heartbeat extension but I'm curious). Also how exploitable is this?
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by mpyne on Monday April 07, 2014 @10:56PM (#7551196)
I don't think ASLR helps here one single bit.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by ccpost on Tuesday April 08, 2014 @05:37AM (#7552342)
I've been running the exploit against our test app (through AWS ELB), and have managed to get a fair bit of data out. Got snippets from HTTP requests on other threads including session cookies and even login passwords.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by FiloSottile on Monday April 07, 2014 @04:55PM (#7549421)
It should really be possible to easily detect what functionalities your deploy of OpenSSL is using and recompile only those.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by acqq on Tuesday April 08, 2014 @02:41AM (#7551778)
Anybody knows if the bug can be triggered in OpenSSH (I believe it uses the same lib?)
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by mbq on Tuesday April 08, 2014 @03:31AM (#7551920)
Most likely no since SSH is a different protocol than TLS.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by zurn on Tuesday April 08, 2014 @01:38AM (#7551602)
Go C!

Hope everyone had forward secrecy on by now.

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by ctz on Monday April 07, 2014 @04:46PM (#7549356)
I wonder how many service providers with big OpenSSL deployments (cloudflare, google, facebook, etc.) will do the sane thing and roll their authenticity keys. I'm guessing zero.

(Assuming they are deployed in such a way that their long-term authenticity keys are in the memory space of the network service, and not kept on another system or HSM.)

Re:OpenSSL Security Advisory: TLS heartbeat read overrun by midas007 on Monday April 07, 2014 @07:25PM (#7550373)
If you'd like to update the keg-only OpenSSL brew on osx, and dont care for legacy and crap:

     ( export CONFIGURE_OPTS='no-hw no-rdrand \
       no-sctp no-md4 no-mdc2 no-rc4 no-fips no-engine'; \
  brew install https://gist.github.com/steakknife/8228264/raw/openssl.rb )
Beware, that by default on osx/ios, pretty much everything links to sketchy CommonCrypto or a crusty, quasi-deprecated 0.9.8.
Re:OpenSSL Security Advisory: TLS heartbeat read overrun by dijit on Tuesday April 08, 2014 @09:18AM (#7553158)
of course, anyone using 0.9.8 is fine.