1. CVE archive
  2. 2016
  3. CVE-2016-1280

CVE-2016-1280

6.5 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N 6.5 – Medium

Description

PKId in Juniper Junos OS before 12.1X44-D52, 12.1X46 before 12.1X46-D37, 12.1X47 before 12.1X47-D30, 12.3 before 12.3R12, 12.3X48 before 12.3X48-D20, 13.3 before 13.3R10, 14.1 before 14.1R8, 14.1X53 before 14.1X53-D40, 14.2 before 14.2R7, 15.1 before 15.1R4, 15.1X49 before 15.1X49-D20, 15.1X53 before 15.1X53-D60, and 16.1 before 16.1R1 allow remote attackers to bypass an intended certificate validation mechanism via a self-signed certificate with an Issuer name that matches a valid CA certificate enrolled in Junos.

Affected products

VendorProductVersionPlatform
juniper junos <= 12.1x44 d50 –
juniper junos 12.1x46 –
juniper junos 12.1x46 d10 –
juniper junos 12.1x46 d15 –
juniper junos 12.1x46 d20 –
juniper junos 12.1x46 d25 –
juniper junos 12.1x46 d30 –
juniper junos 12.1x46 d35 –
juniper junos 12.1x47 –
juniper junos 12.1x47 d10 –
juniper junos 12.1x47 d15 –
juniper junos 12.1x47 d20 –
juniper junos 12.1x47 d25 –
juniper junos 12.3 –
juniper junos 12.3 r1 –
juniper junos 12.3 r10 –
juniper junos 12.3 r11 –
juniper junos 12.3 r2 –
juniper junos 12.3 r3 –
juniper junos 12.3 r4 –
juniper junos 12.3 r5 –
juniper junos 12.3 r6 –
juniper junos 12.3 r7 –
juniper junos 12.3 r8 –
juniper junos 12.3 r9 –
juniper junos 12.3x48 d10 –
juniper junos 12.3x48 d15 –
juniper junos 12.3x50 –
juniper junos 13.3 –
juniper junos 13.3 r1 –
juniper junos 13.3 r2 –
juniper junos 13.3 r2-s2 –
juniper junos 13.3 r3 –
juniper junos 13.3 r4 –
juniper junos 13.3 r5 –
juniper junos 13.3 r6 –
juniper junos 13.3 r7 –
juniper junos 13.3 r8 –
juniper junos 13.3 r9 –
juniper junos 14.1 –
juniper junos 14.1 r1 –
juniper junos 14.1 r2 –
juniper junos 14.1 r3 –
juniper junos 14.1 r4 –
juniper junos 14.1 r5 –
juniper junos 14.1 r6 –
juniper junos 14.1 r7 –
juniper junos 14.1x53 d10 –
juniper junos 14.1x53 d15 –
juniper junos 14.1x53 d16 –
juniper junos 14.1x53 d25 –
juniper junos 14.1x53 d26 –
juniper junos 14.1x53 d27 –
juniper junos 14.1x53 d30 –
juniper junos 14.1x53 d35 –
juniper junos 14.2 –
juniper junos 14.2 r1 –
juniper junos 14.2 r2 –
juniper junos 14.2 r3 –
juniper junos 14.2 r4 –
juniper junos 14.2 r5 –
juniper junos 14.2 r6 –
juniper junos 15.1 r1 –
juniper junos 15.1 r2 –
juniper junos 15.1 r3 –
juniper junos 15.1x49 d10 –
juniper junos 15.1x53 d10 –
juniper junos 15.1x53 d20 –
juniper junos 15.1x53 d21 –
juniper junos 15.1x53 d30 –
juniper junos 15.1x53 d32 –
juniper junos 15.1x53 d33 –
juniper junos 15.1x53 d34 –
juniper junos 16.1 –
All 793 Juniper Junos vulnerabilities

Vulnerability type

CWE-297 Improper Validation of Certificate with Host Mismatch

The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity
The data read from the system vouched for by the certificate may not be from the expected system.
Authentication, Other Other
Trust afforded to the system in question - based on the malicious certificate - may allow for spoofing or redirection attacks.
Access Control, Other Gain Privileges or Assume Identity, Other
If the certificate's host-specific data is not properly checked - such as the Common Name (CN) in the Subject or the Subject Alternative Name (SAN) extension of an X.509 certificate - it may be possible for a redirection or spoofing attack to allow a malicious host with a valid certificate to provide data, impersonating a trusted host.

How to prevent it

Architecture and Design In order to ensure data integrity, the certificate must be valid, and it must pertain to the site that is being accessed.Fully check the hostname of the certificate and provide the user with adequate information about the nature of the problem and how to proceed.
Implementation If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.
Implementation Be careful of other weaknesses in the code that checks the hostname, since it is still possible to incorrectly check the hostname. For example, attackers could create a certificate with a name that begins with a trusted name followed by a NUL byte, which could cause some string-based comparisons to only examine the portion that contains the trusted name.

All 72 CWE-297 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org