r/programming •

Theo de Raadt: "OpenSSL has exploit mitigation countermeasures to make sure it's exploitable"

[deleted] — view deleted post

0 Upvotes

661 comments sorted by

View all comments

Show parent comment

39

u/dontera Apr 09 '14

The Author is very much findable. The Commit which brought us this is also right there for all to see. I honestly believe we have a situation where the author thought he was quite clever, and knew better what to do. That never works out well.. and sometimes that creates possibly the worst vulnerability the web has ever seen.

22

u/Otis_Inf Apr 09 '14

In all honesty, his research suggests he is quite known with the field this code is meant for. To say the least. So I don't think the guy actually thought he was 'clever', he just happened to work with this stuff night and day. I.o.w.: a mistake, albeit with far reaching consequences.

17

u/dontera Apr 09 '14

I mean, the guy Friggen wrote the RFC on TLS Heartbeat, so who better to code it, right?

0

u/[deleted] Apr 09 '14

[deleted] — view deleted comment

7

u/dontera Apr 09 '14 edited Apr 09 '14

Sure, we can all write Request For Comments till we turn blue. But very few of us will have them Accepted and actually Implemented.

Edited to add: no his RFC has not been accepted as a standard yet, but it was implemented.

4

u/postmodest Apr 09 '14

Implemented by him.

I propose RFC 666666: REDIRECT ALL TLS TRAFFIC TO NETCAT

I've implemented this in GnuTLS.

Job DONE.

2

u/gnutrino Apr 09 '14

Edited to add: no his RFC has not been accepted as a standard yet, but it was implemented.

Yes, by him.

→ More replies (2)
→ More replies (1)

1

u/[deleted] Apr 10 '14

The heartbeat feature is chapter 7.2 of his PhD thesis.

17

u/emergent_properties Apr 09 '14

It looks like a case of a simple mistake.

Because it looks like such a clear cut case of accident, there should be a vigorous audit now at EVERYTHING that he has done, all other commits, and any relationships he had with any other third party.

This is part of the recovery process. Now to figure out how deep this rabbit hole goes.

We can BELIEVE it was an accident, but we'll PROVE it to be before claiming it as such.

9

u/dontera Apr 09 '14 edited Apr 09 '14

I honestly believe this was a mistake as well, one brought about by the assumptions and ego of a very smart, but clueless man.

6

u/emergent_properties Apr 09 '14

I don't think it is possible to tell.

In any case, the freaking Eye of Sauron is on this guy's code now. All of it.

15

u/My_First_Pony Apr 09 '14

Frantically searching for the one ring buffer overflow.

3

u/emergent_properties Apr 09 '14

One buffer overflow... to bind us.

4

u/reph Apr 09 '14 edited Apr 09 '14

And in the darkness, stack-unwind us.

8

u/balefrost Apr 09 '14

Thanks for volunteering! I look forward to your report!

4

u/emergent_properties Apr 09 '14

Don't worry, people who get paid 6 or more digits as security consultants will take a look.. Fuck, for that much money I'd do that too.

The extent of this vulnerability is really hard to overstate.

2

u/article1section8 Apr 09 '14

I dunno, doesn't it seem suspicious to you that it occurred the day before new years... and on a Saturday.

4

u/emergent_properties Apr 09 '14

No, that doesn't.

Then again, if RSA takes $10 million in payola to put a backdoor in their software.. who knows.

Everything is suspect at this point, considering this vulnerability royally invalidates security for a huge chunk the Internet.

4

u/[deleted] Apr 09 '14

There is a very big difference between the DUAL_EC_DRBG thing and the OpenSSL bug.

In the DUAL_EC_DRBG case, the weakness was specifically designed so that only the creators of the generator (i.e. NSA) could potentially exploit it. So, it seems quite plausible that the NSA could indeed have done it, especially given the revealed RSA connection.

On the other hand, the OpenSSL bug is something anybody can exploit and some of the affected versions of OpenSSL are certified to protect sensitive (although unclassified) government data. The NSA may have done a lot of stupid things but just handing over the keys to protected government data seems unlikely even for them.

→ More replies (1)

4

u/DarkNeutron Apr 09 '14

I'd go beyond him and audit of the rest of OpenSSL as well, along with removing the custom memory manager. I think that bit has outlived any usefulness it once had.

10

u/RedneckBob Apr 09 '14

When do you start?

2

u/judgemebymyusername Apr 09 '14

Are you going to audit the compiler?

2

u/emergent_properties Apr 09 '14

Refactor/redesign ALL the things!

→ More replies (3)

1

u/[deleted] Apr 10 '14

Dear god... the indentation/bracket style makes my eyes BLEED

→ More replies (1)
→ More replies (12)