You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Roman Stumm (JIRA)" <ji...@apache.org> on 2011/08/25 19:33:29 UTC
[jira] [Resolved] (BVAL-91) Security hole in
org.apache.bval.util.MethodAccess.get()
[ https://issues.apache.org/jira/browse/BVAL-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Stumm resolved BVAL-91.
-----------------------------
Resolution: Fixed
Fix Version/s: 0.4-incubating
Revision #1161657 Committed by romanstumm at 25.08.11 19:29:34
applied the patch for "Security hole in org.apache.bval.util.MethodAccess.get()" that basically removed the PrivilegedAction in FieldAccess.get() and MethodAccess.get()
> Security hole in org.apache.bval.util.MethodAccess.get()
> --------------------------------------------------------
>
> Key: BVAL-91
> URL: https://issues.apache.org/jira/browse/BVAL-91
> Project: BeanValidation
> Issue Type: Bug
> Affects Versions: 0.2-incubating, 0.3-incubating, 0.4-incubating
> Reporter: Jörg Waßmer
> Assignee: Roman Stumm
> Priority: Critical
> Fix For: 0.4-incubating
>
> Attachments: FieldAccess.java-20110327231027-jw.diff, MethodAccess.java-20110327230859-jw.diff
>
>
> MethodAccess.get() surrounds the call to Method.invoke() by a privileged action. Thus the bean getter method will we executed with all the privileges of the MethodAccess class, allowing application code to break out of its own security domain.
> Method.invoke() should be called without the privileged action.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira