CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Couchbase

CVE-2022-32563
Couchbase Sync Gateway 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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Sync Gateway. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Couchbase Sync Gateway runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Couchbase products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.