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 9cee0bf668 Improved: Prevent possible post-auth RCE from
webtools/control/ProgramExport (OFBIZ-12055)
9cee0bf668 is described below
commit 9cee0bf66839be4e4d2899d93ecc6a8750c6f260
Author: Jacques Le Roux <[email protected]>
AuthorDate: Thu Apr 11 10:41:17 2024 +0200
Improved: Prevent possible post-auth RCE from
webtools/control/ProgramExport (OFBIZ-12055)
Adds 3 tokens: execute,println,calc
---
framework/security/config/security.properties | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/framework/security/config/security.properties
b/framework/security/config/security.properties
index 842a1eeb33..1dfb43cdd9 100644
--- a/framework/security/config/security.properties
+++ b/framework/security/config/security.properties
@@ -239,7 +239,8 @@
deniedWebShellTokens=java.,beans,freemarker,<script,javascript,<body,body ,<form
%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,thread,require,gzdeflate
+ ifconfig,route,crontab,netstat,uname
,hostname,iptables,whoami,"cmd",*cmd|,+cmd|,=cmd|,localhost,thread,require,gzdeflate,\
+ execute,println,calc
#-- Max line length for uploaded files, by default 10000
maxLineLength=