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

请修改Shiro反序列化漏洞 #48

Open
wadang opened this issue Jun 19, 2019 · 1 comment
Open

请修改Shiro反序列化漏洞 #48

wadang opened this issue Jun 19, 2019 · 1 comment

Comments

@wadang
Copy link

wadang commented Jun 19, 2019

@Bean public CookieRememberMeManager rememberMeManager(SimpleCookie rememberMeCookie) { CookieRememberMeManager manager = new CookieRememberMeManager(); manager.setCipherKey(Base64.decode("Z3VucwAAAAAAAAAAAAAAAA==")); manager.setCookie(rememberMeCookie); return manager; }
此处将秘钥硬编码进去
http://www.sohu.com/a/284726504_727010

@linruiand
Copy link

同样遇到了,感谢楼主

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants