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

What LogPulse has for it

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

  1. Check the version on each node: curl http://<node>:9200/ and read version.number.
  2. Upgrade to 1.4.5, 1.5.2 or (preferably) a currently supported Elasticsearch release with a rolling restart.
  3. Until upgraded, block HTTP port 9200 from untrusted networks and remove site plugins you do not need.
  4. 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.

Start free with LogPulse