Ribbon Icon Celebrating 27 Years – Announcing the new GeoTrust Horizon® platform. Learn More
Home Icon > Resources > Expert Guides > SSL/TLS Vulnerabilities > TLS/SSL Logjam Attack Vulnerability Fix & CVE-2015-4000 Exploit Explained

TLS/SSL Logjam Attack Vulnerability Fix & CVE-2015-4000 Exploit Explained

The Logjam attack exploits weak 512-bit Diffie-Hellman (DH) key exchanges in SSL/TLS encryption. This type of vulnerability allows attackers to downgrade encryption and intercept or alter sensitive data. Learn how you can protect your server from the Logjam attack and secure your online communication. 

Simplify SSL Monitoring with Automated Scanning

Protect your websites against expiring SSL certificates, vulnerabilities, and misconfigurations.

What Is the Logjam Attack? 

The Logjam attack, CVE-2015-4000, exploits servers that use weak 512-bit DH key exchanges. An attacker can easily downgrade encryption, making it easier to intercept or decrypt traffic. If your server uses weak encryption, an attacker can access login credentials and credit card details. 

Why Is the Logjam Attack a Problem? 

The Logjam attack allows attackers to: 

  • Intercept sensitive data like passwords or payment details. 
  • Inject malicious data in encrypted communications. 
  • Degrade the security of SSL/TLS connections. 
A screenshot that demonstrates the ERR_SSL_VERSION_CIPHER_MISMATCH error
Image caption: A screenshot of an error message that displays in Google Chrome when a server and connecting party don’t support a common protocol version or cipher suite.

Best Practices to Prevent the Logjam Attack 

To prevent the Logjam attack on your server, follow these best practices: 

1. Disable Weak 512-bit Diffie-Hellman Key Exchanges & Use Stronger Encryption Algorithms 

You need to disable weak encryption and enforce stronger encryption algorithms. 

For Ubuntu/NGINX: 

  • Edit /etc/nginx/nginx.conf: 
ssl_protocols TLSv1.2 TLSv1.3; 
ssl_ciphers 'HIGH:!aNULL:!MD5'; 
ssl_ecdh_curve secp384r1;
  1. Restart NGINX: 
sudo systemctl restart nginx 

For CentOS/Apache: 

  • Edit /etc/httpd/conf.d/ssl.conf: 
SSLProtocol all -SSLv2 -SSLv3 
SSLCipherSuite HIGH:!aNULL:!MD5 
SSLHonorCipherOrder on
  1. Restart Apache: 
# sudo systemctl restart httpd 

Updated Step for Windows Server/IIS (Using IIS Crypto) 

  1. Download and Install IIS Crypto: Download the tool from Nartac Software and install it. 
  1. Run IIS Crypto as Administrator: 
    • Uncheck weak ciphers and protocols (for example, 512-bit DH, SSL 2.0, SSL 3.0). 
    • Enable strong options like TLS 1.2 and ECDHE under Key Exchange. 
A screenshot of Nartac Software's IIS Crypto tool version 4.0
Image caption: A screenshot illustrating how to implement TLS protocol-related changes in IIS Crypto version 4.0.
  1. Apply Changes: Save and reboot the server if prompted. 
  1. Verify: Use the GeoTrust Horizon’s SSL Monitor to scan and verify the fixes are implemented correctly. (Hint: You should see no vulnerabilities listed, much like in the example image below.) 
A snapshot from GeoTrust Horizon's SSL Monitor dashboard, which show that there are no SSL/TLS-related issues found ona  domain
Image caption: A screenshot of the GeoTrust Horizon SSL Monitor dashboard, which showcases the lack of SSL/TLS-related issues on a domain after mitigations have been performed.

Find & Fix SSL Vulnerabilities Without Lifting a Finger

Detect and diagnose 110+ SSL issues easily with continuous website scanning

2. Update Your Systems 

Regularly apply patches to keep your server secure against known vulnerabilities like Logjam. 

How to Use GeoTrust Horizon’s SSL Monitor for Security 

GeoTrust Horizon’s SSL Monitor is an intuitive tool that enbales you to monitor the SSL/TLS configuration on your website for vulnerabilities like Logjam. Here’s how you can use it to keep your server safe: 

How to Use SSL Monitor to Stay Secure 

  1. Add your domain to GeoTrust Horizon’s SSL Monitor: Log in and add your domain to start monitoring. 
A demonstration showing how to enable SSL Monitor on your domain in GeoTrust Horizon's dashboard
  1. Initiate the SSL scan feature:  Scan for vulnerabilities, including Logjam. 
A screenshot of the Logjam vulnerability displaying in GeoTrust Horizon's SSL Monitor scan results page
Image caption: A screenshot demonstrating what it looks like when Logjam is listed in GeoTrust Horizon’s SSL Monitor scan results.
  1. Fix the issues and re-scan your domain: Follow the remediation steps from SSL Monitor to address the vulnerabilities 
A snapshot from GeoTrust Horizon's SSL Monitor dashboard, which show that there are no SSL/TLS-related issues found ona domain

Using GeoTrust Horizon’s SSL Monitor regularly will keep your server safe from the Logjam vulnerability and ensures that all communications are secure. 

Follow these best practices and using SSL Monitor, your server becomes secure against the Logjam attack, and your communication will be safe. So, disabling weak ciphers, enforcing stronger encryption algorithms, and keeping systems up to date are essential to mitigate the vulnerability of Logjam.