CVE-2019-0035

Junos OS: 'set system ports console insecure' allows root password recovery on OAM volumes

AllVuln state: AFFECTED

MEDIUM
CVSS
6.8
3.0
EPSS
0.40%
Percentile 36.40%
CISA KEV
Not listed
Published
April 10, 2019
Updated September 16, 2024

Description

When "set system ports console insecure" is enabled, root login is disallowed for Junos OS as expected. However, the root password can be changed using "set system root-authentication plain-text-password" on systems booted from an OAM (Operations, Administration, and Maintenance) volume, leading to a possible administrative bypass with physical access to the console. OAM volumes (e.g. flash drives) are typically instantiated as /dev/gpt/oam, or /oam for short. Password recovery, changing the root password from a console, should not have been allowed from an insecure console. Affected releases are Juniper Networks Junos OS: 15.1 versions prior to 15.1F6-S12, 15.1R7-S3; 15.1X49 versions prior to 15.1X49-D160; 15.1X53 versions prior to 15.1X53-D236, 15.1X53-D496, 15.1X53-D68; 16.1 versions prior to 16.1R3-S10, 16.1R6-S6, 16.1R7-S3; 16.1X65 versions prior to 16.1X65-D49; 16.2 versions prior to 16.2R2-S8; 17.1 versions prior to 17.1R2-S10, 17.1R3; 17.2 versions prior to 17.2R1-S8, 17.2R3-S1; 17.3 versions prior to 17.3R3-S3; 17.4 versions prior to 17.4R1-S6, 17.4R2-S2; 18.1 versions prior to 18.1R2-S4, 18.1R3-S3; 18.2 versions prior to 18.2R2; 18.2X75 versions prior to 18.2X75-D40; 18.3 versions prior to 18.3R1-S2. This issue does not affect Junos OS releases prior to 15.1.

Risk details

CVSS vector
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attack vector
P
attack complexity
L
privileges required
N
user interaction
N
scope
U
CWE
CWE-501

What should I do?

Review the vendor remediation for fixed or recommended release 15.1X49-D160.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

UNKNOWN · UNKNOWN
{"lessThan": "15.1F6-S12, 15.1R7-S3", "status": "affected", "version": "15.1", "versionType": "custom"}
AFFECTED · RANGE
15.1X49 → 15.1X49-D160
NOT_AFFECTED · EXACT
15.1X49-D160
UNKNOWN · UNKNOWN
{"lessThan": "15.1X53-D236, 15.1X53-D496, 15.1X53-D68", "status": "affected", "version": "15.1X53", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "16.1R3-S10, 16.1R6-S6, 16.1R7-S3", "status": "affected", "version": "16.1", "versionType": "custom"}
AFFECTED · RANGE
16.1X65 → 16.1X65-D49
NOT_AFFECTED · EXACT
16.1X65-D49
AFFECTED · RANGE
16.2R2-S8
NOT_AFFECTED · EXACT
16.2R2-S8
UNKNOWN · UNKNOWN
{"lessThan": "17.1R2-S10, 17.1R3", "status": "affected", "version": "17.1", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "17.2R1-S8, 17.2R3-S1", "status": "affected", "version": "17.2", "versionType": "custom"}
AFFECTED · RANGE
17.3R3-S3
NOT_AFFECTED · EXACT
17.3R3-S3
UNKNOWN · UNKNOWN
{"lessThan": "17.4R1-S6, 17.4R2-S2", "status": "affected", "version": "17.4", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "18.1R2-S4, 18.1R3-S3", "status": "affected", "version": "18.1", "versionType": "custom"}
AFFECTED · RANGE
18.2R2
NOT_AFFECTED · EXACT
18.2R2
AFFECTED · RANGE
18.2X75 → 18.2X75-D40
NOT_AFFECTED · EXACT
18.2X75-D40
AFFECTED · RANGE
18.3R1-S2
NOT_AFFECTED · EXACT
18.3R1-S2
UNKNOWN · UNKNOWN
{"lessThan": "15.1", "status": "unaffected", "version": "all", "versionType": "custom"}
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 15.1
First fixed: 15.1X49-D160
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 16.1
First fixed: 16.1X65-D49
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 16.2
First fixed: 16.2R2-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 17.3
First fixed: 17.3R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 18.2
First fixed: 18.2R2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 18.2
First fixed: 18.2X75-D40
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 18.3
First fixed: 18.3R1-S2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
15.1 → 15.1F6-S12, 15.1R7-S3
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
15.1X49 → 15.1X49-D160
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
15.1X53 → 15.1X53-D236, 15.1X53-D496, 15.1X53-D68
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
16.1 → 16.1R3-S10, 16.1R6-S6, 16.1R7-S3
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
16.1X65 → 16.1X65-D49
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
16.2 → 16.2R2-S8
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
17.1 → 17.1R2-S10, 17.1R3
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
17.2 → 17.2R1-S8, 17.2R3-S1
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
17.3 → 17.3R3-S3
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
17.4 → 17.4R1-S6, 17.4R2-S2
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
18.1 → 18.1R2-S4, 18.1R3-S3
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
18.2 → 18.2R2
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
18.2X75 → 18.2X75-D40
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
AFFECTED · RANGE
18.3 → 18.3R1-S2
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure
NOT_AFFECTED · RANGE
all → 15.1
Required configuration: Administrators can disable root login connections to the console, and if running a fixed release, restrict single-user mode password recovery via the following configuration command: user@host# set system ports console insecure

Remediation

UNKNOWN
Release train: 15.1X53
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 15.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 15.1X49
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 16.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 16.1X65
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 16.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.2X75
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.3
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.

CVE-2019-0035 – Junos OS Affected Versions & Fix | AllVuln