Body Background
TrendAI™ Zero Day Initiative™ Logo

Apache Groovy MethodClosure Deserialization of Untrusted Data Remote Code Execution Vulnerability

December 27th, 2017

Vulnerability Details


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apache Groovy. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on implementation.

The specific flaw exists within the handling of serialized MethodClosure objects. A crafted stream of bytes, when deserialized, can result in the creation of an unsafe instance of MethodClosure. An attacker can leverage this vulnerability to execute arbitrary code under the context of the current process.

Additional Details

Apache has issued an update to correct this vulnerability. More details can be found at:
http://groovy-lang.org/security.html

Disclosure Timeline

  • 2016-09-19 - Vulnerability reported to vendor
  • 2017-12-27 - Coordinated public release of advisory

Credit

Sam Thomas of Secarma Limited

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.