Skip to content
OpenAdvisories
Medium Scanner template Public exploit CVE-2015-3337 EUVD-2022-5748GHSA-x8q8-4hp5-463w

Improper Limitation of a Pathname to a Restricted Directory in Elasticsearch

Published May 1, 2015 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 elasticsearch 1.0.3+dfsg-5+deb8u1 DSA-3241-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.elasticsearch:elasticsearch < 1.4.5 1.4.5 GHSA-x8q8-4hp5-463w
Maven org.elasticsearch:elasticsearch >= 1.5.0, < 1.5.2 1.5.2 GHSA-x8q8-4hp5-463w

Advisories 1

References