Juniper Junos Key Generation Weakness (PSN-2012-04-549)

Medium Nessus Plugin ID 58878


The remote device generates weak cryptographic keys.


According to its self-reported version and model number, the remote Junos device generates weak cryptographic keys for SSL and SSH. Due to a lack of entropy in the initial certificate creation, duplicate keys may be created on multiple devices. An attacker with knowledge of these keys would allow a man in the middle attacker to decrypt SSL or SSH traffic.

Note that self-signed SSL certificates are affected, while SSL certificates signed by a trusted certificate authority are not.


Apply the relevant Junos upgrade referenced in Juniper advisory PSN-2012-04-549. After upgrading, all self-signed SSL certificates and SSH public/private keys need to be regenerated.

See Also

Plugin Details

Severity: Medium

ID: 58878

File Name: juniper_psn-2012-04-549.nasl

Version: $Revision: 1.7 $

Type: combined

Published: 2012/04/25

Modified: 2015/08/28

Dependencies: 55932

Risk Information

Risk Factor: Medium


Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:N

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/o:juniper:junos

Required KB Items: Host/Juniper/model, Host/Juniper/JUNOS/Version

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/04/11

Vulnerability Publication Date: 2012/04/11

Reference Information

OSVDB: 82822