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.

Published at
2019-09-16
853 days ago
Modified
2021-04-15
276 days ago
2019
Year
The year of the turtle

http://www.openwall.com/lists/oss-security/2021/04/15/1

MLIST:[oss-security] 20210414 CVE-2021-27850: Apache Tapestry: Bypass of the fix for CVE-2019-0195

https://lists.apache.org/thread.html/r87523dd07886223aa086edc25fe9b8ddb9c1090f7db25b068dc30843@%3Ccommits.tapestry.apache.org%3E

MLIST:[tapestry-commits] 20200111 svn commit: r1055136 [2/2] - in /websites/production/tapestry/content: cache/main.pageCache component-rendering.html content-type-and-markup.html dom.html https.html request-processing.html response-compression.html security.html url-rewriting.html

https://lists.apache.org/thread.html/r7d9c54beb1dc97dcccc58d9b5d31f0f7166f9a25ad1beba5f8091e0c@%3Ccommits.tapestry.apache.org%3E

MLIST:[tapestry-commits] 20200531 svn commit: r1061326 [4/4] - in /websites/production/tapestry/content: ./ cache/

https://lists.apache.org/thread.html/5173c4eed06e2fca6fd5576ed723ff6bb1711738ec515cb51a04ab24@%3Cusers.tapestry.apache.org%3E

MLIST:[tapestry-users] 20190913 [CVE-2019-0195] Apache Tapestry vulnerability disclosure

https://lists.apache.org/thread.html/a4092cb3bacb143571024e79c0016c039b6c982423daa33a7a5c794a@%3Cusers.tapestry.apache.org%3E

MLIST:[tapestry-users] 20191007 Re: [CVE-2019-0195] Apache Tapestry vulnerability disclosure

https://lists.apache.org/thread.html/6c40c1e03d2131119f9b77882431a0050f02bf9cae9ee48b84d012df@%3Cusers.tapestry.apache.org%3E

MLIST:[tapestry-users] 20191014 Re: [CVE-2019-0195] Apache Tapestry vulnerability disclosure

https://lists.apache.org/thread.html/r237ff7f286bda31682c254550c1ebf92b0ec61329b32fbeb2d1c8751@%3Cusers.tapestry.apache.org%3E

MLIST:[tapestry-users] 20210414 [SECURITY VULNERABILITY DISCLOSURE] CVE-2021-27850: Apache Tapestry: Bypass of the fix for CVE-2019-0195

Vulnerability RAW

{
	"Title": {
		"_text": "CVE-2019-0195"
	},
	"Notes": {
		"Note": [
			{
				"_text": "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."
			},
			{
				"_text": "2019-09-16"
			},
			{
				"_text": "2021-04-15"
			}
		]
	},
	"CVE": {
		"_text": "CVE-2019-0195"
	},
	"References": {
		"Reference": [
			{
				"URL": {
					"_text": "http://www.openwall.com/lists/oss-security/2021/04/15/1"
				},
				"Description": {
					"_text": "MLIST:[oss-security] 20210414 CVE-2021-27850: Apache Tapestry: Bypass of the fix for CVE-2019-0195"
				}
			},
			{
				"URL": {
					"_text": "https://lists.apache.org/thread.html/r87523dd07886223aa086edc25fe9b8ddb9c1090f7db25b068dc30843@%3Ccommits.tapestry.apache.org%3E"
				},
				"Description": {
					"_text": "MLIST:[tapestry-commits] 20200111 svn commit: r1055136 [2/2] - in /websites/production/tapestry/content: cache/main.pageCache component-rendering.html content-type-and-markup.html dom.html https.html request-processing.html response-compression.html security.html url-rewriting.html"
				}
			},
			{
				"URL": {
					"_text": "https://lists.apache.org/thread.html/r7d9c54beb1dc97dcccc58d9b5d31f0f7166f9a25ad1beba5f8091e0c@%3Ccommits.tapestry.apache.org%3E"
				},
				"Description": {
					"_text": "MLIST:[tapestry-commits] 20200531 svn commit: r1061326 [4/4] - in /websites/production/tapestry/content: ./ cache/"
				}
			},
			{
				"URL": {
					"_text": "https://lists.apache.org/thread.html/5173c4eed06e2fca6fd5576ed723ff6bb1711738ec515cb51a04ab24@%3Cusers.tapestry.apache.org%3E"
				},
				"Description": {
					"_text": "MLIST:[tapestry-users] 20190913 [CVE-2019-0195] Apache Tapestry vulnerability disclosure"
				}
			},
			{
				"URL": {
					"_text": "https://lists.apache.org/thread.html/a4092cb3bacb143571024e79c0016c039b6c982423daa33a7a5c794a@%3Cusers.tapestry.apache.org%3E"
				},
				"Description": {
					"_text": "MLIST:[tapestry-users] 20191007 Re: [CVE-2019-0195] Apache Tapestry vulnerability disclosure"
				}
			},
			{
				"URL": {
					"_text": "https://lists.apache.org/thread.html/6c40c1e03d2131119f9b77882431a0050f02bf9cae9ee48b84d012df@%3Cusers.tapestry.apache.org%3E"
				},
				"Description": {
					"_text": "MLIST:[tapestry-users] 20191014 Re: [CVE-2019-0195] Apache Tapestry vulnerability disclosure"
				}
			},
			{
				"URL": {
					"_text": "https://lists.apache.org/thread.html/r237ff7f286bda31682c254550c1ebf92b0ec61329b32fbeb2d1c8751@%3Cusers.tapestry.apache.org%3E"
				},
				"Description": {
					"_text": "MLIST:[tapestry-users] 20210414 [SECURITY VULNERABILITY DISCLOSURE] CVE-2021-27850: Apache Tapestry: Bypass of the fix for CVE-2019-0195"
				}
			}
		]
	}
}