Vulnerability Name:

CVE-2016-9464 (CCN-123842)

Assigned:2016-10-10
Published:2016-10-10
Updated:2019-10-09
Summary:Nextcloud Server before 9.0.54 and 10.0.0 suffers from an improper authorization check on removing shares. The Sharing Backend as implemented in Nextcloud does differentiate between shares to users and groups. In case of a received group share, users should be able to unshare the file to themselves but not to the whole group. The previous API implementation simply unshared the file to all users in the group.
CVSS v3 Severity:4.3 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
3.8 Low (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
2.6 Low (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L)
2.3 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Low
CVSS v2 Severity:4.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
2.1 Low (CCN CVSS v2 Vector: AV:N/AC:H/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-285
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2016-9464

Source: BID
Type: Third Party Advisory, VDB Entry
97287

Source: CCN
Type: BID-97287
Nextcloud CVE-2016-9464 Unauthorized Access Vulnerability

Source: XF
Type: UNKNOWN
nextcloud-cve20169464-priv-esc(123842)

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://github.com/nextcloud/server/commit/3387e5d00fcf6b2ea6b285a091e5743f545e7202

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://github.com/nextcloud/server/commit/7289cb5ec0b812992ab0dfb889744b94bc0994f0

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://github.com/nextcloud/server/commit/a5471b4a3e3f30e99e4de39c97c0c3b3c2f1618f

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://github.com/nextcloud/server/commit/e2c4f4f9aa11bc92e8f2212cce73841b922187e8

Source: MISC
Type: Exploit, Third Party Advisory
https://hackerone.com/reports/153905

Source: CCN
Type: nextCloud Security Advisory NC-SA-2016-007
Improper authorization check on removing shares

Source: MISC
Type: Patch, Vendor Advisory
https://nextcloud.com/security/advisory/?id=nc-sa-2016-007

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2016-9464

Vulnerable Configuration:Configuration 1:
  • cpe:/a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* (Version < 9.0.54)
  • OR cpe:/a:nextcloud:nextcloud_server:10.0:rc1:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:nextcloud:nextcloud_server:9.0.53:*:*:*:*:*:*:*
  • OR cpe:/a:nextcloud:nextcloud_server:10.0:rc1:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.precise:def:20169464000
    V
    CVE-2016-9464 on Ubuntu 12.04 LTS (precise) - medium.
    2017-03-27
    oval:com.ubuntu.trusty:def:20169464000
    V
    CVE-2016-9464 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-03-27
    BACK
    nextcloud nextcloud server *
    nextcloud nextcloud server 10.0 rc1
    nextcloud nextcloud server 9.0.53
    nextcloud nextcloud server 10.0 rc1