{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-0008","id":"CVE-2018-0008","title":"Junos OS: commit script may allow unauthenticated root login upon reboot","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 ","descriptionLong":"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.","published":"2018-01-10T22:00:00.000Z","updated":"2026-06-17T01:29:22.523Z","reserved":"2017-11-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"juniper","metric":{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"juniper"},"metrics":[{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"juniper"},{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"juniper.net"},{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"NVD"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","rating":"high","source":"NVD"}],"rating":"medium","products":["Juniper Networks Junos OS"],"affectedProducts":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":null,"versions":[{"lessThan":"12.1X46-D71","status":"affected","version":"12.1X46","versionType":"custom"},{"lessThan":"12.3X48-D55","status":"affected","version":"12.3X48","versionType":"custom"},{"lessThan":"15.1X49-D110","status":"affected","version":"15.1X49","versionType":"custom"}],"platforms":["SRX"]},{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":null,"versions":[{"lessThan":"14.1R9","status":"affected","version":"14.1","versionType":"custom"},{"lessThan":"14.2R7-S9, 14.2R8","status":"affected","version":"14.2","versionType":"custom"},{"lessThan":"15.1F5-S7, 15.1F6-S8, 15.1R5-S6, 15.1R6","status":"affected","version":"15.1","versionType":"custom"},{"lessThan":"16.1R2","status":"affected","version":"16.1","versionType":"custom"}],"platforms":[]},{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":null,"versions":[{"lessThan":"14.1X53-D40","status":"affected","version":"14.1X53","versionType":"custom"}],"platforms":["QFX, EX"]},{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":null,"versions":[{"lessThan":"15.1X53-D232","status":"affected","version":"15.1X53","versionType":"custom"}],"platforms":["QFX5200/5110"]},{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":null,"versions":[{"lessThan":"15.1X53-D49, 15.1X53-D470","status":"affected","version":"15.1X53","versionType":"custom"}],"platforms":["NFX"]},{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":null,"versions":[{"lessThan":"15.1X53-D65","status":"affected","version":"15.1X53","versionType":"custom"}],"platforms":["QFX10K"]}],"packages":[],"cwes":["CWE-287"],"aliases":[],"references":[{"url":"http://www.securitytracker.com/id/1040186","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://kb.juniper.net/JSA10835","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00452,"epssPercentile":0.39906,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-0008","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-0008","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-0008","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-0008","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["juniper"],"critical":[],"attention":null}