GHSA-9266-j9v3-q4j5

Suggest an improvement
Source
https://github.com/advisories/GHSA-9266-j9v3-q4j5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-9266-j9v3-q4j5/GHSA-9266-j9v3-q4j5.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-9266-j9v3-q4j5
Aliases
Published
2022-06-11T00:00:36Z
Modified
2024-09-13T18:49:10.940837Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Couchbase Sync Gateway admin credentials not verified when using X.509 client cert authentication
Details

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.

Database specific
{
    "nvd_published_at": "2022-06-10T12:15:00Z",
    "cwe_ids": [
        "CWE-295"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T21:38:00Z"
}
References

Affected packages

PyPI / couchbase

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.0.2

Affected versions

3.*

3.0.0
3.0.1
3.0.2b1
3.0.2b2
3.0.2b4
3.0.2b5
3.0.2b6
3.0.2b7
3.0.2b9