CVE-2019-0035

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

6.8 medium EPSS 0.40%

Published 10 Apr 2019 Updated 16 Sep 2024 CNA: juniper

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.

Severity (CVSS)

6.8 medium CVSS 3.0 from juniper (CNA)
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
physical: the attacker has to touch the device
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.8% of all scored CVEs. Scores of 27 Nov 2026.

Weakness

Affected products

As the CNA lists them.

ProductVersions
Junos OS
affected from 15.1, before 15.1F6-S12, 15.1R7-S3
affected from 15.1X49, before 15.1X49-D160
affected from 15.1X53, before 15.1X53-D236, 15.1X53-D496, 15.1X53-D68
affected from 16.1, before 16.1R3-S10, 16.1R6-S6, 16.1R7-S3
affected from 16.1X65, before 16.1X65-D49
affected from 16.2, before 16.2R2-S8
affected from 17.1, before 17.1R2-S10, 17.1R3
affected from 17.2, before 17.2R1-S8, 17.2R3-S1
affected from 17.3, before 17.3R3-S3
affected from 17.4, before 17.4R1-S6, 17.4R2-S2
affected from 18.1, before 18.1R2-S4, 18.1R3-S3
affected from 18.2, before 18.2R2
affected from 18.2X75, before 18.2X75-D40
affected from 18.3, before 18.3R1-S2
unaffected from all, before 15.1

Is my server affected?

This CVE is in Junos OS of Juniper Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Source: the record CVE-2019-0035 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.