kritisch9.8
CVE-2019-9039
SQL Injection in Couchbase Sync Gateway
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/couchbase/sync_gateway | < 2.5.0 | 2.5.0 |
Betroffene Produkte · Couchbase
| Produkt | Betroffene Versionen |
|---|---|
| Sync Gateway | Version 2.1.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://docs.couchbase.com/sync-gateway/2.5/release-notes.html
- https://research.hisolutions.com/2019/06/n1ql-injection-in-couchbase-sync-gateway-cve-2019-9039/
- https://www.couchbase.com/resources/security#SecurityAlerts
- https://github.com/advisories/GHSA-g622-r636-qfqh
- https://nvd.nist.gov/vuln/detail/CVE-2019-9039
- https://github.com/couchbase/sync_gateway/commit/97adb5b496aa96aa70398018ea96da913ffd8d8c