Advisory Details

December 27th, 2017

Apache Groovy MethodClosure Deserialization of Untrusted Data Remote Code Execution Vulnerability

ZDI-17-044
ZDI-CAN-3936

CVE ID CVE-2016-6814
CVSS SCORE 7.5, (AV:N/AC:L/Au:N/C:P/I:P/A:P)
AFFECTED VENDORS Apache
AFFECTED PRODUCTS Groovy
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 25375. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
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