Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-g622-r636-qfqh

Опубликовано: 15 фев. 2022
Источник: github
Github: Прошло ревью
CVSS3: 9.8

Описание

SQL Injection in Couchbase Sync Gateway

The Couchbase Sync Gateway 2.1.2 in combination with a Couchbase Server is affected by a previously undisclosed N1QL-injection vulnerability in the REST API. An attacker with access to the public REST API can insert additional N1QL statements through the parameters ?startkey? and ?endkey? of the ?_all_docs? endpoint.

Пакеты

Наименование

github.com/couchbase/sync_gateway

go
Затронутые версииВерсия исправления

< 2.5.0

2.5.0

EPSS

Процентиль: 56%
0.0034
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-89

Связанные уязвимости

CVSS3: 9.8
nvd
больше 6 лет назад

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 arbitrary N1QL functions through the parameters "startkey" and "endkey" on the "_all_docs" endpoint. By issuing nested queries with CPU-intensive operations they may have been able to cause increased resource usage and denial of service conditions. The _all_docs endpoint is not required for Couchbase Mobile replication and external access to this REST endpoint has been blocked to mitigate this issue. This issue has been fixed in versions 2.5.0 and 2.1.3.

EPSS

Процентиль: 56%
0.0034
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-89