You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2007/09/07 17:26:35 UTC
[jira] Resolved: (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:all-tabpanel ]
Don Brown resolved WW-2160.
---------------------------
Resolution: Fixed
Fix Version/s: (was: 2.0.10)
2.1.0
Assignee: Don Brown
Implemented via the 'struts.ognl.allowStaticMethodAccess' setting
> 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.