You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Matt Raible (JIRA)" <ji...@apache.org> on 2007/09/24 21:54:36 UTC

[jira] Commented: (WW-2160) Disable static method access in OGNL expressions by default

    [ https://issues.apache.org/struts/browse/WW-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42249 ] 

Matt Raible commented on WW-2160:
---------------------------------

With allowStaticMethodAccess set to false, is it still possible to refer to Constants using @my.package.name.Class@CONSTANT?



> Disable static method access in OGNL expressions by default
> -----------------------------------------------------------
>
>                 Key: WW-2160
>                 URL: https://issues.apache.org/struts/browse/WW-2160
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Value Stack
>    Affects Versions: 2.0.9
>            Reporter: Don Brown
>            Assignee: Don Brown
>             Fix For: 2.1.0
>
>
> Currently, it is possible to call any static method in OGNL expressions.  Unfortunately, there have been several recent cases where Struts allowed a user to execute any OGNL expression, and combined with the ability to call static methods, these security issues have been severe.
> First, Struts needs to provide the ability for a user to turn off or on static method access.  Second, this feature should be disabled by default as a security precaution.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.