{"id":"CVE-2014-3120","url":"https://www.cyber-defence.io/tools/cve/CVE-2014-3120","generatedAt":"2026-10-31T22:35:17.374Z","title":"Elasticsearch Remote Code Execution Vulnerability","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.  NOTE: this only violates the vendor's intended security policy if the user does not run Elasticsearch in its own independent virtual machine.","published":"2014-07-28T19:55:04.000Z","lastModified":"2026-06-17T00:07:38.000Z","status":"Analyzed","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},"cwe":["CWE-284"],"affected":["elastic/elasticsearch"],"epss":{"score":0.88559,"percentile":0.99772,"date":"2026-10-30","history":[]},"kev":{"listed":true,"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareCampaignUse":"Unknown","notes":"Apply updates per vendor instructions.\nhttps://nvd.nist.gov/vuln/detail/CVE-2014-3120"},"exploits":{"count":2,"verified":true,"firstPublished":"2014-05-15","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":33588,"kind":"exploit","title":"ElasticSearch Dynamic Script - Arbitrary Java Execution (Metasploit)","url":"https://www.exploit-db.com/exploits/33588","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/java/remote/33588.rb","file":"exploits/java/remote/33588.rb","published":"2014-05-30","added":"2014-05-30","updated":"2014-05-30","author":"Metasploit","type":"remote","platform":"java","port":9200,"verified":true,"codes":["CVE-2014-3120","OSVDB-106949"],"tags":"Metasploit Framework (MSF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null},{"edbId":33370,"kind":"exploit","title":"ElasticSearch - Remote Code Execution","url":"https://www.exploit-db.com/exploits/33370","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/webapps/33370.html","file":"exploits/multiple/webapps/33370.html","published":"2014-05-15","added":"2014-05-15","updated":"2014-05-30","author":"Jeff Geiger","type":"webapps","platform":"multiple","port":null,"verified":true,"codes":["CVE-2014-3120","OSVDB-106949"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"Known to be exploited in the wild (CISA KEV, CISA remediation deadline 15 April 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise."},"changes":[],"references":[{"url":"http://bouk.co/blog/elasticsearch-rce/","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://www.exploit-db.com/exploits/33370","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://www.osvdb.org/106949","tags":["Broken Link"],"source":"cve@mitre.org"},{"url":"http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/67731","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"https://www.elastic.co/blog/logstash-1-4-3-released","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://www.elastic.co/community/security/","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://bouk.co/blog/elasticsearch-rce/","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.exploit-db.com/exploits/33370","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.osvdb.org/106949","tags":["Broken Link"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/67731","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.elastic.co/blog/logstash-1-4-3-released","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.elastic.co/community/security/","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120","tags":["US Government Resource"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2014-3120","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}