struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (WW-4332) refine excludeParams of ParametersInterceptor to improve security
Date Fri, 25 Apr 2014 04:43:14 GMT

     [ https://issues.apache.org/jira/browse/WW-4332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart closed WW-4332.
-----------------------------

    Resolution: Fixed
      Assignee: Lukasz Lenart

Thanks for your report, but this was already implemented in a fast-track release which is
under Vote now.

> refine excludeParams of ParametersInterceptor to improve security 
> ------------------------------------------------------------------
>
>                 Key: WW-4332
>                 URL: https://issues.apache.org/jira/browse/WW-4332
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.3.16.1
>            Reporter: zhouyanming
>            Assignee: Lukasz Lenart
>            Priority: Critical
>             Fix For: 2.3.16.2
>
>
> {code}
> (.*\.|^)class\..*
> {code}
> should be 
> {code}
> (.*\.|^)class(\.|\[).*,.*\['class'\](\.|\[).*,.*\["class"\](\.|\[).*
> {code}
> it will block such as
> {code}class['classLoader']  , model['class'].classLoader , model["class"].classLoader
{code}
> I think use regex to block parameterName is not best solution,It must be done in ValueStack,
seperate entry point , one for serverside, one for client side,client side should add more
restriction and security checks.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message