This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new 8045ee83f1 Fixed: Prevent URL parameters manipulation (OFBIZ-13147)
8045ee83f1 is described below
commit 8045ee83f1f18e20b00319a83e754b7d66afdc61
Author: Jacques Le Roux <[email protected]>
AuthorDate: Fri Dec 13 06:38:50 2024 +0100
Fixed: Prevent URL parameters manipulation (OFBIZ-13147)
When using "requirement" in URI the "require" token in security.properties
blocks the URL. Actually we need "require(" not "require":
https://gist.github.com/khakimov/5130151
---
framework/security/config/security.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/security/config/security.properties
b/framework/security/config/security.properties
index ea1ea9587b..7551462d32 100644
--- a/framework/security/config/security.properties
+++ b/framework/security/config/security.properties
@@ -281,7 +281,7 @@
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,touch,curl,base64, tcp ,4444,base32,
tr , xxd ,bash, od ,|od ,printf,echo