[
https://issues.apache.org/struts/browse/WW-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42252
]
Don Brown commented on WW-2160:
-------------------------------
Yes, this only affects static methods.
> 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.