CVE-2018-15728 Code injection in n/a
Authenticated administrators can execute arbitrary Erlang code on the server via the diag/eval endpoint, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-15728?
CVE-2018-15728 is a high-severity code injection vulnerability in Couchbase Couchbase Server, published on 24 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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
Weakness: CWE-94
Which versions are affected by CVE-2018-15728?
It affects 1 product.
Products include Couchbase Couchbase Server.
How do I fix CVE-2018-15728?
No fix has been published for CVE-2018-15728 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2018-15728 being exploited?
There is no known exploitation of CVE-2018-15728 in the wild and no public exploit code.
Other vulnerabilities in Couchbase Couchbase Server
Sources
Also known as GHSA-jmwc-v96p-wc34.