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 d7a022155a Fixed: Prevent URL parameters manipulation (OFBIZ-13147)
d7a022155a is described below

commit d7a022155ac6ce613477b081931eea0e1289b68b
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
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 df061f5a4e..2658815a78 100644
--- a/framework/security/config/security.properties
+++ b/framework/security/config/security.properties
@@ -243,7 +243,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
 
 

Reply via email to