RCE in Couchbase Server

CVE-2018-15728

Couchbase Server exposed the '/diag/eval' endpoint which by default is available on TCP/8091 and/or TCP/18091. Authenticated users that have 'Full Admin' role assigned could send arbitrary Erlang code to the 'diag/eval' endpoint of the API and the code would subsequently be executed in the underlying operating system with privileges of the user which was used to start Couchbase. Affects Version: 4.0.0, 4.1.2, 4.5.1, 5.0.0, 4.6.5, 5.0.1, 5.1.1, 5.5.0, 5.5.1. Fix Version: 6.0.0, 5.5.2

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.029 (86.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (mailing-list, Exploit, x_refsource_BUGTRAQ, Mailing List, Third Party Advisory)
  • cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
  • cve@mitre.org (x_refsource_MISC)

Frequently asked questions

What is CVE-2018-15728?
CVE-2018-15728 is a high-severity vulnerability in Couchbase Server, classified under Code Injection. CVSS score: 8.8/10. Published 2018-08-24.
How severe is CVE-2018-15728?
High severity. CVSS v3 base score is 8.8 out of 10.