CVE-2015-3337 in elasticsearch
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, allows remote attackers to read arbitrary files via unspecified vectors.
Affected software: elasticsearch
Scores
- CVSS: 4.3 (medium)
- EPSS: 33.16% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2015-05-01
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade Elasticsearch to 1.4.5 / 1.5.2 or later
Patch or upgrade. Elasticsearch before 1.4.5 and 1.5.x before 1.5.2 serve files outside a site plugin directory through /_plugin/ paths with ../ sequences. Fixed releases block the traversal.
Applies to: Elasticsearch before 1.4.5 and 1.5.x before 1.5.2 with at least one site plugin installed
- Check the version on each node: curl http://<node>:9200/ and read version.number.
- Upgrade to 1.4.5, 1.5.2 or (preferably) a currently supported Elasticsearch release with a rolling restart.
- Until upgraded, block HTTP port 9200 from untrusted networks and remove site plugins you do not need.
- Rerun the vulnerability scan to confirm CVE-2015-3337 is no longer reported.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.