Cyber Security News

Critical OpenSSL Vulnerability Let Attackers Launch Man-in-the-Middle Attacks

A high-severity security vulnerability (CVE-2024-12797) has been identified in OpenSSL, one of the most widely used cryptographic libraries.

The flaw allows attackers to exploit a loophole in TLS and DTLS handshakes, potentially enabling man-in-the-middle (MITM) attacks on vulnerable connections.

OpenSSL has issued a security advisory urging affected users to upgrade immediately to mitigate the risk.

Flawed Server Authentication (CVE-2024-12797)

The issue lies in the handling of RFC7250 Raw Public Keys (RPKs), an optional mechanism in TLS/DTLS connections.

When a client enables RPK use for authenticating a server, it might fail to terminate the handshake if the server’s public key does not match the expected values—despite SSL_VERIFY_PEER verification mode being set.

This omission leaves the connection open to interception by a malicious actor.

RPKs are disabled by default across OpenSSL implementations, but when explicitly enabled in both the client and server configurations, this vulnerability could allow attackers to impersonate the server.

By exploiting this flaw, they could intercept, read, or modify communication between a client and server.

Impact and Affected Versions

The vulnerability affects OpenSSL versions 3.4, 3.3, and 3.2. Earlier versions (3.1, 3.0, 1.1.1, and 1.0.2) and OpenSSL’s FIPS modules are unaffected.

Clients relying solely on the handshake process to validate server authentication are at the most risk. However, those implementing additional checks using SSL_get_verify_result() remain unaffected.

OpenSSL has released patches to address the issue. Users are advised to upgrade their OpenSSL libraries to the following versions immediately:

  • OpenSSL 3.4 users: Upgrade to OpenSSL 3.4.1
  • OpenSSL 3.3 users: Upgrade to OpenSSL 3.3.2
  • OpenSSL 3.2 users: Upgrade to OpenSSL 3.2.4

Viktor Dukhovni implemented the fix following a report from Apple Inc. in December 2024.

System administrators and developers using OpenSSL in their environments should review their implementations to determine if RPKs are explicitly enabled. If so, upgrading to the patched versions is critical to mitigate potential security risks.

For those not actively using RPKs, the vulnerability poses no immediate threat, as RPKs are disabled by default. OpenSSL advises users to regularly monitor their security advisory page for any additional updates or technical details.

This latest vulnerability underscores the importance of proactive patching and rigorous security practices, particularly for foundational libraries like OpenSSL.

Organizations relying on OpenSSL are urged to act promptly to secure their systems and prevent malicious exploitation of this flaw.

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

Divya

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

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago