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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-0048 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.
Github GHSA Github GHSA GHSA-9266-j9v3-q4j5 Couchbase Sync Gateway admin credentials not verified when using X.509 client cert authentication
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T07:46:43.590Z

Reserved: 2022-06-08T00:00:00

Link: CVE-2022-32563

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-06-10T12:15:07.927

Modified: 2024-11-21T07:06:38.683

Link: CVE-2022-32563

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.