[SOLVED] CentOS 5 is vulnerable to heartbleed!

General support questions including new installations
Post Reply
lamboluvr
Posts: 2
Joined: 2014/04/10 20:13:16

[SOLVED] CentOS 5 is vulnerable to heartbleed!

Post by lamboluvr » 2014/04/10 20:24:41

One of our old web boxes is running CentOS 5.10 (see http://cl.ly/image/2z1j2f2A0a3A) running the latest version of openssl provided by centos and all heartbleed vuln check scripts I've thrown at it show signs of memory leaks :shock: :shock: :shock: . Looks like I HAVE NO CHOICE but to recompile openssl even though you advise against it.
Last edited by avij on 2014/04/10 21:27:45, edited 2 times in total.
Reason: changed CentOS 5.1 to CentOS 5.10

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: CentOS 5 is vulnerable to heartbleed!

Post by avij » 2014/04/10 20:39:54

I believe your webserver is not using those openssl packages but some other openssl.

Run "lsof | grep libssl | grep http" or similar, and see which libssl files are in use.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: CentOS 5 is vulnerable to heartbleed!

Post by avij » 2014/04/10 20:45:23

I do not know if mod_spdy runs on CentOS 5, but if it does and you have it installed, please note that it contains its own copy of openssl. Previous versions were vulnerable to CVE-2014-0160, but a fixed version was recently released.

If you have mod-spdy-beta installed, try removing it and run "service httpd restart".

edit:
I tried installing mod_spdy on CentOS 5, but it failed. That package would need httpd >= 2.2.4, but CentOS 5 has only 2.2.3. So unless you are running a non-CentOS httpd, mod_spdy is not the problem you are seeing.

In any case, if your web server is vulnerable, it is because of some third party package, or some package that you have compiled yourself. CentOS 5 as shipped by the CentOS Project is not vulnerable to CVE-2014-0160.

lamboluvr
Posts: 2
Joined: 2014/04/10 20:13:16

Re: CentOS 5 is vulnerable to heartbleed!

Post by lamboluvr » 2014/04/10 21:20:42

avij wrote:I believe your webserver is not using those openssl packages but some other openssl.

Run "lsof | grep libssl | grep http" or similar, and see which libssl files are in use.

Ahhh. Sorry for freakout! Whoever set this box up trolled me with a bitnami stack. Had to user their patcher. Thanks for the help.

User avatar
loopx
Posts: 22
Joined: 2010/04/13 13:30:39
Contact:

Re: [SOLVED] CentOS 5 is vulnerable to heartbleed!

Post by loopx » 2014/04/13 12:58:38

The issue of openssl is above version 1.0 ... CentOS 5 and RHEL5 is not impacted with that.

I don't see what's your problem : just stay calm, may be ?

:)

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: [SOLVED] CentOS 5 is vulnerable to heartbleed!

Post by avij » 2014/04/13 16:03:58

It is possible to modify a CentOS 5 system to be vulnerable to Heartbleed, but only with additional software from third parties. This is what happened here.

Post Reply