{
    "CVE_data_meta": {
        "ASSIGNER": "sirt@juniper.net",
        "DATE_PUBLIC": "2018-01-10T17:00:00.000Z",
        "ID": "CVE-2018-0001",
        "STATE": "PUBLIC",
        "TITLE": "Junos: Unauthenticated Remote Code Execution through J-Web interface"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Junos OS",
                                "version": {
                                    "version_data": [
                                        {
                                            "affected": "<",
                                            "version_name": "12.1X46",
                                            "version_value": "12.1X46-D67"
                                        },
                                        {
                                            "affected": "<",
                                            "version_name": "12.3",
                                            "version_value": "12.3R12-S5"
                                        },
                                        {
                                            "affected": "<",
                                            "version_name": "12.3X48",
                                            "version_value": "12.3X48-D35"
                                        },
                                        {
                                            "affected": "<",
                                            "version_name": "14.1",
                                            "version_value": "14.1R8-S5, 14.1R9"
                                        },
                                        {
                                            "affected": "<",
                                            "version_name": "14.1X53",
                                            "version_value": "14.1X53-D44, 14.1X53-D50"
                                        },
                                        {
                                            "affected": "<",
                                            "version_name": "14.2",
                                            "version_value": "14.2R7-S7, 14.2R8"
                                        },
                                        {
                                            "affected": "<",
                                            "version_name": "15.1",
                                            "version_value": "15.1R3"
                                        },
                                        {
                                            "affected": "<",
                                            "version_name": "15.1X49",
                                            "version_value": "15.1X49-D30"
                                        },
                                        {
                                            "affected": "<",
                                            "version_name": "15.1X53",
                                            "version_value": "15.1X53-D70"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Juniper Networks"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Cure53 for responsibly reporting this vulnerability."
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A remote, unauthenticated attacker may be able to execute code by exploiting a use-after-free defect found in older versions of PHP through injection of crafted data via specific PHP URLs within the context of the J-Web process. Affected releases are Juniper Networks Junos OS: 12.1X46 versions prior to 12.1X46-D67; 12.3 versions prior to 12.3R12-S5; 12.3X48 versions prior to 12.3X48-D35; 14.1 versions prior to 14.1R8-S5, 14.1R9; 14.1X53 versions prior to 14.1X53-D44, 14.1X53-D50; 14.2 versions prior to 14.2R7-S7, 14.2R8; 15.1 versions prior to 15.1R3; 15.1X49 versions prior to 15.1X49-D30; 15.1X53 versions prior to 15.1X53-D70."
            }
        ]
    },
    "exploit": [
        {
            "lang": "eng",
            "value": "Juniper SIRT is not aware of any malicious exploitation of this vulnerability."
        }
    ],
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Remote code execution"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "1040180",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1040180"
            },
            {
                "name": "https://kb.juniper.net/JSA10828",
                "refsource": "CONFIRM",
                "url": "https://kb.juniper.net/JSA10828"
            },
            {
                "name": "103092",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/103092"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "The following software releases have been updated to resolve this specific issue: 12.1X46-D67, 12.3R12-S8*, 12.3X48-D55, 14.1R8-S5, 14.1R9, 14.1X53-D44, 14.1X53-D50, 14.2R7-S7, 14.2R8, 15.1F5-S8, 15.1F6-S8, 15.1R5-S6, 15.1R7, 15.1X49-D100, 15.1X53-D70, 16.1R4-S6, 16.1R5, 16.2R2-S2, 16.2R3, 17.1R2-S5*, 17.1R3*, 17.2R2, 17.3R1, and all subsequent releases.\n\n*Pending release\n\nNOTE: While Junos OS 12.3R12-S5, 12.3X48-D35, 15.1F2+, 15.1R3, 15.1X49-D30, and all subsequent releases are not vulnerable, this issue has been proactively resolved.\n"
        }
    ],
    "source": {
        "advisory": "JSA10828",
        "defect": [
            "1269932"
        ],
        "discovery": "EXTERNAL"
    },
    "work_around": [
        {
            "lang": "eng",
            "value": "Disable J-Web, or limit access to only trusted hosts."
        }
    ]
}