{
    "CVE_data_meta": {
        "ASSIGNER": "support@hackerone.com",
        "ID": "CVE-2016-9462",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Nextcloud Server & ownCloud Server Nextcloud Server before 9.0.52 & ownCloud Server before 9.0.4",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Nextcloud Server & ownCloud Server Nextcloud Server before 9.0.52 & ownCloud Server before 9.0.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Nextcloud Server before 9.0.52 & ownCloud Server before 9.0.4 are not properly verifying restore privileges when restoring a file. The restore capability of Nextcloud/ownCloud was not verifying whether a user has only read-only access to a share. Thus a user with read-only access was able to restore old versions."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Permission Issues (CWE-275)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/nextcloud/server/commit/1208953ba1d4d55a18a639846bbcdd66a2d5bc5e",
                "refsource": "MISC",
                "url": "https://github.com/nextcloud/server/commit/1208953ba1d4d55a18a639846bbcdd66a2d5bc5e"
            },
            {
                "name": "https://github.com/owncloud/core/commit/c93eca49c32428ece03dd67042772d5fa62c8d6e",
                "refsource": "MISC",
                "url": "https://github.com/owncloud/core/commit/c93eca49c32428ece03dd67042772d5fa62c8d6e"
            },
            {
                "name": "https://owncloud.org/security/advisory/?id=oc-sa-2016-015",
                "refsource": "MISC",
                "url": "https://owncloud.org/security/advisory/?id=oc-sa-2016-015"
            },
            {
                "name": "https://github.com/owncloud/core/commit/3b056fa68ce502ceb0db9b446dab3b9e7b10dd13",
                "refsource": "MISC",
                "url": "https://github.com/owncloud/core/commit/3b056fa68ce502ceb0db9b446dab3b9e7b10dd13"
            },
            {
                "name": "https://github.com/owncloud/core/commit/d31720b6f1e8c8dfeb5e8805ab35ad7c8000b2f1",
                "refsource": "MISC",
                "url": "https://github.com/owncloud/core/commit/d31720b6f1e8c8dfeb5e8805ab35ad7c8000b2f1"
            },
            {
                "name": "97285",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/97285"
            },
            {
                "name": "https://hackerone.com/reports/146067",
                "refsource": "MISC",
                "url": "https://hackerone.com/reports/146067"
            },
            {
                "name": "https://github.com/owncloud/core/commit/23383080731d092e079986464a8c4c9ffcb79f4c",
                "refsource": "MISC",
                "url": "https://github.com/owncloud/core/commit/23383080731d092e079986464a8c4c9ffcb79f4c"
            },
            {
                "name": "https://nextcloud.com/security/advisory/?id=nc-sa-2016-005",
                "refsource": "MISC",
                "url": "https://nextcloud.com/security/advisory/?id=nc-sa-2016-005"
            }
        ]
    }
}