CVE-2018-0008

Junos OS: commit script may allow unauthenticated root login upon reboot

MEDIUM
6.2
CVSS Score
Published: January 10, 2018 at 10:00 PM UTC
Updated: June 17, 2026 at 01:29 AM UTC
40 products affected across 2 vendorsJunosSRX5600SRX5800

Using Junos OS by Juniper Networks?

Get instant alerts when new vulnerabilities affect Junos OS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.2
Exploit prediction
EPSS 0.5%

Description

An unauthenticated root login may allow upon reboot when a commit script is used. A commit script allows a device administrator to execute certain instructions during commit, which is configured under the [system scripts commit] stanza. Certain commit scripts that work without a problem during normal commit may cause unexpected behavior upon reboot which can leave the system in a state where root CLI login is allowed without a password due to the system reverting to a "safe mode" authentication state. Lastly, only logging in physically to the console port as root, with no password, will work. Affected releases are Juniper Networks Junos OS: 12.1X46 versions prior to 12.1X46-D71 on SRX; 12.3X48 versions prior to 12.3X48-D55 on SRX; 14.1 versions prior to 14.1R9; 14.1X53 versions prior to 14.1X53-D40 on QFX, EX; 14.2 versions prior to 14.2R7-S9, 14.2R8; 15.1 versions prior to 15.1F5-S7, 15.1F6-S8, 15.1R5-S6, 15.1R6; 15.1X49 versions prior to 15.1X49-D110 on SRX; 15.1X53 versions prior to 15.1X53-D232 on QFX5200/5110; 15.1X53 versions prior to 15.1X53-D49, 15.1X53-D470 on NFX; 15.1X53 versions prior to 15.1X53-D65 on QFX10K; 16.1 versions prior to 16.1R2. No other Juniper Networks products or platforms are affected by this issue.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below 12.1X46-D71, so it looks safe — our inference, not a vendor statement
Affected range stops below 12.3X48-D55, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1R9, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1X53-D40, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.2R7-S9, 14.2R8, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.1F5-S7, 15.1F6-S8, 15.1R5-S6, 15.1R6, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.1X49-D110, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.1X53-D232, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.1X53-D49, 15.1X53-D470, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.1X53-D65, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.1R2, so it looks safe — our inference, not a vendor statement
juniper-ex2200 (environment) · juniper-ex2300 (environment) · juniper-ex3300 (environment) · juniper-ex3400 (environment) · juniper-ex4200 (environment) · juniper-ex4300 (environment) · juniper-ex4500 (environment) · juniper-ex4550 (environment) · juniper-ex4600 (environment) · juniper-ex6200 (environment) · juniper-ex8200 (environment) · juniper-ex9200 (environment) · juniper-nfx (environment) · juniper-qfx10000 (environment) · juniper-qfx3500 (environment) · juniper-qfx3600 (environment) · juniper-qfx5100 (environment) · juniper-qfx5110 (environment) · juniper-qfx5200 (environment) · juniper-srx100 (environment) · juniper-srx110 (environment) · juniper-srx1400 (environment) · juniper-srx1500 (environment) · juniper-srx210 (environment) · juniper-srx220 (environment) · juniper-srx240 (environment) · juniper-srx300 (environment) · juniper-srx320 (environment) · juniper-srx340 (environment) · juniper-srx3400 (environment) · juniper-srx345 (environment) · juniper-srx3600 (environment) · juniper-srx4100 (environment) · juniper-srx4200 (environment) · juniper-srx5400 (environment) · juniper-srx550 (environment) · juniper-srx5600 (environment) · juniper-srx5800 (environment) · juniper-srx650 (environment)
All versions
All versions
All versions
All versions
All versions
All versions
All versions
All versions
All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

CVSS

6.2MEDIUMjuniper
Attack Vector
PHYSICAL
Complexity
LOW
Privileges
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-287

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card