GitHub Advisoryadvisory · Maven

GHSA-6mwh-fw4p-75fj Deserialization of Untrusted Data in Apache Tapestry

CRITICAL Published 2022-05-24 Modified 2022-11-03 Official page ↗
Aliases
CVE-2019-0195
Ecosystem
Maven
Packages
org.apache.tapestry:tapestry-core
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-502
Reviewed
2022-11-03

Affected packages

• Maven org.apache.tapestry:tapestry-core: >= 5.4.0, < 5.4.5 → fixed in 5.4.5

Description

By manipulating classpath asset file URLs, an attacker could guess the path to a known file in the classpath and have it downloaded. If the attacker found the file with the value of the tapestry.hmac-passphrase configuration symbol, most probably the webapp's AppModule class, the value of this symbol could be used to craft a Java deserialization attack, thus running malicious injected Java code. The vector would be the t:formdata parameter from the Form component.

Related

Alias · CVE (1)

  • CVE-2019-0195 Manipulating classpath asset file URLs, an attacker could guess the path to a known file in the classpath and have it downloaded. vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References