FreeBSD : elasticsearch -- remote OS command execution via Groovy scripting engine (026759e0-1ba3-11e5-b43d-002590263bf5)

High Nessus Plugin ID 84409


The remote FreeBSD host is missing one or more security-related updates.


Elastic reports :

Vulnerability Summary: Elasticsearch versions 1.3.0-1.3.7 and 1.4.0-1.4.2 have vulnerabilities in the Groovy scripting engine that were introduced in 1.3.0. The vulnerability allows an attacker to construct Groovy scripts that escape the sandbox and execute shell commands as the user running the Elasticsearch Java VM.

Remediation Summary: Users should upgrade to 1.3.8 or 1.4.3. Users that do not want to upgrade can address the vulnerability by setting script.groovy.sandbox.enabled to false in elasticsearch.yml and restarting the node.


Update the affected packages.

See Also

Plugin Details

Severity: High

ID: 84409

File Name: freebsd_pkg_026759e01ba311e5b43d002590263bf5.nasl

Version: $Revision: 2.5 $

Type: local

Published: 2015/06/26

Modified: 2016/05/20

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:elasticsearch, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2015/06/26

Vulnerability Publication Date: 2015/02/11

Exploitable With


Core Impact

Metasploit (ElasticSearch Search Groovy Sandbox Bypass)

Reference Information

CVE: CVE-2015-1427

BID: 72585