8.1
HIGH
CVE-2018-0052
Juniper Networks Junos RSH Unauthorized Root Access Vulnerability
Description

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.

INFO

Published Date :

Oct. 10, 2018, 6:29 p.m.

Last Modified :

Oct. 9, 2019, 11:31 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.2
Affected Products

The following products are affected by CVE-2018-0052 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Juniper junos
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-0052.

URL Resource
http://www.securitytracker.com/id/1041853 Third Party Advisory VDB Entry
https://kb.juniper.net/JSA10886 Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-0052 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-0052 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CVSS V3 Juniper Networks, Inc. AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Initial Analysis by [email protected]

    Jan. 22, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://kb.juniper.net/JSA10886 No Types Assigned https://kb.juniper.net/JSA10886 Vendor Advisory
    Changed Reference Type http://www.securitytracker.com/id/1041853 No Types Assigned http://www.securitytracker.com/id/1041853 Third Party Advisory, VDB Entry
    Added CWE CWE-287
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:12.1x46:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d10:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d15:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d20:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d25:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d30:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d35:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d40:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d45:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d50:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d55:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d60:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.1x46:d65:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:12.3:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r11:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r6:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r7:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r8:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3:r9:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:12.3x48:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d10:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d15:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d20:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d25:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d30:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d35:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d40:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d45:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d50:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d55:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d60:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d65:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:12.3x48:d70:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:14.1x53:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d10:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d121:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d15:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d16:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d25:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d26:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d27:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d30:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d35:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d40:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d42:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d43:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d44:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d45:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:14.1x53:d46:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:15.1:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1:r6-s6:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1:r7:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:15.1x49:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d10:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d100:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d110:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d120:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d140:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d20:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d30:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d35:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d40:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d45:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d50:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d55:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d60:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d65:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d70:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d75:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d80:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x49:d90:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:juniper:junos:15.1x53:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d50:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d51:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d52:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d55:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d57:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d58:*:*:*:*:*:* OR cpe:2.3:h:juniper:ex2300:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex3400:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:juniper:junos:15.1x53:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d10:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d20:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d21:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d30:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d32:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d33:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d34:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d50:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d60:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d61:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d62:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d63:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d64:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d65:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d66:*:*:*:*:*:* OR cpe:2.3:h:juniper:qfx10000:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:juniper:junos:15.1x53:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d210:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d230:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d231:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d232:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d30:*:*:*:*:*:* OR cpe:2.3:h:juniper:qfx5110:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx5200:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:juniper:junos:15.1x53:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d40:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d45:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:15.1x53:d490:*:*:*:*:*:* OR cpe:2.3:h:juniper:nfx150:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:nfx250:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:16.1:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:16.1:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:16.1:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:16.1:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:16.1:r4-s9:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:16.1:r5-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:16.1:r6-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:16.1:r7:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:16.2:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:16.2:r1:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:17.1:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.1:r2-s7:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.1:r3:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:17.2:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.2:r2:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:17.2x75:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.2x75:d91:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:17.3:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.3:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.3:r3:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:17.4:*:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.4:r2:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:18.2x75:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 11, 2018

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1041853 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-0052 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.32 }} -0.14%

score

0.71084

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability