Friday, April 11, 2014

'Heartbleed' bug fixed openssl (version:1.0.1g)

What is OpenSSL?
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library. The project is managed by a worldwide community of volunteers that use the Internet to communicate, plan, and develop the OpenSSL toolkit and its related documentation.
[ref: https://www.openssl.org/]

What is Heartbleed Bug?
The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to secure the Internet. SSL/TLS provides communication security and privacy over the Internet for applications such as web, email, instant messaging (IM) and some virtual private networks (VPNs).
The Heartbleed bug allows anyone on the Internet to read the memory of the systems protected by the vulnerable versions of the OpenSSL software. This compromises the secret keys used to identify the service providers and to encrypt the traffic, the names and passwords of the users and the actual content. This allows attackers to eavesdrop on communications, steal data directly from the services and users and to impersonate services and users.
[ref: http://heartbleed.com/]

Installing Bug fixed version (OpenSSL 1.0.1g) [Ubuntu 32-bit]
1. sudo apt-get update

2. sudo apt-get dist-upgrade

3. wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz

4. tar xzvf openssl-1.0.1g.tar.gz

5. cd openssl-1.0.1g

6. sudo ./config --prefix=/usr/local --openssldir=/usr/local/openssl

7. make

8. make test

9. make install

10. close the terminal and check version on a new terminal by :
openssl version
output should be : OpenSSL 1.0.1g 7 Apr 2014