bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BVAL-91) Security hole in org.apache.bval.util.MethodAccess.get()
Date Fri, 13 Apr 2012 17:44:18 GMT

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

Matt Benson closed BVAL-91.
---------------------------

    
> Security hole in org.apache.bval.util.MethodAccess.get()
> --------------------------------------------------------
>
>                 Key: BVAL-91
>                 URL: https://issues.apache.org/jira/browse/BVAL-91
>             Project: BVal
>          Issue Type: Bug
>    Affects Versions: 0.2-incubating, 0.3-incubating, 0.4
>            Reporter: Jörg Waßmer
>            Assignee: Roman Stumm
>            Priority: Critical
>             Fix For: 0.4
>
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message