CWE Code: 287
Vulnerability Type: privilege_escalation
CVSS Score: 9.3
CWE Name:  Improper Authentication
Summary: if rsh service is enabled on junos os and if the pam authentication is disabled, a remote unauthenticated attacker can obtain root access to the device. rsh service is disabled by default on junos. there is no documented cli command to enable this service. however, an undocumented cli command allows a privileged junos user to enable rsh service and disable pam, and hence expose the system to unauthenticated root access. when rsh is enabled, the device is listing to rsh connections on port 514. this issue is not exploitable on platforms where junos release is based on freebsd 10+. affected releases are juniper networks junos os: 12.1x46 versions prior to 12.1x46-d77 on srx series; 12.3 versions prior to 12.3r12-s10; 12.3x48 versions prior to 12.3x48-d75 on srx series; 14.1x53 versions prior to 14.1x53-d47 on qfx/ex series; 15.1 versions prior to 15.1r4-s9, 15.1r6-s6, 15.1r7; 15.1x49 versions prior to 15.1x49-d131, 15.1x49-d140 on srx series; 15.1x53 versions prior to 15.1x53-d59 on ex2300/ex3400 series; 15.1x53 versions prior to 15.1x53-d67 on qfx10k series; 15.1x53 versions prior to 15.1x53-d233 on qfx5200/qfx5110 series; 15.1x53 versions prior to 15.1x53-d471, 15.1x53-d490 on nfx series; 16.1 versions prior to 16.1r3-s9, 16.1r4-s9, 16.1r5-s4, 16.1r6-s4, 16.1r7; 16.2 versions prior to 16.2r2-s5; 17.1 versions prior to 17.1r1-s7, 17.1r2-s7, 17.1r3; 17.2 versions prior to 17.2r1-s6, 17.2r2-s4, 17.2r3; 17.2x75 versions prior to 17.2x75-d110, 17.2x75-d91; 17.3 versions prior to 17.3r1-s4, 17.3r2-s2, 17.3r3; 17.4 versions prior to 17.4r1-s3, 17.4r2; 18.2x75 versions prior to 18.2x75-d5.
Access Authentication: NONE
Access Complexity: MEDIUM
Access Vector: NETWORK
Impact (C/I/A): COMPLETE/COMPLETE/COMPLETE
Published Date: 2018-10-10
Last Modified Date: 2019-10-09