Advisory

GHSA-9266-j9v3-q4j5

Also known as: CVE-2022-32563, PYSEC-2022-207

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-06-11 00:00 UTC
Modified
2024-09-13 18:46 UTC

Affected packages and fixes

couchbase

PyPI · All systems

Affected

  • introduced 3.0.0, fixed 3.0.2 (ecosystem)

Fixed versions

3.0.2

Fix

  • Fixed version 3.0.2
    pip install --upgrade couchbase==3.0.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences