CVE-2018-0008: Juniper Networks Junos OS - Authentication Bypass
- Cve: CVE-2018-0008
- Name: Juniper Networks Junos OS - Authentication Bypass
- 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.
- Impact: Attackers with physical access can gain root access without a password after reboot, risking full system compromise.
- Remediation: Update to the latest Junos OS versions beyond the affected releases listed.
- Vulnerability type: broken_authentication
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.2
- Cvss vector: CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00452
- Epss percentile: 0.40029
- Assignee: [email protected]
- Published at: 2018-01-10T22:29:01Z
- Age in days: 3240
- Modified at: 2026-06-17T01:29:22Z
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-0008
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-287 | Improper Authentication |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://kb.juniper.net/JSA10835 | Vendor Advisory |
| http://www.securitytracker.com/id/1040186 | Third Party Advisory, VDB Entry |
| https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| juniper:junos | = 15.1x53 d470, = 15.1x53 d230, = 15.1x53 d210, = 15.1x49 d100, = 15.1x49 d90, = 15.1x49 d80, = 15.1x49 d75, = 15.1x49 d70, = 15.1x53 d70, = 12.1x46 d65, = 15.1x49 d65, = 15.1x53 d64, = 15.1x53 d63, = 15.1x53 d62, = 15.1x53 d61, = 12.1x46 d60, = 15.1x49 d60, = 15.1x53 d60, = 15.1x53 d57, = 12.1x46 d55, = 15.1x49 d55, = 15.1x53 d55, = 14.1x53, = 14.1x53 d10, = 14.1x53 d15, = 14.1x53 d16, = 14.1x53 d25, = 14.1x53 d26, = 14.1x53 d27, = 14.1x53 d30, = 14.1x53 d35, = 15.1x53, = 15.1x53 d20, = 15.1x53 d21, = 15.1x53 d25, = 15.1x53 d30, = 15.1x53 d32, = 15.1x53 d33, = 15.1x53 d34, = 15.1x53 d50, = 15.1x53 d51, = 15.1x53 d52, = 12.1x46 d50, = 12.3x48 d50, = 15.1x49 d50, = 15.1x49, = 15.1x49 d10, = 15.1x49 d20, = 15.1x49 d30, = 15.1x49 d35, = 15.1x49 d40, = 15.1x49 d45, = 12.3x48, = 12.3x48 d10, = 12.3x48 d15, = 12.3x48 d20, = 12.3x48 d25, = 12.3x48 d30, = 12.3x48 d35, = 12.3x48 d40, = 12.3x48 d45, = 12.1x46, = 12.1x46 d10, = 12.1x46 d15, = 12.1x46 d20, = 12.1x46 d25, = 12.1x46 d30, = 12.1x46 d35, = 12.1x46 d40, = 12.1x46 d45, = 16.1 r1, = 15.1, = 15.1 a1, = 15.1 f1, = 15.1 f2, = 15.1 f2-s1, = 15.1 f2-s2, = 15.1 f2-s3, = 15.1 f2-s4, = 15.1 f3, = 15.1 f4, = 15.1 f5, = 15.1 f6-s8, = 15.1 r5-s6, = 15.1 r6, = 14.2, = 14.2 r1, = 14.2 r2, = 14.2 r3, = 14.2 r4, = 14.2 r5, = 14.2 r6, = 14.2 r7, = 14.2 r8, = 14.1, = 14.1 r1, = 14.1 r2, = 14.1 r3, = 14.1 r4, = 14.1 r5, = 14.1 r6, = 14.1 r7 | no | nvd | /v1/products/juniper/junos |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 23086
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports