# CVE-2018-0024: Junos OS: A privilege escalation vulnerability exists where authenticated users with shell access can become root

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.0, CNA) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.37% (percentile 23, 2026-11-26)
- **CWE:** CWE-269
- **Published:** 2018-07-11T18:00:00.000Z
- **Modified:** 2026-06-17T01:29:25.130Z

## Who should check

- Anyone running Juniper Networks Junos OS \>= 12.1X46, \< 12.1X46-D45; \>= 12.3X48, \< 12.3X48-D20; \>= 15.1X49, \< 15.1X49-D20
- Anyone running Juniper Networks Junos OS \>= 12.3, \< 12.3R11
- Anyone running Juniper Networks Junos OS \>= 14.1X53, \< 14.1X53-D30

## Description

An Improper Privilege Management vulnerability in a shell session of Juniper Networks Junos OS allows an authenticated unprivileged attacker to gain full control of the system. Affected releases are Juniper Networks Junos OS: 12.1X46 versions prior to 12.1X46-D45 on SRX Series; 12.3X48 versions prior to 12.3X48-D20 on SRX Series; 12.3 versions prior to 12.3R11 on EX Series; 14.1X53 versions prior to 14.1X53-D30 on EX2200/VC, EX3200, EX3300/VC, EX4200, EX4300, EX4550/VC, EX4600, EX6200, EX8200/VC (XRE), QFX3500, QFX3600, QFX5100;; 15.1X49 versions prior to 15.1X49-D20 on SRX Series.

## Affected and fixed versions

- Juniper Networks Junos OS: \>= 12.1X46, \< 12.1X46-D45; \>= 12.3X48, \< 12.3X48-D20; \>= 15.1X49, \< 15.1X49-D20 (cvelist)
- Juniper Networks Junos OS: \>= 12.3, \< 12.3R11 (cvelist)
- Juniper Networks Junos OS: \>= 14.1X53, \< 14.1X53-D30 (cvelist)

## Mitigation

- Upgrade Junos OS to 15.1X49-D20 or later.
- Upgrade Junos OS to 12.3R11 or later.
- Upgrade Junos OS to 14.1X53-D30 or later.
- Vendor workaround: Disallow unprivileged authenticated users access to Junos shell.
- Limit shell access to only trusted administrators.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-0024. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-0024.md
Affected: Juniper Networks Junos OS >= 12.1X46, < 12.1X46-D45; >= 12.3X48, < 12.3X48-D20; >= 15.1X49, < 15.1X49-D20; Juniper Networks Junos OS >= 12.3, < 12.3R11; Juniper Networks Junos OS >= 14.1X53, < 14.1X53-D30
Fixed in: Juniper Networks Junos OS 12.1X46-D45, Juniper Networks Junos OS 12.3X48-D20, Juniper Networks Junos OS 15.1X49-D20, Juniper Networks Junos OS 12.3R11, Juniper Networks Junos OS 14.1X53-D30

Steps:
1. Search this machine and project for Juniper Networks Junos OS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-0024 being exploited?

There is no confirmed exploitation: CVE-2018-0024 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-0024?

High: CVSS 7.8 (v3.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2018-0024?

Juniper Networks Junos OS \>= 12.1X46, \< 12.1X46-D45; \>= 12.3X48, \< 12.3X48-D20; \>= 15.1X49, \< 15.1X49-D20; Juniper Networks Junos OS \>= 12.3, \< 12.3R11; Juniper Networks Junos OS \>= 14.1X53, \< 14.1X53-D30.

### Is there a fix for CVE-2018-0024?

Yes. Fixed in Juniper Networks Junos OS 12.1X46-D45, Juniper Networks Junos OS 12.3X48-D20, Juniper Networks Junos OS 15.1X49-D20, Juniper Networks Junos OS 12.3R11, Juniper Networks Junos OS 14.1X53-D30. Upgrade Junos OS to 15.1X49-D20 or later. Upgrade Junos OS to 12.3R11 or later. Upgrade Junos OS to 14.1X53-D30 or later. Vendor workaround: Disallow unprivileged authenticated users access to Junos shell. Limit shell access to only trusted administrators.

### How do I check if I'm affected by CVE-2018-0024?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://kb.juniper.net/JSA10857>
- other: <http://www.securitytracker.com/id/1041314>
- other: <http://www.securityfocus.com/bid/104718>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-0024>

HTML: <https://flawdb.com/CVE-2018-0024> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-0024>
