Junos OS: Unauthenticated remote root access possible when RSH service is enabled
Published Oct 10, 2018
8.1
HIGHCVSS 3.0
EPSS 4.85%
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.
Affected products
-
- Version 12.1X46StatusaffectedConstraints<12.1X46-D77
- Version 12.3StatusaffectedConstraints<12.3R12-S10
- Version 12.3X48StatusaffectedConstraints<12.3X48-D75
- Version 14.1X53StatusaffectedConstraints<14.1X53-D47
- Version 15.1StatusaffectedConstraints<15.1R4-S9, 15.1R6-S6, 15.1R7
- Version 15.1X49StatusaffectedConstraints<15.1X49-D131, 15.1X49-D140
- Version 15.1X53StatusaffectedConstraints<15.1X53-D233
- Version 15.1X53StatusaffectedConstraints<15.1X53-D471, 15.1X53-D490
- Version 15.1X53StatusaffectedConstraints<15.1X53-D59
- Version 15.1X53StatusaffectedConstraints<15.1X53-D67
- Version 16.1StatusaffectedConstraints<16.1R3-S9, 16.1R4-S9, 16.1R5-S4, 16.1R6-S4, 16.1R7
- Version 16.2StatusaffectedConstraints<16.2R2-S5
- Version 17.1StatusaffectedConstraints<17.1R1-S7, 17.1R2-S7, 17.1R3
- Version 17.2StatusaffectedConstraints<17.2R1-S6, 17.2R2-S4, 17.2R3
- Version 17.2X75StatusaffectedConstraints<17.2X75-D110, 17.2X75-D91
- Version 17.3StatusaffectedConstraints<17.3R1-S4, 17.3R2-S2, 17.3R3
- Version 17.4StatusaffectedConstraints<17.4R1-S3, 17.4R2
- Version 18.2X75StatusaffectedConstraints<18.2X75-D5
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Juniper Networks | Junos OS | n/a |
|
Configuration 1
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
- 12.1x46
Configuration 2
Configuration 3
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
- 12.3x48
Configuration 4
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
- 14.1x53
Configuration 5
Configuration 6
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
- 15.1x49
Configuration 7
Configuration 8
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
- 15.1x53
Configuration 9
Configuration 10
Configuration 11
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Vendor solution
This CLI option has been removed from the fixed Junos releases.
The following software releases have been updated to resolve this specific issue: 12.1X46-D77, 12.3R12-S10, 12.3X48-D75, 14.1X53-D47, 15.1R4-S9, 15.1R6-S6, 15.1R7, 15.1X49-D131, 15.1X49-D140, 15.1X53-D233, 15.1X53-D471, 15.1X53-D490, 15.1X53-D59, 15.1X53-D67, 16.1R3-S9, 16.1R4-S9, 16.1R5-S4, 16.1R6-S4, 16.1R7, 16.2R2-S5, 17.1R1-S7, 17.1R2-S7, 17.1R3, 17.2R1-S6, 17.2R2-S4, 17.2R3, 17.2X75-D110, 17.2X75-D91, 17.3R1-S4, 17.3R2-S2, 17.3R3, 17.4R1-S3, 17.4R2, 18.1R1, 18.2R1, 18.2X75-D5, and all subsequent releases.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (CVE.org) ▾
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 4.85% (0.04850) | 91.75th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.85% (0.04850) | 90.86th | v5 (v2026.06.15) |
| Mar 30, 2025 | 8.91% (0.08911) | 91.76th | v4 (v2025.03.14) |
| Mar 29, 2025 | 14.84% (0.14838) | 90.90th | v4 (v2025.03.14) |
| Mar 17, 2025 | 8.43% (0.08428) | 91.70th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.46% (0.00461) | 75.65th | v3 (v2023.03.01) |
| May 29, 2024 | 0.46% (0.00461) | 75.38th | v3 (v2023.03.01) |
| Mar 2, 2024 | 0.65% (0.00654) | 78.92th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.80% (0.00802) | 79.35th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.56% (0.00565) | 74.38th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.05% (0.01055) | 52.13th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.05% (0.01055) | 50.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.05% (0.01055) | 48.43th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.05% (0.01055) | 27.52th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.78% (0.00785) | 22.12th | v1 |
| Jan 6, 2022 | 0.78% (0.00785) | 21.52th | v1 |
| Sep 1, 2021 | 0.78% (0.00785) | 52.07th | v1 |
| Apr 14, 2021 | 0.78% (0.00785) | 0.00th | v1 |
References (2)
- http://www.securitytracker.com/id/1041853 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://kb.juniper.net/JSA10886 x_refsource_CONFIRMVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.securitytracker.com/id/1041853 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| https://kb.juniper.net/JSA10886 | x_refsource_CONFIRMVendor Advisory |
Change history (0)
No recorded changes yet.