Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hessian deserialization blacklist bypass #34

Closed
nanolikeyou opened this Issue Feb 24, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@nanolikeyou
Copy link
Contributor

nanolikeyou commented Feb 24, 2019

https://github.com/alipay/sofa-hessian/issues/7 that sofa-hessian prevent deserialization by maintaining blacklists.
However, the blacklist does not add com.caucho.naming.QName and com.sun.org.apache.xpath.internal.objects.XString, and there are cases where it continues to be utilized. Take the following poc as an example:
https://mp.weixin.qq.com/s/vW6IgaA_Imc7-_Bac9XNQg

nanolikeyou added a commit to nanolikeyou/sofa-hessian that referenced this issue Feb 24, 2019

Update serialize.blacklist
Fix missing Resin Gadget on internal blacklist accroding to marshalsec, add com.caucho.quercus package support。
related to alipay#34
@leizhiyuan

This comment has been minimized.

Copy link
Collaborator

leizhiyuan commented Feb 24, 2019

ok, we will add it later。if you need to fix this security issue now,
you can follow this issue #27

@leizhiyuan leizhiyuan added the security label Feb 24, 2019

@leizhiyuan leizhiyuan added this to the 3.3.7 milestone Feb 24, 2019

@leizhiyuan

This comment has been minimized.

Copy link
Collaborator

leizhiyuan commented Feb 24, 2019

Thanks for your contribute~

@leizhiyuan leizhiyuan added question and removed security labels Feb 28, 2019

@leizhiyuan leizhiyuan closed this Feb 28, 2019

@leizhiyuan leizhiyuan removed this from the 3.3.7 milestone Feb 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.