ElasticSearch v1.1.1/1.2 RCE

By
Anandhu K A
Published on
16 Jun 2021
Vulnerability

Elasticsearch is a search server based on Lucene. The old versions of ElasticSearch support passing in dynamic scripts (MVEL) to perform some complex operations, and MVEL can execute Java code, and there is no sandbox, so a user can directly execute arbitrary code.

Mitigation / Precaution

  • In order to patch this vulnerability, we suggest you to update ElasticSearch to the latest version.
  • We recommend you to configure ‘script.disable_dynamic: true’ in elasticsearch.yml.
Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Anandhu K A
Anandhu K A
Lead Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment
Experience the power of automated penetration testing & contextual reporting.