Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-32563 EUVD-2022-0048GHSA-9266-j9v3-q4j5PYSEC-2022-207

Couchbase Sync Gateway admin credentials not verified when using X.509 client cert authentication

Published Jun 10, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

An issue was discovered in Couchbase Sync Gateway 3.x before 3.0.2. Admin credentials are not verified when using X.509 client-certificate authentication from Sync Gateway to Couchbase Server. When Sync Gateway is configured to authenticate with Couchbase Server using X.509 client certificates, the admin credentials provided to the Admin REST API are ignored, resulting in privilege escalation for unauthenticated users. The Public REST API is not impacted by this issue. A workaround is to replace X.509 certificate based authentication with Username and Password authentication inside the bootstrap configuration.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI couchbase >= 3.0.0, < 3.0.2 3.0.2 GHSA-9266-j9v3-q4j5

References