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

high Nessus Plugin ID 84409

Synopsis

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

Description

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.

Solution

Update the affected packages.

See Also

https://www.elastic.co/community/security

https://www.elastic.co/blog/elasticsearch-1-4-3-and-1-3-8-released

http://www.nessus.org/u?ef73e92b

http://www.nessus.org/u?4bfad246

http://www.nessus.org/u?75ce4361

http://www.nessus.org/u?5e8f6d25

Plugin Details

Severity: High

ID: 84409

File Name: freebsd_pkg_026759e01ba311e5b43d002590263bf5.nasl

Version: 2.12

Type: local

Published: 6/26/2015

Updated: 3/28/2022

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.5

CVSS v2

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

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: 6/26/2015

Vulnerability Publication Date: 2/11/2015

CISA Known Exploited Vulnerability Due Dates: 4/15/2022

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (ElasticSearch Search Groovy Sandbox Bypass)

Reference Information

CVE: CVE-2015-1427

BID: 72585