CVE-2014-1491: Weak Encryption

Published Feb 4, 2014
·
Updated

1. Create a TLS server supporting only the DHE key exchange. 2. During any handshake, send the parameters <p, g, g^q> where p=2q+1 is a prime such that q is also prime and g is not a quadratic residue mod p 3. NSS accepts this value and proceeds with the handshake. The PMS computed by NSS is g^(qKc)

Actual results:

NSS accepts to proceed with the exchange. If g is not a quadratic residue mod p, then g^q = p-1 which is not rejected by NSS as it accepts any public value in [2, p-1] (this is allowed by rfc2631). Then, the computed PMS g^(qKc) is 1 if Kc is even (because g^(2q)=g^(p-1)=1 [mod p]) and p-1 if Kc is odd (because g^q=p-1 [mod p]). If the server chose a Ks with the same parity, the PMS will be the same on the client and server but the communication is not safe because an attacker can derive it from the parameters sent over the network.

Acknowledgements:

Red Hat would like to thank the Mozilla project for reporting this issue. Upstream acknowledges Antoine Delignat-Lavaud and Karthikeyan Bhargavan as the original reporters.

Other sources

Mozilla Network Security Services (NSS) before 3.15.4, as used in Mozilla Firefox before 27.0, Firefox ESR 24.x before 24.3, Thunderbird before 24.3, SeaMonkey before 2.24, and other products, does not properly restrict public values in Diffie-Hellman key exchanges, which makes it easier for remote attackers to bypass cryptographic protection mechanisms in ticket handling by leveraging use of a certain value.

— MITRE

Affected Software

26 affected componentsFixes available
Mozilla Firefox<27.0
Mozilla Firefox ESR<24.3
Mozilla Network Security Services<3.15.4
Mozilla SeaMonkey<2.24
Mozilla Thunderbird<24.3.0
Oracle Enterprise Manager Ops Center<12.1.4
Oracle Enterprise Manager Ops Center=12.2.0
Oracle Enterprise Manager Ops Center=12.2.1
Oracle Enterprise Manager Ops Center=12.3.0
Oracle VM Server=3.2
Fedoraproject Fedora=19
Fedoraproject Fedora=20
openSUSE openSUSE=11.4
openSUSE openSUSE=12.3
openSUSE openSUSE=13.1
SUSE Linux Enterprise Desktop=11-sp3
SUSE Linux Enterprise Server=11-sp3
SUSE Linux Enterprise Server Vmware=11-sp3
SUSE Linux Enterprise Software Development Kit=11-sp3
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
Canonical Ubuntu Linux=13.10
Mozilla Firefox<24.3
redhat/nss<3.15.4
3.15.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/nss to a version that resolves this vulnerability.

    Fixed in 3.15.4
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.15.4

Event History

Feb 4, 2014
Data Sourced
via Red Hat·02:26 AM
DescriptionSeverityAffected Software
Feb 6, 2014
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Data Sourced
via NVD·05:44 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2014-1491?

CVE-2014-1491 is considered to have a medium severity due to potential security risks in the Diffie-Hellman key exchange.

2

How do I fix CVE-2014-1491?

To fix CVE-2014-1491, update affected software to versions 3.15.4 or later for NSS and similar version updates for other vulnerable applications.

3

What software is affected by CVE-2014-1491?

CVE-2014-1491 affects Mozilla Firefox, Firefox ESR, Thunderbird, SeaMonkey, and other products using vulnerable versions of NSS.

4

What type of vulnerability is CVE-2014-1491?

CVE-2014-1491 is a cryptographic vulnerability related to improper restriction of public values in Diffie-Hellman key exchanges.

5

When was CVE-2014-1491 disclosed?

CVE-2014-1491 was disclosed in early 2014, impacting several Mozilla products and Oracle software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203