From 06006f1666b2a81efcde4ec49d330c5fe1197e9f Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sun, 27 Feb 2022 18:24:20 +0100 Subject: [PATCH] Fixed: Stored XSS in webappPath parameter from content/control/EditWebSite (OFBIZ-12584) Adds <<",","+",',','+'>> to deniedWebShellTokens as an obviously non satisfying (because images may contain those strings, I checked) temporary solution before looking at Freemarker::WhitelistMemberAccessPolicy as suggested by Matei Thanks to Matei "Mal" Badanoiu for reporting this post-auth vulnerabily --- framework/security/config/security.properties | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/security/config/security.properties b/framework/security/config/security.properties index 47f83e113c..6a8ae69c1d 100644 --- a/framework/security/config/security.properties +++ b/framework/security/config/security.properties @@ -232,8 +232,9 @@ deniedWebShellTokens=java.,beans,freemarker,