Cyber Security News

OpenVPN Easy-rsa Vulnerability Allows Attacker to Bruteforce Private CA key

A significant security vulnerability, designated as CVE-2024-13454, has been discovered in the OpenVPN Easy-RSA tool, specifically affecting versions from 3.0.5 to 3.2.0 that utilize OpenSSL 3.

This flaw pertains to the incorrect encryption of password-protected Certificate Authority (CA) private keys when using the easyrsa build-ca command.

Instead of employing the secure aes-256-cbc cipher as intended, Easy-RSA incorrectly defaults to the outdated and less secure des-ede3-cbc cipher, leaving these critical keys vulnerable to brute-force attacks.

The implications of this vulnerability are severe, as it could potentially allow unauthorized users to compromise the CA private key, thereby undermining the integrity of the entire Public Key Infrastructure (PKI) built around it.

Investigate Real-World Malicious Links & Phishing Attacks With Threat Intelligence Lookup - Try for Free

Given the critical role CA private keys play in secure communications, organizations utilizing affected versions of Easy-RSA are urged to take immediate action.

To address this vulnerability, users should follow a two-pronged approach:

  1. Re-encrypt the Private CA Key: Execute the command easyrsa set-pass ca to re-encrypt the CA private key using the recommended aes-256-cbc cipher algorithm. This command is functional across all Easy-RSA versions and will help mitigate the vulnerability.
  2. Upgrade to a Secure Version: It is highly recommended that users upgrade to Easy-RSA version 3.2.0 or newer, where the cipher issue is rectified. This version not only uses the correct encryption method but also provides additional enhancements and security features.

Version-Specific Vulnerability Insights

According to the OpenVPN report, the vulnerability’s impact varies across different versions of Easy-RSA. Below is a summary of the encryption methods used in key commands:

  • Easy-RSA 3.0.5 to 3.1.7: Utilizes des-ede3-cbc for build-ca, but switches to aes-256-cbc for set-pass.
  • Easy-RSA 3.2.0 and later: Correctly uses aes-256-cbc for both build-ca and set-pass commands, addressing the vulnerability entirely.

Testing has shown that OpenSSL 1.x, specifically versions 1.1.0l and 1.1.1w, do not exhibit this issue, reinforcing the need for users on OpenSSL 3 to upgrade not only their Easy-RSA versions but also to reassess their dependency on OpenSSL versions.

The identification of CVE-2024-13454 highlights the importance of maintaining updated security practices and tools within the cybersecurity landscape.

Administrators and security teams should prioritize the recommended remediation steps to safeguard their infrastructures against potential exploits arising from this critical vulnerability.

Active engagement in vulnerability management will ensure a reliable and secure environment for digital communications.

Integrating Application Security into Your CI/CD Workflows Using Jenkins & Jira -> Free Webinar

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Microsoft Rolls Out New Administrator Protection Feature Under Windows Security

Microsoft has announced the release of Windows 11 Insider Preview Build 27774 to the Canary…

7 minutes ago

New Contacto Ransomware Evades AV Detection & Uses Windows Console for Execution

In early January 2025, a new ransomware strain identified as Contacto surfaced, showcasing advanced techniques…

1 hour ago

OWASP Smart Contract Top 10 2025 Released – What’s new!

The Open Web Application Security Project (OWASP) has released its updated Smart Contract Top 10 for 2025,…

2 hours ago

Ransomware Attack Forces UK Brit High School to Close Doors For Students

A ransomware attack has compelled UK Brit, a prominent British high school, to close its…

3 hours ago

PoC Exploit Released for TP-Link Code Execution Vulnerability (CVE-2024-54887)

A serious code execution vulnerability in the TP-Link TL-WR940N router, identified as CVE-2024-54887, has become…

4 hours ago

Vim Command Line Text Editor Segmentation Vulnerability Patched

Christian Brabandt, a prominent figure in the Vim community, announced the patching of a medium-severity…

5 hours ago