用友ICC客服系统任意文件下载漏洞影响联通人寿等

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

### 简要描述: 任意文件下载 ### 详细说明: ``` 用友icc客户系统存在任意文件下载漏洞,漏洞文件common/getfile.jsp源码如下: <%@ page contentType="text/html;charset=UTF-8" %> <%@ page import="java.io.*,com.ufida.icc.util.*,java.util.*" %><% String fullPath = ""; String f=""; f = request.getParameter("p"); if(CommonUtil.validateParam(f)){ f = ""; } f = CommonUtil.filtParam(f); if(f == null || f.equals("")){ out.print("请传入文件名。 "); return; } f = f.substring(f.lastIndexOf("/")+1); String extName= f.substring(f.lastIndexOf(".")+1); if(extName.equals(f)){ out.print("请传入正确的文件名,带后缀 "); return; } String basePath = null; String baseUrl = null; baseUrl = SystemProperties.instance().webBaseUrl; basePath = SystemProperties.instance().webUploadPath; fullPath = basePath + f; fullPath = fullPath.replace("\\","/"); String fullPathFileName = fullPath.substring(fullPath.lastIndexOf("/")+1); String fullPathFile = fullPath.replace(fullPathFileName,""); File fileLoad = new File(fullPathFile, fullPathFileName); if(fileLoad.exists()){ OutputStream...

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