CVE-2018-0052
Last modified
CVE-2018-0052 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 4.85% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Juniper | Junos | 12.1x46 |
| Juniper | Junos | 12.3 |
| Juniper | Junos | 12.3x48 |
| Juniper | Junos | 14.1x53 |
| Juniper | Junos | 15.1 |
| Juniper | Junos | 15.1x49 |
| Juniper | Junos | 15.1x53 |
| Juniper | Junos | 16.1 |
| Juniper | Junos | 16.2 |
| Juniper | Junos | 17.1 |
| Juniper | Junos | 17.2 |
| Juniper | Junos | 17.2x75 |
| Juniper | Junos | 17.3 |
| Juniper | Junos | 17.4 |
| Juniper | Junos | 18.2x75 |
References
- http://www.securitytracker.com/id/1041853Third Party Advisory, VDB Entry
- https://kb.juniper.net/JSA10886Vendor Advisory
- http://www.securitytracker.com/id/1041853Third Party Advisory, VDB Entry
- https://kb.juniper.net/JSA10886Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-0052?
How severe is CVE-2018-0052?
How do I fix CVE-2018-0052?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-0046A reflected cross-site scripting vulnerability in OpenNMS in…8.8
- CVE-2018-0047A persistent cross-site scripting vulnerability in the UI fr…8
- CVE-2018-0048A vulnerability in the Routing Protocols Daemon (RPD) with J…7.5
- CVE-2018-0049A NULL Pointer Dereference vulnerability in Juniper Networks…7.5
- CVE-2018-0050An error handling vulnerability in Routing Protocols Daemon …7.5
- CVE-2018-0051A Denial of Service vulnerability in the SIP application lay…7.5
- CVE-2018-0053An authentication bypass vulnerability in the initial boot s…6.8
- CVE-2018-0054On QFX5000 Series and EX4600 switches, a high rate of Ethern…6.5
- CVE-2018-0055Receipt of a specially crafted DHCPv6 message destined to a …6.5
- CVE-2018-0056If a duplicate MAC address is learned by two different inter…6.5
- CVE-2018-0057On MX Series and M120/M320 platforms configured in a Broadba…6.1
- CVE-2018-0058Receipt of a specially crafted IPv6 exception packet may be …5.9
Are you affected by CVE-2018-0052?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
