Exploited
8.1
CWE
284 749
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2014-3120: Elasticsearch Remote Code Execution Vulnerability

First published: Mon Dec 09 2013(Updated: )

Common Vulnerabilities and Exposures assigned an identifier <a href="https://access.redhat.com/security/cve/CVE-2014-3120">CVE-2014-3120</a> to the following vulnerability: Name: <a href="https://access.redhat.com/security/cve/CVE-2014-3120">CVE-2014-3120</a> URL: <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3120">http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3120</a> Assigned: 20140429 Reference: EXPLOIT-DB:33370 Reference: <a href="http://www.exploit-db.com/exploits/33370">http://www.exploit-db.com/exploits/33370</a> Reference: <a href="http://bouk.co/blog/elasticsearch-rce/">http://bouk.co/blog/elasticsearch-rce/</a> Reference: <a href="http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce">http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce</a> Reference: <a href="https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch">https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch</a> Reference: <a href="http://www.securityfocus.com/bid/67731">http://www.securityfocus.com/bid/67731</a> Reference: OSVDB:106949 Reference: <a href="http://www.osvdb.org/106949">http://www.osvdb.org/106949</a> 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. As noted in &lt;<a href="http://bouk.co/blog/elasticsearch-rce/">http://bouk.co/blog/elasticsearch-rce/</a>&gt;, adding "script.disable_dynamic: true" to elasticsearch.yml, and ensuring Elasticsearch only binds to localhost, can help mitigate this issue.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/katello-configure<0:1.4.5.1-3.el6
0:1.4.5.1-3.el6
redhat/elasticsearch<1.2.0
1.2.0
maven/org.elasticsearch:elasticsearch<1.4.0.Beta1
1.4.0.Beta1
Elastic Elasticsearch<=1.1.1
Elastic

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2014-3120?

    CVE-2014-3120 has been classified with a severity level that indicates a critical vulnerability in its affected components.

  • How do I fix CVE-2014-3120?

    To fix CVE-2014-3120, update the affected packages to the recommended versions specified in the official advisories.

  • Which software is affected by CVE-2014-3120?

    CVE-2014-3120 affects the 'katello-configure' package version 1.4.5.1-3.el6, 'elasticsearch' version 1.2.0, and various versions of 'org.elasticsearch:elasticsearch'.

  • Is the vulnerability CVE-2014-3120 publicly disclosed?

    Yes, CVE-2014-3120 has been publicly disclosed and documented by various cybersecurity databases and vendors.

  • What are the potential impacts of CVE-2014-3120?

    The potential impacts of CVE-2014-3120 include unauthorized access and compromise of data within the affected Elasticsearch instances.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203