CVE Vulnerabilities

CVE-2020-9039

Incorrect Default Permissions

Published: Feb 22, 2020 | Modified: Jan 01, 2022
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

Couchbase Server 4.0.0, 4.1.0, 4.1.1, 4.5.0, 4.5.1, 4.6.0 through 4.6.5, 5.0.0, 5.1.1, 5.5.0 and 5.5.1 have Insecure Permissions for the projector and indexer REST endpoints (they allow unauthenticated access).The /settings REST endpoint exposed by the projector process is an endpoint that administrators can use for various tasks such as updating configuration and collecting performance profiles. The endpoint was unauthenticated and has been updated to only allow authenticated users to access these administrative APIs.

Weakness

During installation, installed file permissions are set to allow anyone to modify those files.

Affected Software

Name Vendor Start Version End Version
Couchbase_server Couchbase 4.6.0 (including) 4.6.5 (including)
Couchbase_server Couchbase 4.0.0 (including) 4.0.0 (including)
Couchbase_server Couchbase 4.1.0 (including) 4.1.0 (including)
Couchbase_server Couchbase 4.1.1 (including) 4.1.1 (including)
Couchbase_server Couchbase 4.5.0 (including) 4.5.0 (including)
Couchbase_server Couchbase 4.5.1 (including) 4.5.1 (including)
Couchbase_server Couchbase 5.0.0 (including) 5.0.0 (including)
Couchbase_server Couchbase 5.1.1 (including) 5.1.1 (including)
Couchbase_server Couchbase 5.5.0 (including) 5.5.0 (including)
Couchbase_server Couchbase 5.5.1 (including) 5.5.1 (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