金蝶协同办公平台任意文件下载漏洞(无需登录)

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 简要描述: 金蝶协同办公平台任意文件下载漏洞(无需登录) ### 详细说明: 经测试发现,该系统存在任意文件下载,且无需登录 存在漏洞的文件: ``` /oa/admin/application/file_download.jsp?filePath= ``` 部分漏洞代码为: ``` <%@ page import="java.util.Calendar,org.springside.core.Constants,cn.firstsoft.firstframe.admin.Environment"%><% String logPath = request.getParameter("filePath")==null?"D:\\KingdeeOA\\Tomcat_5.5\\logs\\catalina.2007-12-29.log ":request.getParameter("filePath"); String contentType = request.getParameter("contentType")==null?"application/x-download":request.getParameter("contentType"); String fileName = request.getParameter("fileName")==null?"file.txt":request.getParameter("fileName"); java.io.OutputStream ou = null; java.io.InputStream is = null; try{ java.io.File logFile = new java.io.File(logPath); if (logFile.exists()) { is = new java.io.FileInputStream(logPath); byte[] content = new byte[1024]; int i = 0; response.setContentType(contentType); ou = response.getOutputStream(); response.setHeader("Content-Disposition", "attachment;...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息