report
report copied to clipboard
AJ-Report是一个完全开源,拖拽编辑的可视化设计工具。三步快速完成大屏:配置数据源---->写SQL配置数据集---->拖拽生成大屏。让管理层随时随地掌控业务动态,让每个决策都有数据支撑。
This is the Chinese report, the English report is in(这是中文的漏洞报告,英文的在): [Arbitrary file upload vulnerability](https://github.com/anji-plus/report/issues/10) ### 描述 ***@PostMapping /reportDashboard/import/{reportCode}*** 导入大屏的接口中,接受文件上传,未对文件后缀进行限制,未对文件名进行检测过滤消毒的操作,导致任意文件删除漏洞 ### 漏洞详细 该接口接收文件上传,交给 ***reportDashboardService.importDashboard()*** 进行处理 *com.anjiplus.template.gaea.business.modules.dashboard.controller.ReportDashboardController#importDashboard*  跟进 ***reportDashboardService.importDashboard()***,在该方法中调用了 ***FileUtil.decompress(file, path);***...
这是英文的漏洞报告,中文的在(This is the English report, the Chinese report is in): [任意文件上传漏洞](https://gitee.com/anji-plus/report/issues/I5XU86) ### Description ***@PostMapping /reportDashboard/import/{reportCode}*** In the interface of importing the big screen, it accepts file uploads, does not limit...
windows环境中是没有问题的;但是用到的一些 node版本,在Linux中版本有些高,我没有把环境部署成功;问下作者,是否支持?
详细看报告 [aj-report 二次就业.pdf](https://github.com/anji-plus/report/files/15363269/aj-report.pdf) ### 修复意见 接口健全确实,主要靠filter,一些重要的接口,权限缺失,如/dataSource、/dataSet下的接口,匿名用户也可以操作,filter建议直接使用getServletPath(),或者重写一下。 jwt的认证密钥是写在依赖包里面,无法修改. 返回包里面的DTO,把敏感字短执行加密。
