Skip to main content
Network Thinking Solutions Logo

CVE-2018-0052

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.

All CVEs
CVE-2018-0052Published 10/10/2018

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.

Vendor advisory
CVSS8.1High

Overview

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.

Published
10/10/2018
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
junos
juniper
12.1x46

Verify advisory

Source
junos
juniper
12.1x46

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
12.3

Verify advisory

Source
junos
juniper
12.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
12.3x48

Verify advisory

Source
junos
juniper
12.3x48

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
14.1x53

Verify advisory

Source
junos
juniper
14.1x53

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
15.1

Verify advisory

Source
junos
juniper
15.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
15.1x49

Verify advisory

Source
junos
juniper
15.1x49

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
15.1x53

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
16.1

Verify advisory

Source
junos
juniper
16.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
16.2

Verify advisory

Source
junos
juniper
16.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
17.1

Verify advisory

Source
junos
juniper
17.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
17.2

Verify advisory

Source
junos
juniper
17.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
17.2x75

Verify advisory

Source
junos
juniper
17.2x75

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
17.3

Verify advisory

Source
junos
juniper
17.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
17.4

Verify advisory

Source
junos
juniper
17.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
18.2x75

Verify advisory

Source
Junos OS
Juniper Networks
≥ 12.1X46, < 12.1X46-D77

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 12.3X48, < 12.3X48-D75

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 15.1X49, < 15.1X49-D131, 15.1X49-D140

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 12.3, < 12.3R12-S10

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 15.1, < 15.1R4-S9, 15.1R6-S6, 15.1R7

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 16.1, < 16.1R3-S9, 16.1R4-S9, 16.1R5-S4, 16.1R6-S4, 16.1R7

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 16.2, < 16.2R2-S5

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 17.1, < 17.1R1-S7, 17.1R2-S7, 17.1R3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 17.2, < 17.2R1-S6, 17.2R2-S4, 17.2R3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 17.2X75, < 17.2X75-D110, 17.2X75-D91

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 17.3, < 17.3R1-S4, 17.3R2-S2, 17.3R3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 17.4, < 17.4R1-S3, 17.4R2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 18.2X75, < 18.2X75-D5

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 14.1X53, < 14.1X53-D47

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 15.1X53, < 15.1X53-D59

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 15.1X53, < 15.1X53-D67

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 15.1X53, < 15.1X53-D233

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Junos OS
Juniper Networks
≥ 15.1X53, < 15.1X53-D471, 15.1X53-D490

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.