nday
CVE-2018-0008

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

Juniper Networks / Junos OS

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typeauthentication bypass accessphysicalno user interaction productJunos OS product typerouter / switch
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

authentication bypass
CWE-287, stated by NVD's analysts
physical
AV:P in CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA juniper
no user interaction
UI:N in CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA juniper
Junos OS
affected products in the CVE record: Juniper Networks · Junos OSCPE names NVD's analysts give as vulnerable: o:juniper:junos
router / switch
affected products in the CVE record: Juniper Networks · Junos OSCPE names NVD's analysts give as vulnerable: o:juniper:junosthe product type of Junos OS in nday's product registry
stage
DIS
disclosed
cvss
6.2 MEDIUM v3.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2018-01-10T22:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:P
Physical: needs physical access to the device
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:H
High: administrative or similar privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CVSS 3.0 vector from the CVE record, scored by the CNA juniper.

Event log

+DISdisclosed

CVE record published by juniper. CVSS 6.2, medium.

src cvelist · nday , bulk import · raw
{
  "id": 177511,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2018-0008",
  "occurred_at": "2018-01-10T22:00:00Z",
  "observed_at": "2026-11-13T05:36:39.80609Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.0",
      "base_score": 6.2,
      "base_severity": "MEDIUM"
    },
    "state": "PUBLISHED",
    "date_published": "2018-01-10T22:00:00.000Z",
    "assigner_short_name": "juniper"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.