Critical severity · published Jun 10, 2022
CVE-2022-32563
An issue was discovered in Couchbase Sync Gateway 3.x before 3.0.2
9.8
CVSS
0.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SG
Sync Gateway · Couchbase
3.0.0 before 3.0.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-32563
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-32563
Vendor Advisory
https://forums.couchbase.com/tags/security
Vendor Advisory
https://www.couchbase.com/alerts
More from Sync Gateway
9.8
CVE-2019-9039
In Couchbase Sync Gateway 2.1.2, an attacker with access to the Sync Gateway’s public REST API was able to issue additional N1QL statements and extract sensitive data or call…
8.1
CVE-2021-43963
An issue was discovered in Couchbase Sync Gateway 2.7.0 through 2.8.2
7.5
CVE-2020-9041
In Couchbase Server 6.0.3 and Couchbase Sync Gateway through 2.7.0, the Cluster management, views, query, and full-text search endpoints are vulnerable to the Slowloris…
7.3
CVE-2025-52490
An issue was discovered in Couchbase Sync Gateway before 3.2.6
