CVE-2019-9039

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…

published June 26, 2019

CVSS
—
EPSS
3%
Percentile
86.1
In the wild
Unconfirmed
What it is

⚡ An attacker could squeeze sensitive data from Couchbase Sync Gateway's public REST API using clever N1QL queries — think of it as someone sneaking into the library and reading all the secret notes! 📚 This vulnerability is like a public library where anyone can read any book without a librarian checking their credentials. The attacker can request 'all_docs' and see sensitive information that shouldn't be accessible, leading to chaos in the library's operations. If exploited, an attacker could not only siphon off sensitive data but could also launch CPU-intensive queries, potentially causing denial of service. This means your Sync Gateway could be overwhelmed, like a library flooded with too many readers at once, making it impossible for anyone else to get in!

Put simply

This vulnerability is like a public library where anyone can read any book without a librarian checking their credentials. The attacker can request 'all_docs' and see sensitive information that shouldn't be accessible, leading to chaos in the library's operations. CVE-2019-9039 allows attackers with access to the Sync Gateway's public REST API to issue additional N1QL statements through the '_all_docs' endpoint. By manipulating the 'startkey' and 'endkey' parameters, they can extract sensitive data and impact resource usage significantly.

What to do

If exploited, an attacker could not only siphon off sensitive data but could also launch CPU-intensive queries, potentially causing denial of service. This means your Sync Gateway could be overwhelmed, like a library flooded with too many readers at once, making it impossible for anyone else to get in! To protect against this vulnerability, ensure you update Couchbase Sync Gateway to versions 2.5.0 or 2.1.3. Additionally, block external access to the '_all_docs' endpoint unless necessary for your application needs. Regularly audit your API access permissions for added security. You're on the right track! Follow these steps to secure your Couchbase Sync Gateway and keep your data safe. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02741 · 86.1th percentile
Published
2019-06-26T18:55Z
EPSS history
Timeline
  • 26 JUN 18:55Z
    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…
    cvelistv5