[
https://issues.apache.org/jira/browse/WW-5180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530976#comment-17530976
]
tanli commented on WW-5180:
---------------------------
[~lukaszlenart] i send a new pr [https://github.com/apache/struts/pull/545]
it's all pass,and add excludedClass.isAssignableFrom(clazz)
> SecurityMemberAccess.java have a security bug
> -----------------------------------------------
>
> Key: WW-5180
> URL: https://issues.apache.org/jira/browse/WW-5180
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.5.x
> Reporter: tanli
> Priority: Blocker
>
> [https://github.com/apache/struts/pull/545]
> clazz.isAssignableFrom(excludedClass)
> need add
> excludedClass.isAssignableFrom(clazz)
>
> because
> A.isAssignableFrom(B) this judge if B belong A
>
> so in the future the attack exp will excluded by excludedClass, because exp's
> class is belong to one of excludedClass
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)