{
    "CVE_data_meta": {
        "ASSIGNER": "security@suse.com",
        "DATE_PUBLIC": "2017-10-04T00:00:00.000Z",
        "ID": "CVE-2017-9286",
        "STATE": "PUBLIC",
        "TITLE": "nextcloud package security issues with /srv/www/htdocs"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "nextcloud",
                                "version": {
                                    "version_data": [
                                        {
                                            "affected": "<",
                                            "version_value": "11.0.3-3.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "SUSE"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Ludwig Nussel of SUSE"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The packaging of NextCloud in openSUSE used /srv/www/htdocs in an unsafe manner, which could have allowed scripts running as wwwrun user to escalate privileges to root during nextcloud package upgrade."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Using the untrusted hierarchy under /srv/wwwroot/htdocs during update as root user could be used to overwrite root files."
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "openSUSE-SU-2017:2641",
                "refsource": "SUSE",
                "url": "https://lists.opensuse.org/opensuse-updates/2017-10/msg00010.html"
            },
            {
                "name": "https://www.suse.com/de-de/security/cve/CVE-2017-9286/",
                "refsource": "CONFIRM",
                "url": "https://www.suse.com/de-de/security/cve/CVE-2017-9286/"
            },
            {
                "name": "https://bugzilla.suse.com/show_bug.cgi?id=1036756",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.suse.com/show_bug.cgi?id=1036756"
            }
        ]
    },
    "source": {
        "advisory": "https://lists.opensuse.org/opensuse-updates/2017-10/msg00010.html",
        "defect": [
            "https://bugzilla.suse.com/show_bug.cgi?id=1036756"
        ],
        "discovery": "INTERNAL"
    }
}