CVE-2019-9039
CVSS V2 High 7.5
CVSS V3 Critical 9.8
Description
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.
Overview
- CVE ID
- CVE-2019-9039
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2019-06-26T19:15:11
- Last Modified Date
- 2020-02-10T21:54:21
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:couchbase:sync_gateway:2.1.2:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://research.hisolutions.com/2019/06/n1ql-injection-in-couchbase-sync-gateway-cve-2019-9039/ | Exploit Third Party Advisory |
https://docs.couchbase.com/sync-gateway/2.5/release-notes.html | Release Notes Vendor Advisory |
https://www.couchbase.com/resources/security#SecurityAlerts |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2019-9039 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9039 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:50:16 | Added to TrackCVE | |||
2022-12-03 22:29:50 | 2019-06-26T19:15Z | 2019-06-26T19:15:11 | CVE Published Date | updated |
2022-12-03 22:29:50 | 2020-02-10T21:54:21 | CVE Modified Date | updated | |
2022-12-03 22:29:50 | Modified | Vulnerability Status | updated |