PT-2022-21375
CVE-2022-32563
·
Published
2022-06-10
·
Updated
2022-06-17
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Couchbase Sync Gateway versions 3.0.0 through 3.0.1
Couchbase Sync Gateway version 3.0.2 is not affected, but versions prior to 3.0.2 are vulnerable, so the correct representation is:
Couchbase Sync Gateway versions prior to 3.0.2
Description
An issue was discovered in Couchbase Sync Gateway where 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.
Recommendations
For Couchbase Sync Gateway versions prior to 3.0.2, replace X.509 certificate based authentication with Username and Password authentication inside the bootstrap configuration as a workaround.
Found an issue in the description? Have something to add? Feel free to write us 👾