CVE-2009-2409: Medium severity OpenSSL OpenSSL vulnerability
In his upcoming Blackhat paper and presentation Dan Kaminsky highlights some more issues he has found relating to SSL hash collisions and related vulnerabilities.
The first issue is the discovery that a widely-trusted Certificate Authority root certificate is self-signed using a MD2 hash. If an attacker can mint a fake intermediate certificate which has the same MD2 hash then they could use this on a malicious site (or during a man-in-the-middle attack) to present a fake SSL certificate that would be accepted as if it was authentic.
It turns out that there are not many valid MD2 hash certificates around any more, and the main one that exists is at the trusted root level anyway (and there is actually no need for a crypto library to verify the self-signature on a trusted root). So most vendors have chosen to address this issue by disabling MD2 completely for certificate verification.
There is no immediate panic to address this issue as in order for it to be exploited the attacker would need to create the MD2 collision with the root certificate, something that is as of today a significant amount of effort (even with a highly distributed effort it's a bit outside what is feasible).
So for upstream OpenSSL we have disabled MD2 support completely. This was done in two stages; the first was a patch in June 2009 (http://marc.info/?l=openssl-cvs&m=124508133203041&w=2) that removed the check of a trusted root self-signed certificate. Then MD2 was disabled in July, (http://cvs.openssl.org/chngview?cn=18381). Although there have not yet been any upstream releases containing these fixes, future OpenSSL 0.9.8 (after 0.9.8k), and OpenSSL 1.0.0 releases will contain this fix.
The GnuTLS library has for some time meant to have disabled MD2 support, although due to a broken patch it wasn't actually disabled correctly until the start of 2009. So this is addressed in GnuTLS versions 2.6.4 and above, and 2.7.4 and above. (http://lists.gnu.org/archive/html/gnutls-devel/2008-12/msg00011.html)
The NSS library since version 3.12.3 (April 2009) has disabled MD2 by default (although legacy applications can turn it back on using an environment variable "NSSALLOWWEAKSIGNATUREALG" if they need to).
Mozilla Firefox since version 3.5 has used this NSS version and therefore MD2 is disabled (https://bugzilla.mozilla.org/showbug.cgi?id=471539#c58)
Other sources
The Network Security Services (NSS) library before 3.12.3, as used in Firefox; GnuTLS before 2.6.4 and 2.7.4; OpenSSL 0.9.8 through 0.9.8k; and other products support MD2 with X.509 certificates, which might allow remote attackers to spoof certificates by using MD2 design flaws to generate a hash collision in less than brute-force time. NOTE: the scope of this issue is currently limited because the amount of computation required is still large.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/nssto a version that resolves this vulnerability.Fixed in 2:3.42.1-1+deb10u5Fixed in 2:3.42.1-1+deb10u7Fixed in 2:3.61-1+deb11u3Fixed in 2:3.87.1-1Fixed in 2:3.94-1 - Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 1.1.1n-0+deb10u3Fixed in 1.1.1n-0+deb10u6Fixed in 1.1.1w-0+deb11u1Fixed in 1.1.1n-0+deb11u5Fixed in 3.0.11-1~deb12u1Fixed in 3.0.11-1~deb12u2Fixed in 3.0.11-1Fixed in 3.1.4-2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.6.4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.7.4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.12.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.0.0
Event History
Frequently Asked Questions
What is the severity of CVE-2009-2409?
CVE-2009-2409 is classified as a critical vulnerability due to its ability to allow remote attackers to spoof certificates.
How do I fix CVE-2009-2409?
To mitigate CVE-2009-2409, update the NSS library to version 3.12.3 or higher, OpenSSL to version 0.9.8k or higher, or use patched versions of affected software.
Which software is affected by CVE-2009-2409?
CVE-2009-2409 affects the NSS library, OpenSSL, and GnuTLS along with any applications that rely on these libraries.
What types of attacks are possible due to CVE-2009-2409?
CVE-2009-2409 allows attackers to spoof certificates, which can facilitate man-in-the-middle attacks and impersonation.
When was CVE-2009-2409 published?
CVE-2009-2409 was published on July 6, 2009.