PT-2022-21375 · Couchbase · Couchbase Sync Gateway
Published
2022-06-10
·
Updated
2022-06-17
·
CVE-2022-32563
CVSS v3.1
9.8
Critical
| Vector | AV: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.
Fix
Improper Certificate Validation
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Couchbase Sync Gateway