{"id":"GHSA-mrfm-jxgf-2h6v","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.","aliases":["CVE-2014-3120"],"modified":"2025-10-22T19:52:56.202431Z","published":"2022-05-17T03:28:58Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-01-06T22:28:40Z","nvd_published_at":"2014-07-28T19:55:00Z","cwe_ids":["CWE-284"],"severity":"HIGH"},"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"}],"affected":[{"package":{"name":"org.elasticsearch:elasticsearch","ecosystem":"Maven","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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mrfm-jxgf-2h6v/GHSA-mrfm-jxgf-2h6v.json"}}],"schema_version":"1.9.0","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"}]}