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

任意文件上传漏洞 #175

Open
QiAnXinCodeSafe opened this issue Oct 10, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@QiAnXinCodeSafe
Copy link

commented Oct 10, 2018

您好:
360代码卫士团队在lemon中发现了任意文件上传漏洞,详细信息如下:
在CdnController.java文件中,存在文件上传的功能
default
调用了CdnUtils中的copyMultipartFileToFile方法,但是方法中只对文件上传的文件名是否还有../做了判断并没有对文件类型和spaceName参数做判断,所以依然是可以上传任意文件并且通过spaceName来进行路径回溯
default

@vigosser

This comment has been minimized.

Copy link
Contributor

commented Oct 11, 2018

非常感谢

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.