Skip to content

CVE-2022-32563 Couchbase Sync Gateway admin credentials not verified when using X.509 client cert authentication

CriticalCVSS 9.8 EPSS 0.84%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
couchbase github.com/couchbase/sync_gateway >= 3.0.0, < 3.0.2 3.0.2 Fixed
pypi couchbase(PyPI) = 3.0.0; = 3.0.1; = 3.0.2b1; = 3.0.2b2 +6 more 3.0.2 Fixed

Affected products

ProductAffected versionsFixed in
pypi couchbase(PyPI) >= 3.0.0, < 3.0.2 3.0.2
pypi couchbase(PyPI) = 3.0.0 No fix listed
pypi couchbase(PyPI) = 3.0.1 No fix listed
pypi couchbase(PyPI) = 3.0.2b1 No fix listed
pypi couchbase(PyPI) = 3.0.2b2 No fix listed
pypi couchbase(PyPI) = 3.0.2b4 No fix listed
pypi couchbase(PyPI) = 3.0.2b5 No fix listed
pypi couchbase(PyPI) = 3.0.2b6 No fix listed
pypi couchbase(PyPI) = 3.0.2b7 No fix listed
pypi couchbase(PyPI) = 3.0.2b9 No fix listed
couchbase github.com/couchbase/sync_gateway >= 3.0.0, < 3.0.2 3.0.2

References