CVE-2015-1427: Elasticsearch · Remote code execution
Exploitation: In the wild · CVSS 9.8 Critical · Unauthenticated · Published 2015-02-17
Description
The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands via a crafted script.
Enclave's analysis
Elasticsearch's Groovy scripting sandbox can be bypassed with a crafted script, giving remote shell command execution. No login is needed on an exposed API. Public exploits exist, CISA lists it as exploited, and EPSS is near the top of the scale. Anything before 1.3.8, or 1.4.0 to 1.4.2, is affected. Upgrade to 1.3.8, 1.4.3 or later, and keep the API off untrusted networks.
Fix
Upgrade Elastic Elasticsearch to 1.3.8 or 1.4.3. No fixed version is listed for Red Hat Fuse; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Elastic Elasticsearch | All versions before 1.3.8 | 1.3.8 |
| Elastic Elasticsearch | 1.4.0 up to but not including 1.4.3 | 1.4.3 |
| Red Hat Fuse | 1.0.0 | Not listed |