CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019 · Couchbase

CVE-2019-9039
Couchbase Sync Gateway vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Sync Gateway. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Couchbase Sync Gateway runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Couchbase products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.