This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release18.12 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release18.12 by this push: new 61efccbca0 Improved: Secure the uploads (OFBIZ-12080) 61efccbca0 is described below commit 61efccbca0ab8d344e4f5ba943356890e119f002 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Mon Apr 25 10:56:09 2022 +0200 Improved: Secure the uploads (OFBIZ-12080) I did not have these ones, found there https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology%20and%20Resources/Reverse%20Shell%20Cheatsheet.md and there https://github.com/tennc/webshell --- framework/security/config/security.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/security/config/security.properties b/framework/security/config/security.properties index 352188f760..4273d54d94 100644 --- a/framework/security/config/security.properties +++ b/framework/security/config/security.properties @@ -228,11 +228,11 @@ allowAllUploads= #-- Else "template.utility.Execute" is a good replacement but not as much catching, who knows... #-- #-- If you are sure you are safe for a token you can remove it, etc. -deniedWebShellTokens=java.,beans,freemarker,<script,javascript,<body,<form,<jsp:,<c:out,taglib,<prefix,<%@ page,<?php,exec(,alert(,\ +deniedWebShellTokens=java.,beans,freemarker,<script,javascript,<body,body ,<form,<jsp:,<c:out,taglib,<prefix,<%@ page,<?php,exec(,alert(,\ %eval,@eval,eval(,runtime,import,passthru,shell_exec,assert,str_rot13,system,decode,include,page ,\ chmod,mkdir,fopen,fclose,new file,upload,getfilename,download,getoutputstring,readfile,iframe,object,embed,onload,build,\ python,perl ,/perl,ruby ,/ruby,process,function,class,InputStream,to_server,wget ,static,assign,webappPath,\ - ifconfig,route,crontab,netstat,uname ,hostname,iptables,whoami,"cmd",*cmd|,+cmd|,=cmd|,localhost + ifconfig,route,crontab,netstat,uname ,hostname,iptables,whoami,"cmd",*cmd|,+cmd|,=cmd|,localhost,thread,require,gzdeflate #-- Max line length for uploaded files, by default 10000 maxLineLength=