CVE Vulnerabilities

CVE-2018-16466

Improper Check for Dropped Privileges

Published: Oct 30, 2018 | Modified: Oct 09, 2019
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS 2.x
5.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu

Improper revalidation of permissions in Nextcloud Server prior to 14.0.0, 13.0.6 and 12.0.11 lead to not accepting access restrictions by acess tokens.

Weakness

The product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded.

Affected Software

Name Vendor Start Version End Version
Nextcloud_server Nextcloud * 12.0.11 (excluding)
Nextcloud_server Nextcloud 13.0.0 (including) 13.0.6 (excluding)
Nextcloud_server Nextcloud 14.0.0-beta1 (including) 14.0.0-beta1 (including)
Nextcloud_server Nextcloud 14.0.0-beta2 (including) 14.0.0-beta2 (including)
Nextcloud_server Nextcloud 14.0.0-beta3 (including) 14.0.0-beta3 (including)
Nextcloud_server Nextcloud 14.0.0-beta4 (including) 14.0.0-beta4 (including)
Nextcloud_server Nextcloud 14.0.0-rc1 (including) 14.0.0-rc1 (including)
Nextcloud_server Nextcloud 14.0.0-rc2 (including) 14.0.0-rc2 (including)

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References