{"id":"CVE-2014-3120","aliases":["GHSA-mrfm-jxgf-2h6v"],"summary":"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.","published_at":"2013-12-09T00:00:00Z","modified_at":"2025-10-22T19:52:56.202431Z","products":[{"slug":"elasticsearch","name":"Elasticsearch / Kibana","category":"monitoring"}],"rating":{"severity":"high","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":true,"kev":{"listed":true,"date_added":"2022-03-25T00:00:00Z","due_date":"2022-04-15T00:00:00Z","ransomware":false,"required_action":"Apply updates per vendor instructions."},"public_exploit":true,"exploits":[{"source":"exploit-db","id":"EDB-33370","name":"ElasticSearch - Remote Code Execution","url":"https://www.exploit-db.com/exploits/33370","published":"2014-05-15","verified":true},{"source":"exploit-db","id":"EDB-33588","name":"ElasticSearch Dynamic Script - Arbitrary Java Execution (Metasploit)","url":"https://www.exploit-db.com/exploits/33588","published":"2014-05-30","verified":true},{"source":"metasploit","id":"exploit/multi/elasticsearch/script_mvel_rce","name":"ElasticSearch Dynamic Script Arbitrary Java Execution","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/elasticsearch/script_mvel_rce.rb","published":"2013-12-09","verified":false},{"source":"nuclei-templates","id":"http/cves/2014/CVE-2014-3120","name":"ElasticSearch v1.1.1/1.2 RCE","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2014/CVE-2014-3120.yaml","verified":false}],"epss":{"score":0.8855900168418884,"percentile":0.9977700114250183,"date":"2026-11-21T00:00:00Z"},"priority":32.1,"record_count":4,"vendors":["Red Hat","GitHub"],"details":"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.","affected_stack":[{"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0.Beta1"}]}],"versions":["0.10.0","0.11.0","0.12.0","0.12.1","0.13.0","0.13.1","0.14.0","0.14.1","0.14.2","0.14.3","0.14.4","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.16.5","0.17.0","0.17.1","0.17.10","0.17.2","0.17.3","0.17.4","0.17.5","0.17.6","0.17.7","0.17.8","0.17.9","0.18.0","0.18.1","0.18.2","0.18.3","0.18.4","0.18.5","0.18.6","0.18.7","0.19.0","0.19.0.RC1","0.19.0.RC2","0.19.0.RC3","0.19.1","0.19.10","0.19.11","0.19.12","0.19.2","0.19.3","0.19.4","0.19.5","0.19.6","0.19.7","0.19.8","0.19.9","0.20.0","0.20.0.RC1","0.20.1","0.20.2","0.20.3","0.20.4","0.20.5","0.20.6","0.6.0","0.7.0","0.7.1","0.8.0","0.9.0","0.90.0","0.90.0.Beta1","0.90.0.RC1","0.90.0.RC2","0.90.1","0.90.10","0.90.11","0.90.12","0.90.13","0.90.2","0.90.3","0.90.4","0.90.5","0.90.6","0.90.7","0.90.8","0.90.9","1.0.0","1.0.0.Beta1","1.0.0.Beta2","1.0.0.RC1","1.0.0.RC2","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9"],"fixed":["1.4.0.Beta1"],"provider":"osv","source":"GHSA-mrfm-jxgf-2h6v","relation":"self"},{"ecosystem":"NVD","package":"elastic:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}],"fixed":["1.2.0"],"provider":"nvd","source":"CVE-2014-3120","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Fuse ESB Enterprise 7.1.0","cpe":"cpe:/a:redhat:fuse_esb_enterprise:7.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1171"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Fuse MQ Enterprise 7.1.0","cpe":"cpe:/a:redhat:fuse_mq_enterprise:7.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1171"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Fuse Management Console 7.1.0","cpe":"cpe:/a:redhat:fuse_management_console:7.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1171"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Red Hat JBoss A-MQ 6.1","cpe":"cpe:/a:redhat:jboss_amq:6.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1170"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse 6.1","cpe":"cpe:/a:redhat:jboss_fuse:6.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1170"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Red Hat Subscription Asset Manager for RHEL 6 Server","cpe":"cpe:/a:rhel_sam:1.4::el6","status":"fixed","packages":["katello-configure"],"package_count":1,"fixed":["katello-configure-1.4.5.1-3.el6sam"],"advisories":["RHSA-2014:1186"],"provider":"redhat-vex","source":"CVE-2014-3120"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2014-3120","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2014-3120","license":"CC-BY-4.0","published_at":"2014-07-28T19:00:00Z","modified_at":"2025-10-22T00:05:37.084Z","summary":"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.","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP:CVE-2014-3120"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.elastic.co/blog/logstash-1-4-3-released"},{"type":"EXPLOIT","url":"http://www.exploit-db.com/exploits/33370"},{"type":"WEB","url":"http://www.securityfocus.com/bid/67731"},{"type":"WEB","url":"http://www.osvdb.org/106949"},{"type":"WEB","url":"http://bouk.co/blog/elasticsearch-rce/"},{"type":"WEB","url":"http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce"},{"type":"WEB","url":"https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch"},{"type":"WEB","url":"https://www.elastic.co/community/security/"}]},{"provider":"nvd","source_id":"CVE-2014-3120","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3120","severity":[],"affected":[{"ecosystem":"NVD","package":"elastic:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}],"fixed":["1.2.0"],"provider":"nvd","source":"CVE-2014-3120","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-mrfm-jxgf-2h6v","relation":"self","url":"https://osv.dev/vulnerability/GHSA-mrfm-jxgf-2h6v","license":"CC-BY-4.0","published_at":"2022-05-17T03:28:58Z","modified_at":"2025-10-22T19:52:56.202431Z","summary":"Elasticsearch Improper Access Control vulnerability","details":"The default configuration in Elasticsearch before 1.4.0.Beta1 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:H","source":"GHSA-mrfm-jxgf-2h6v"}],"affected":[{"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0.Beta1"}]}],"versions":["0.10.0","0.11.0","0.12.0","0.12.1","0.13.0","0.13.1","0.14.0","0.14.1","0.14.2","0.14.3","0.14.4","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.16.5","0.17.0","0.17.1","0.17.10","0.17.2","0.17.3","0.17.4","0.17.5","0.17.6","0.17.7","0.17.8","0.17.9","0.18.0","0.18.1","0.18.2","0.18.3","0.18.4","0.18.5","0.18.6","0.18.7","0.19.0","0.19.0.RC1","0.19.0.RC2","0.19.0.RC3","0.19.1","0.19.10","0.19.11","0.19.12","0.19.2","0.19.3","0.19.4","0.19.5","0.19.6","0.19.7","0.19.8","0.19.9","0.20.0","0.20.0.RC1","0.20.1","0.20.2","0.20.3","0.20.4","0.20.5","0.20.6","0.6.0","0.7.0","0.7.1","0.8.0","0.9.0","0.90.0","0.90.0.Beta1","0.90.0.RC1","0.90.0.RC2","0.90.1","0.90.10","0.90.11","0.90.12","0.90.13","0.90.2","0.90.3","0.90.4","0.90.5","0.90.6","0.90.7","0.90.8","0.90.9","1.0.0","1.0.0.Beta1","1.0.0.Beta2","1.0.0.RC1","1.0.0.RC2","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9"],"fixed":["1.4.0.Beta1"],"provider":"osv","source":"GHSA-mrfm-jxgf-2h6v","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3120"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/issues/7151"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/pull/7642"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/commit/bd0eb32d9c3c3f5b6e5f8630c859cd04bdcd4e06"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/commit/f9de8b65898509e038e33215db0720b508477a12"},{"type":"PACKAGE","url":"https://github.com/elastic/elasticsearch"},{"type":"WEB","url":"https://web.archive.org/web/20140813071419/http://www.securityfocus.com/bid/67731"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120"},{"type":"WEB","url":"https://www.elastic.co/blog/logstash-1-4-3-released"},{"type":"WEB","url":"https://www.elastic.co/community/security"},{"type":"WEB","url":"https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch"},{"type":"WEB","url":"http://bouk.co/blog/elasticsearch-rce"},{"type":"WEB","url":"http://www.exploit-db.com/exploits/33370"},{"type":"WEB","url":"http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce"}]},{"provider":"redhat-vex","source_id":"CVE-2014-3120","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2014-3120","license":"CC-BY-4.0","published_at":"2013-12-09T00:00:00Z","modified_at":"2025-01-06T19:40:06Z","summary":"elasticsearch: remote code execution flaw via dynamic scripting","details":"It was discovered that the default configuration of Elasticsearch enabled dynamic scripting, allowing a remote attacker to execute arbitrary MVEL expressions and Java code via the source parameter passed to _search.","severity":[{"type":"CVSS_V2","score":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"CVE-2014-3120"},{"type":"Red Hat","score":"Important","source":"CVE-2014-3120"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Fuse ESB Enterprise 7.1.0","cpe":"cpe:/a:redhat:fuse_esb_enterprise:7.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1171"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Fuse MQ Enterprise 7.1.0","cpe":"cpe:/a:redhat:fuse_mq_enterprise:7.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1171"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Fuse Management Console 7.1.0","cpe":"cpe:/a:redhat:fuse_management_console:7.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1171"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Red Hat JBoss A-MQ 6.1","cpe":"cpe:/a:redhat:jboss_amq:6.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1170"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse 6.1","cpe":"cpe:/a:redhat:jboss_fuse:6.1.0","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2014:1170"],"provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2014-3120"},{"vendor":"Red Hat","product":"Red Hat Subscription Asset Manager for RHEL 6 Server","cpe":"cpe:/a:rhel_sam:1.4::el6","status":"fixed","packages":["katello-configure"],"package_count":1,"fixed":["katello-configure-1.4.5.1-3.el6sam"],"advisories":["RHSA-2014:1186"],"provider":"redhat-vex","source":"CVE-2014-3120"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2014/cve-2014-3120.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2014-3120"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1124252"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2014-3120"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3120"},{"type":"WEB","url":"https://access.redhat.com/solutions/1191453"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"}]}],"references":[{"type":"WEB","url":"https://www.elastic.co/blog/logstash-1-4-3-released"},{"type":"EXPLOIT","url":"http://www.exploit-db.com/exploits/33370"},{"type":"WEB","url":"http://www.securityfocus.com/bid/67731"},{"type":"WEB","url":"http://www.osvdb.org/106949"},{"type":"WEB","url":"http://bouk.co/blog/elasticsearch-rce/"},{"type":"WEB","url":"http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce"},{"type":"WEB","url":"https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch"},{"type":"WEB","url":"https://www.elastic.co/community/security/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3120"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/issues/7151"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/pull/7642"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/commit/bd0eb32d9c3c3f5b6e5f8630c859cd04bdcd4e06"},{"type":"WEB","url":"https://github.com/elastic/elasticsearch/commit/f9de8b65898509e038e33215db0720b508477a12"},{"type":"PACKAGE","url":"https://github.com/elastic/elasticsearch"},{"type":"WEB","url":"https://web.archive.org/web/20140813071419/http://www.securityfocus.com/bid/67731"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120"},{"type":"WEB","url":"https://www.elastic.co/community/security"},{"type":"WEB","url":"http://bouk.co/blog/elasticsearch-rce"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2014/cve-2014-3120.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2014-3120"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1124252"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2014-3120"},{"type":"WEB","url":"https://access.redhat.com/solutions/1191453"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2014-3120","url":"https://www.cve.org/CVERecord?id=CVE-2014-3120","license":"CC-BY-4.0","modified_at":"2025-10-22T00:05:37.084Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2014-3120","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3120","relation":"self"},{"provider":"osv","source_id":"GHSA-mrfm-jxgf-2h6v","url":"https://osv.dev/vulnerability/GHSA-mrfm-jxgf-2h6v","license":"CC-BY-4.0","modified_at":"2025-10-22T19:52:56.202431Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2014-3120","url":"https://access.redhat.com/security/cve/CVE-2014-3120","license":"CC-BY-4.0","modified_at":"2025-01-06T19:40:06Z","relation":"self"}]}
