huanzi-qch / base-admin

Base Admin一套简单通用的后台管理系统,主要功能有:权限管理、菜单管理、用户管理,系统设置、实时日志,实时监控,API加密,以及登录用户修改密码、配置个性菜单等
MIT License
2.4k stars 1.1k forks source link

File upload Vulnerability #29

Open LiuYanJan opened 1 year ago

LiuYanJan commented 1 year ago

The system uploads the file interface and calls the upload() function with security risks, which causes attackers to upload files with arbitrary file suffixes (such as webshell). Therefore, this function has a large security risk.

Specific method path: cn.huanzi.qch.baseadmin.sys.sysfile.controller.SysFileController#upload

4

You can fix the question by limiting the suffix of uploaded files

1n7erface commented 1 year ago

安全没玩到家啊小伙子,springboot解析jsp吗?