CVE-2022-32563

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductCouchbase Sync Gateway
PublishedJun 10, 2022
First seenJun 10, 2022

How to fix

Update
  • couchbase sync_gateway3.0.2 or later
  • couchbase3.0.2 or later

Affected products

ProductAffected versionsFixed in
couchbase sync_gateway3.0.0 ≤ v < 3.0.23.0.2
couchbasePyPI3.0.0 ≤ v < 3.0.23.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.