CVE-2022-32563: Critical severity couchbase vulnerability
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 Software
Event History
Frequently Asked Questions
What is the vulnerability ID of this issue?
The vulnerability ID is CVE-2022-32563.
What is the severity of CVE-2022-32563?
The severity of CVE-2022-32563 is critical (9.8).
What is the affected software?
The affected software is Couchbase Sync Gateway 3.x before 3.0.2.
How does the vulnerability occur?
The vulnerability occurs when admin credentials are not verified when using X.509 client-certificate authentication from Sync Gateway to Couchbase Server.
How can I fix the vulnerability?
To fix the vulnerability, upgrade to Couchbase Sync Gateway 3.0.2 or later.