You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "k4n5hao (Jira)" <ji...@apache.org> on 2021/02/15 15:09: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=17284767#comment-17284767 ]
k4n5hao commented on SHIRO-808:
-------------------------------
[~bmarwell] [~Palak-137] hi! iam not discover a security-relevant issue.
your can check a project called "ysoserial". hacker can Deserialization of Untrusted Data with Apache Commons Collections
and also , your can check a link:
[https://community.pega.com/knowledgebase/articles/security/85/java-deserialization]
in this link , we can find global security check with Deserialization Vulnerability.
so if we block these classes in shiro/lang/src/main/java/org/apache/shiro/lang/io/ClassResolvingObjectInputStream.java resolveClass funtion
we can defender Deserialization Vulnerability.
thx
> 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, 1.7.1
> 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 in resolveClass funtion, 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
>
> i am not find new discover a security-relevant issue.
> but if shiro block these class , it can help shiro block unkowning Deserialize Vulnerability.
> thx
--
This message was sent by Atlassian Jira
(v8.3.4#803005)