{
    "CVE_data_meta": {
        "ASSIGNER": "sirt@juniper.net",
        "DATE_PUBLIC": "2019-04-10T16:00:00.000Z",
        "ID": "CVE-2019-0035",
        "STATE": "PUBLIC",
        "TITLE": "Junos OS: 'set system ports console insecure' allows root password recovery on OAM volumes"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Junos OS",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "15.1",
                                            "version_value": "15.1F6-S12, 15.1R7-S3"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "15.1X49",
                                            "version_value": "15.1X49-D160"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "15.1X53",
                                            "version_value": "15.1X53-D236, 15.1X53-D496, 15.1X53-D68"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "16.1",
                                            "version_value": "16.1R3-S10, 16.1R6-S6, 16.1R7-S3"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "16.1X65",
                                            "version_value": "16.1X65-D49"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "16.2",
                                            "version_value": "16.2R2-S8"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "17.1",
                                            "version_value": "17.1R2-S10, 17.1R3"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "17.2",
                                            "version_value": "17.2R1-S8, 17.2R3-S1"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "17.3",
                                            "version_value": "17.3R3-S3"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "17.4",
                                            "version_value": "17.4R1-S6, 17.4R2-S2"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "18.1",
                                            "version_value": "18.1R2-S4, 18.1R3-S3"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "18.2",
                                            "version_value": "18.2R2"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "18.2X75",
                                            "version_value": "18.2X75-D40"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "18.3",
                                            "version_value": "18.3R1-S2"
                                        },
                                        {
                                            "version_affected": "!<",
                                            "version_name": "all",
                                            "version_value": "15.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Juniper Networks"
                }
            ]
        }
    },
    "configuration": [
        {
            "lang": "eng",
            "value": "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:\n\n  user@host# set system ports console insecure"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "exploit": [
        {
            "lang": "eng",
            "value": "Juniper SIRT is not aware of any malicious exploitation of this vulnerability."
        }
    ],
    "generator": {
        "engine": "Vulnogram 0.0.6"
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "PHYSICAL",
            "availabilityImpact": "HIGH",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-501 Trust Boundary Violation"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://kb.juniper.net/JSA10924",
                "refsource": "CONFIRM",
                "url": "https://kb.juniper.net/JSA10924"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "The following software releases have been updated to resolve this specific issue: Junos OS 15.1F6-S12, 15.1R7-S3, 15.1X49-D160, 15.1X53-D236, 15.1X53-D496, 15.1X53-D68, 16.1R3-S10, 16.1R6-S6, 16.1R7-S3, 16.1X65-D49, 16.2R2-S8, 17.1R2-S10, 17.1R3, 17.2R1-S8, 17.2R3-S1, 17.3R3-S3, 17.4R1-S6, 17.4R2-S2, 18.1R2-S4, 18.1R3-S3, 18.2R2, 18.2X75-D40, 18.3R1-S2, 18.4R1, and all subsequent releases.\n"
        }
    ],
    "source": {
        "advisory": "JSA10924",
        "defect": [
            "1368998"
        ],
        "discovery": "INTERNAL"
    },
    "work_around": [
        {
            "lang": "eng",
            "value": "Limit physical access to the recovery console to only trusted administrators."
        }
    ]
}