[ofbiz-framework] branch trunk updated: Fixed: The "stream" request-map in ecommerce and commonext controllers requires authentication (OFBIZ-11349)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Fixed: The "stream" request-map in ecommerce and commonext controllers requires authentication (OFBIZ-11349)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 01bd096  Fixed: The "stream" request-map in ecommerce and commonext controllers requires authentication (OFBIZ-11349)
01bd096 is described below

commit 01bd096dc6b75827015452c6031770858b1b8511
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Wed Feb 19 13:48:23 2020 +0100

    Fixed: The "stream" request-map in ecommerce and commonext controllers
    requires authentication
    (OFBIZ-11349)
   
    Thanks: Michael for reporting a possible issue when only commenting the "stream"
    request-map in commonext controller. And Jacopo to suggest to require
    authentication (after suggesting to comment out)
   
    It should be also noted that when the CSRF defense implementation will be in
    place, all XSS vulnerabilities w/o authentication will not longer be possible.
    Because then all requests shall contains a CSRF token.
---
 applications/commonext/webapp/WEB-INF/controller.xml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/applications/commonext/webapp/WEB-INF/controller.xml b/applications/commonext/webapp/WEB-INF/controller.xml
index 5c4cf7d..b6cf797 100644
--- a/applications/commonext/webapp/WEB-INF/controller.xml
+++ b/applications/commonext/webapp/WEB-INF/controller.xml
@@ -42,13 +42,6 @@ under the License.
         <response name="success" type="view-last"/>
     </request-map>
     
-<!-- A vulnerability has been reported to the OFBiz security team. To be able to
-release the 17.12.01 version with this vulnerability fixed we need to require
-(maybe only temporarily) the "stream" request-map in commonext controller
-to need authentication.
-We will later check that this has no impact and if necessary remove the
-mandatory authentication, see OFBIZ-11349
- -->    
 <request-map uri="stream">
     <security https="true" auth="true"/>
         <event type="java" path="org.apache.ofbiz.content.data.DataEvents" invoke="serveObjectData"/>