Arbitrary Code Execution Affecting org.apache.tapestry:tapestry-core Open this link in a new tab package, versions [5.4.0,5.6.2) [5.7.0, 5.7.1)
Proof of concept
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
15 Apr 2021
15 Apr 2021
How to fix?
org.apache.tapestry:tapestry-core to version 5.6.2, 5.7.1 or higher.
org.apache.tapestry:tapestry-core is a Tapestry Core package for Apache Tapestry.
Affected versions of this package are vulnerable to Arbitrary Code Execution. A critical unauthenticated remote code execution vulnerability was found in all recent versions of Apache Tapestry.
A bypass of the fix for CVE-2019-0195 exists. where the blacklist solution can simply be bypassed byappending a
/ at the end of the URL:
The slash is stripped after the blacklist check and the file
AppModule.class is loaded into the response.This class usually contains the HMAC secret key which is used to signserialized Java objects.With the knowledge of that key an attacker can sign a Java gadget chain that leads to RCE.