You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Kumari Palak (Jira)" <ji...@apache.org> on 2021/01/11 11:30:00 UTC

[jira] [Commented] (SHIRO-808) security enhance

    [ https://issues.apache.org/jira/browse/SHIRO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262591#comment-17262591 ] 

Kumari Palak commented on SHIRO-808:
------------------------------------

Hello [~k4n5hao],

I want to solve this issue. According to this, you want to remove the deserialize vulnerability in the  Remember Me component.

> security enhance
> ----------------
>
>                 Key: SHIRO-808
>                 URL: https://issues.apache.org/jira/browse/SHIRO-808
>             Project: Shiro
>          Issue Type: Improvement
>          Components: RememberMe
>    Affects Versions: 1.7.0
>            Reporter: k4n5hao
>            Priority: Minor
>
> in file:
> shiro/lang/src/main/java/org/apache/shiro/lang/io/ClassResolvingObjectInputStream.java
> we can find resolveClass funtion
>  
> if shiro block these class blow, it can protect shiro with Deserialize Vulnerability
>  org.apache.commons.collections.functors.ChainedTransformer.transform
>  org.apache.commons.collections.functors.InvokerTransformer
>  org.apache.commons.collections.functors.InstantiateTransformer
>  org.apache.commons.collections4.functors.InvokerTransformer
>  org.apache.commons.collections4.functors.InstantiateTransformer
>  org.codehaus.groovy.runtime.ConvertedClosure
>  org.codehaus.groovy.runtime.MethodClosure
>  org.springframework.beans.factory.ObjectFactory
>  xalan.internal.xsltc.trax.TemplatesImpl
>  
> thx



--
This message was sent by Atlassian Jira
(v8.3.4#803005)